summaryrefslogtreecommitdiffstats
path: root/seriestreemodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-12-06 19:10:19 +0100
committerArno <am@disconnect.de>2010-12-06 19:10:19 +0100
commita87e4d8c3c2102e9728dd5df303acca7ae08b343 (patch)
tree29b2b7d2c5f532da2ea18152e7cf34ad51b1016f /seriestreemodel.h
parentcb4d80e6a642ef0cd3180aed2155d86144c83395 (diff)
downloadSheMov-a87e4d8c3c2102e9728dd5df303acca7ae08b343.tar.gz
SheMov-a87e4d8c3c2102e9728dd5df303acca7ae08b343.tar.bz2
SheMov-a87e4d8c3c2102e9728dd5df303acca7ae08b343.zip
Edit values in archive
This commit introduces QInputDialogs for all values editable in the archive. Inline editing in the view doesn't seem the right choice regarding usability. Fixed a long standing bug in nextDvdNo(). That was off by one. Return one more than max(value). Also got rid of DvdNoDialog, replaced by a QInputDialog.
Diffstat (limited to 'seriestreemodel.h')
-rw-r--r--seriestreemodel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/seriestreemodel.h b/seriestreemodel.h
index e26e49b..e25c111 100644
--- a/seriestreemodel.h
+++ b/seriestreemodel.h
@@ -23,7 +23,6 @@ class SeriesTreeModel : public SmTreeModel {
enum CustomRoles { NameRole = Qt::UserRole + 1, SeriesIdRole = Qt::UserRole + 2, SeriesPartIdRole = Qt::UserRole + 3, SeriesPartRole = Qt::UserRole + 4, TypeRole = Qt::UserRole + 5 };
enum Fields { Name = 0, SeriesId = 1, SeriesPartId = 2, SeriesPart = 3, Type = 4 };
enum Types { Series, Part, NewSeries };
- //enum Filter { ClearFilter, ActorFilter, GenreFilter };
enum QueryType { NumericQuery, TextQuery };
explicit SeriesTreeModel(QStringList &headers, QObject *parent = 0);
~SeriesTreeModel();