Merge branch 'qml' of ssh://drop.maemo.org/git/mdictionary into qml
[mdictionary] / src / plugins / xdxf / xdxf.pro
index f91a16a..d285b44 100644 (file)
@@ -1,5 +1,7 @@
 TARGET = xdxf
+
 include(../plugin.pri)
+
 QT = core \
     gui \
     xml \
@@ -15,8 +17,8 @@ maemo5 {
     LIBS += -ltar \
         -lbz2
 }
-
 maemo5:QT += maemo5
+
 SOURCES += xdxfplugin.cpp \
     TranslationXdxf.cpp \
     XdxfDictDialog.cpp \
@@ -26,7 +28,9 @@ SOURCES += xdxfplugin.cpp \
     XdxfDictSelectDialog.cpp \
     XdxfDictDownloadProgressDialog.cpp \
     DictsModel.cpp \
-    HttpDownloader.cpp
+    HttpDownloader.cpp \
+    DictsListModel.cpp
+
 HEADERS += xdxfplugin.h \
     TranslationXdxf.h \
     ../../include/DictDialog.h \
@@ -42,13 +46,19 @@ HEADERS += xdxfplugin.h \
     DownloadDict.h \
     DictsModel.h \
     DictsProxyModel.h \
-    HttpDownloader.h
+    HttpDownloader.h \
+    DictsListModel.h \
+    DictsProxyListModel.h
+
 RESOURCES += xdxf.qrc
+
 TRANSLATIONS += pl_PL.ts \
-    en_US.ts
-OTHER_FILES += \
-    ../../mdictionary/qml/XdxfDialog.qml
+                en_US.ts
 
+OTHER_FILES += ../../mdictionary/qml/XdxfDialog.qml \
+    ../../mdictionary/qml/XdxfDictDownloader.qml \
+    ../../mdictionary/qml/TableWidget.qml \
+    ../../mdictionary/qml/ScrollBar2.qml
 
 unix {
     dicts.path = $$PLUGINS_DIR
@@ -68,6 +78,10 @@ unix {
     else {
         qmls.path = $$DATA_DIR/qml
         qmls.files += ../../mdictionary/qml/XdxfDialog.qml
+        qmls.files += ../../mdictionary/qml/XdxfDictDownloader.qml
+        qmls.files += ../../mdictionary/qml/TableWidget.qml
+        qmls.files += ../../mdictionary/qml/ScrollBar2.qml
+
     }
 
     INSTALLS += dicts \
@@ -75,7 +89,5 @@ unix {
         qmls
 }
 check.commands = echo \
-    'No check here'
+                'No check here'
 QMAKE_EXTRA_TARGETS += check
-
-