X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fclient%2Fmodels%2FQDeclarativeDownloadListModel_p.h;fp=src%2Fclient%2Fmodels%2FQDeclarativeDownloadListModel_p.h;h=6c4b6993569c2dfabf1140cb220788becda8586f;hb=711f20225524f059da9296f814a06ab9332bb324;hp=0000000000000000000000000000000000000000;hpb=678f23ebb9d4b0f2ce713be2ce7bba9cb3c42bb5;p=qtrapids diff --git a/src/client/models/QDeclarativeDownloadListModel_p.h b/src/client/models/QDeclarativeDownloadListModel_p.h new file mode 100644 index 0000000..6c4b699 --- /dev/null +++ b/src/client/models/QDeclarativeDownloadListModel_p.h @@ -0,0 +1,30 @@ +#ifndef QDECLARATIVEDOWNLOADLISTMODELPRIVATE_H +#define QDECLARATIVEDOWNLOADLISTMODELPRIVATE_H + +#include + +#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