Initial commit for the QML client:
[qtrapids] / src / client / models / QDeclarativeDownloadListModel_p.h
diff --git a/src/client/models/QDeclarativeDownloadListModel_p.h b/src/client/models/QDeclarativeDownloadListModel_p.h
new file mode 100644 (file)
index 0000000..6c4b699
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef QDECLARATIVEDOWNLOADLISTMODELPRIVATE_H
+#define QDECLARATIVEDOWNLOADLISTMODELPRIVATE_H
+
+#include <QModelIndex>
+
+#include "QDeclarativeDownloadListModel.h" // TODO: For DownloadItems_t, move that to common place..
+
+namespace qtrapids
+{
+
+class QDeclarativeDownloadListModelPrivate : QObject
+{
+    Q_OBJECT
+public:
+    QDeclarativeDownloadListModelPrivate()
+    {
+    }
+
+    DownloadItems_t items_;
+    ItemIndex_t itemIndexes_;
+    //QModelIndex downloadIndex_;
+
+signals:
+    void itemAdded(QString hash);
+    void itemRemoved(QString hash);
+
+};
+} // namespace qtrapids
+
+#endif