Initial commit for the QML client:
[qtrapids] / src / client / models / QDeclarativeDownloadListModel_p.h
1 #ifndef QDECLARATIVEDOWNLOADLISTMODELPRIVATE_H
2 #define QDECLARATIVEDOWNLOADLISTMODELPRIVATE_H
3
4 #include <QModelIndex>
5
6 #include "QDeclarativeDownloadListModel.h" // TODO: For DownloadItems_t, move that to common place..
7
8 namespace qtrapids
9 {
10
11 class QDeclarativeDownloadListModelPrivate : QObject
12 {
13     Q_OBJECT
14 public:
15     QDeclarativeDownloadListModelPrivate()
16     {
17     }
18
19     DownloadItems_t items_;
20     ItemIndex_t itemIndexes_;
21     //QModelIndex downloadIndex_;
22
23 signals:
24     void itemAdded(QString hash);
25     void itemRemoved(QString hash);
26
27 };
28 } // namespace qtrapids
29
30 #endif