bi change + completer in line edit
[mdictionary] / src / plugins / xdxf / XdxfDictSelectDialog.h
index cbf0d04..fad43b5 100644 (file)
 #include <QDir>
 #include <QDeclarativeView>
 #include <QDeclarativeContext>
+#include <QList>
 
 #include "DownloadDict.h"
 #include "DictsListModel.h"
 #include "DictsModel.h"
 #include "DictsProxyModel.h"
 #include "DictsProxyListModel.h"
+#include "../../include/ComboBoxModel.h"
 
 
 /*!
@@ -77,11 +79,16 @@ private Q_SLOTS:
 
     void itemClicked(QString link);
 
+    void toChange(QString lang);
+    void fromChange(QString lang);
+
 private:
     QVBoxLayout* mainLayout;
     QDeclarativeView *view;
     DictsListModel* model2;
     DictsProxyListModel *proxyModel2;
+    ComboBoxModel *fromModel;
+    ComboBoxModel *toModel;
 
     QTreeView* treeView;
     DictsModel* model;