--- a/mpviewplugins/mpcollectionviewplugin/src/mpcollectiondocumentloader.cpp Fri May 14 15:49:53 2010 +0300
+++ b/mpviewplugins/mpcollectionviewplugin/src/mpcollectiondocumentloader.cpp Thu May 27 12:49:57 2010 +0300
@@ -15,7 +15,8 @@
*
*/
-// INCLUDE FILES
+#include <hgmediawall.h>
+
#include "mpcollectiondocumentloader.h"
#include "mpnowplayingwidget.h"
#include "mpcommondefs.h"
@@ -39,12 +40,18 @@
{
TX_ENTRY_ARGS("type=" << type << ", name=" << name);
- if (type == MpNowPlayingWidget::staticMetaObject.className()) {
+ if ( type == MpNowPlayingWidget::staticMetaObject.className() ) {
QObject *object = new MpNowPlayingWidget(MpCommon::KMusicPlayerUid);
object->setObjectName(name);
TX_EXIT
return object;
}
+ else if ( type == HgMediawall::staticMetaObject.className() ) {
+ QObject *object = new HgMediawall();
+ object->setObjectName(name);
+ TX_EXIT
+ return object;
+ }
TX_EXIT
return HbDocumentLoader::createObject(type, name);