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:
Ivailo Monev 2022-11-27 00:44:00 +02:00
parent 667c23d743
commit 5d0377b9e6
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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>