mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kutils: rename the internal KMediaWidget UI class
so that the uic tool does not generate code that uses variables with the name of the private KMediaWidget class (KMediaWidgetPrivate) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
667c23d743
commit
5d0377b9e6
2 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@ public:
|
|||
QString m_path;
|
||||
bool m_replay;
|
||||
bool m_visible;
|
||||
Ui_KMediaWidgetPrivate *m_ui;
|
||||
Ui_KMediaWidgetUI *m_ui;
|
||||
};
|
||||
|
||||
KMediaWidgetPrivate::KMediaWidgetPrivate()
|
||||
|
@ -67,7 +67,7 @@ KMediaWidget::KMediaWidget(QWidget *parent, KMediaOptions options)
|
|||
: QWidget(parent),
|
||||
d(new KMediaWidgetPrivate())
|
||||
{
|
||||
d->m_ui = new Ui_KMediaWidgetPrivate();
|
||||
d->m_ui = new Ui_KMediaWidgetUI();
|
||||
d->m_ui->setupUi(this);
|
||||
d->m_player = new KMediaPlayer(d->m_ui->w_player);
|
||||
d->m_dragdrop = (options & DragDrop) != options;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>KMediaWidgetPrivate</class>
|
||||
<widget class="QWidget" name="KMediaWidgetPrivate">
|
||||
<class>KMediaWidgetUI</class>
|
||||
<widget class="QWidget" name="KMediaWidgetUI">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
|
Loading…
Add table
Reference in a new issue