tsdevicedialog/tsdevicedialogplugin/src/tsdocumentloader.cpp
changeset 112 dbfb5e38438b
parent 107 b34d53f6acdf
child 116 305818acdca4
--- a/tsdevicedialog/tsdevicedialogplugin/src/tsdocumentloader.cpp	Fri Aug 06 13:40:46 2010 +0300
+++ b/tsdevicedialog/tsdevicedialogplugin/src/tsdocumentloader.cpp	Wed Aug 18 10:39:24 2010 +0300
@@ -18,6 +18,7 @@
 #include "tsdocumentloader.h"
 #include "tstasksgrid.h"
 #include "tstasksgriditem.h"
+#include "tsnoitemslabel.h"
 
 /*!
     \class TsDocumentLoader
@@ -38,6 +39,10 @@
         QObject *object = new TsTasksGridItem();
         object->setObjectName(name);
         return object;
+    } else if (type == TsNoItemsLabel::staticMetaObject.className()) {
+        QObject *object = new TsNoItemsLabel();
+        object->setObjectName(name);
+        return object;
     }
 
     return HbDocumentLoader::createObject(type, name);