used by debug message in kdelibs/kparts/part.cpp
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
setCatalogName("kmediaplayer")))
KMediaPlayerPart::KMediaPlayerPart(QWidget *parentWidget, QObject *parent, const QList<QVariant> &arguments)
- : ReadOnlyPart(parent)
+ : KParts::ReadOnlyPart(parent)
, m_player(new KMediaWidget(parentWidget, KMediaWidget::HiddenControls))
{
Q_UNUSED(arguments);
+ setObjectName(QString::fromLatin1("KMediaPlayerPart"));
setComponentData(KMediaPlayerPartFactory::componentData());
setWidget(m_player);
setAutoDeleteWidget(false); // will be deleted in destructor, if still valid