diff options
author | Arno <am@disconnect.de> | 2010-07-17 15:03:51 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-07-17 15:03:51 +0200 |
commit | 7be84b2dfb0d300ba03801f43b49364a41ed02f8 (patch) | |
tree | 4712347b68363d3d968f382b13339e790cb23742 /filestreemodel.h | |
parent | 024366162607a04b1b3f7dd991a3fd1a351b635b (diff) | |
download | SheMov-7be84b2dfb0d300ba03801f43b49364a41ed02f8.tar.gz SheMov-7be84b2dfb0d300ba03801f43b49364a41ed02f8.tar.bz2 SheMov-7be84b2dfb0d300ba03801f43b49364a41ed02f8.zip |
Implemented two new file views
Implemented filter for showing only local files or only archived files.
Diffstat (limited to 'filestreemodel.h')
-rw-r--r-- | filestreemodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filestreemodel.h b/filestreemodel.h index b5c11e8..7cff707 100644 --- a/filestreemodel.h +++ b/filestreemodel.h @@ -21,7 +21,7 @@ class FilesTreeModel : public SmTreeModel { enum CustomRoles { FileNameRole = Qt::UserRole + 1, FullPathRole = Qt::UserRole + 2, SizeRole = Qt::UserRole + 3, DvdNoRole = Qt::UserRole + 4, SizeDisplayRole = Qt::UserRole + 5, FileTypeRole = Qt::UserRole + 6, Md5SumRole = Qt::UserRole + 7, PartNoRole = Qt::UserRole + 8, SeriesPartIdRole = Qt::UserRole + 9, QualityRole = Qt::UserRole + 10, FilesIdRole = Qt::UserRole + 11, SeriesPartRole = Qt::UserRole + 12, DisplayNameRole = Qt::UserRole + 13 }; enum FileTypes { Movie = 1, FrontCover = 2, BackCover = 3, GeneralCover = 4 }; enum Fields { FileName = 0, PartNo = 1, SizeDisplay = 2, Quality = 3, DvdNo = 4, FullPath = 5, Size = 6, FileType = 7, Md5Sum = 8, SeriesPartId = 9, FilesId = 10, SeriesPart = 11, DisplayName = 12 }; - enum Mode { Archived, Local }; + enum Mode { Normal = 0, Archived = 1, Local = 2 }; explicit FilesTreeModel(QStringList &headers, QObject *parent = 0); ~FilesTreeModel(); |