equal
deleted
inserted
replaced
39 QObject *MpCollectionDocumentLoader::createObject(const QString& type, const QString &name) |
39 QObject *MpCollectionDocumentLoader::createObject(const QString& type, const QString &name) |
40 { |
40 { |
41 TX_ENTRY_ARGS("type=" << type << ", name=" << name); |
41 TX_ENTRY_ARGS("type=" << type << ", name=" << name); |
42 |
42 |
43 if ( type == MpNowPlayingWidget::staticMetaObject.className() ) { |
43 if ( type == MpNowPlayingWidget::staticMetaObject.className() ) { |
44 QObject *object = new MpNowPlayingWidget(MpCommon::KMusicPlayerUid); |
44 QObject *object = new MpNowPlayingWidget(); |
45 object->setObjectName(name); |
45 object->setObjectName(name); |
46 TX_EXIT |
46 TX_EXIT |
47 return object; |
47 return object; |
48 } |
48 } |
49 else if ( type == HgMediawall::staticMetaObject.className() ) { |
49 else if ( type == HgMediawall::staticMetaObject.className() ) { |