equal
deleted
inserted
replaced
16 */ |
16 */ |
17 |
17 |
18 // INCLUDE FILES |
18 // INCLUDE FILES |
19 #include "mpcollectiondocumentloader.h" |
19 #include "mpcollectiondocumentloader.h" |
20 #include "mpnowplayingwidget.h" |
20 #include "mpnowplayingwidget.h" |
21 #include "mpcollectioninfobar.h" |
|
22 #include "mpcommondefs.h" |
21 #include "mpcommondefs.h" |
23 #include "mptrace.h" |
22 #include "mptrace.h" |
24 |
23 |
25 |
24 |
26 /*! |
25 /*! |
44 QObject *object = new MpNowPlayingWidget(MpCommon::KMusicPlayerUid); |
43 QObject *object = new MpNowPlayingWidget(MpCommon::KMusicPlayerUid); |
45 object->setObjectName(name); |
44 object->setObjectName(name); |
46 TX_EXIT |
45 TX_EXIT |
47 return object; |
46 return object; |
48 } |
47 } |
49 else if (type == MpCollectionInfoBar::staticMetaObject.className()) { |
|
50 QObject *object = new MpCollectionInfoBar(); |
|
51 object->setObjectName(name); |
|
52 TX_EXIT |
|
53 return object; |
|
54 } |
|
55 |
48 |
56 TX_EXIT |
49 TX_EXIT |
57 return HbDocumentLoader::createObject(type, name); |
50 return HbDocumentLoader::createObject(type, name); |
58 } |
51 } |
59 |
52 |