Add model class (DictManagerModel) to manage loaded dictionaries data and settings...
[mdictionary] / src / mdictionary / gui / DictManagerWidget.h
index 3e7e4d7..15befcb 100644 (file)
@@ -32,6 +32,9 @@
 #include <QtGui>
 #include "../../include/GUIInterface.h"
 #include "MenuWidget.h"
+#include "DictManagerModel.h"
+#include <QtDeclarative/QDeclarativeView>
+#include <QtDeclarative/QDeclarativeContext>
 
 
 /*!
@@ -119,6 +122,12 @@ private:
     QHash<QListWidgetItem*, CommonDictInterface*> dictsHash;
     GUIInterface* guiInterface;
 
+    #ifndef Q_WS_MAEMO_5
+    QDeclarativeView* qmlView;
+    QDeclarativeContext* ctxt;
+    DictManagerModel* model;
+    #endif
+
     bool _changed;
 
     void refreshDictsList();