diff options
author | Arno <arno@disconnect.de> | 2015-08-12 19:29:44 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2015-08-12 19:29:44 +0200 |
commit | dc2927587eb758754babf98adb764c3bbdccd024 (patch) | |
tree | 7fc3a9c94f2e895862de0523a06475a3572112e7 /picfilesmodel.h | |
parent | 49b943474c4ac39ee5f0f2e900fddd1253a84366 (diff) | |
download | SheMov-dc2927587eb758754babf98adb764c3bbdccd024.tar.gz SheMov-dc2927587eb758754babf98adb764c3bbdccd024.tar.bz2 SheMov-dc2927587eb758754babf98adb764c3bbdccd024.zip |
Implement slide through all pictures
Wow, that was much more complicated than I first thought, but it seems
to work. Maybe it's much more convoluted than it has to be :)
Diffstat (limited to 'picfilesmodel.h')
-rw-r--r-- | picfilesmodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/picfilesmodel.h b/picfilesmodel.h index ad28e1a..c64a70c 100644 --- a/picfilesmodel.h +++ b/picfilesmodel.h @@ -33,6 +33,8 @@ class PicFilesModel : public SmTreeModel { SmTreeItem *mappingTreeFromFile(int fileId) const; SmTreeItem *findRecursive(SmTreeItem *start, const QVariant &name, const QVariant id) const; QList<MappingData> mappingDataFromFiles(const QList<int> fileIds) const; + void allPicIds(); + QList<QList<QVariant> > getNextBatch(); public slots: void populate(); @@ -44,6 +46,8 @@ class PicFilesModel : public SmTreeModel { QString mPopulateQS; QString mMappingsQS; QList<int> mMappingIds; + QList<QList<QVariant> > mAllPics; + int mCurrentBatch; }; #endif // PICFILESMODEL_H |