summaryrefslogtreecommitdiffstats
path: root/filestreemodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-02-08 05:04:34 +0100
committerArno <am@disconnect.de>2013-02-08 05:04:34 +0100
commit4f917c152b272f5cf6481205ba3c18acf456120b (patch)
tree88ca94af27663cd7e8147b91df227fb52639f932 /filestreemodel.h
parentd400c3cd5ce533714832b854bad4c40c25dcd874 (diff)
downloadSheMov-4f917c152b272f5cf6481205ba3c18acf456120b.tar.gz
SheMov-4f917c152b272f5cf6481205ba3c18acf456120b.tar.bz2
SheMov-4f917c152b272f5cf6481205ba3c18acf456120b.zip
Usability: SeriesTreeView
Switch back to normal view when in burn view and a series is selected in SeriesTree.
Diffstat (limited to 'filestreemodel.h')
-rw-r--r--filestreemodel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/filestreemodel.h b/filestreemodel.h
index e7d1b32..cce75fe 100644
--- a/filestreemodel.h
+++ b/filestreemodel.h
@@ -31,14 +31,15 @@ class FilesTreeModel : public SmTreeModel {
const QHash<int, QString> fileTypes() const { return mFileTypes; }
const QHash<int, QString> coverTypes() const { return mCoverTypes; }
const QHash<QString, int> editableColumns() const { return mEditableColumns; }
- int mode() const { return mMode; }
+ int mode() const { return mMode; }
+ void setMode(int mode) { mMode = mode; }
int displayMode() const { return mDisplayMode; }
+ void setDisplayMode(int mode) { mDisplayMode = mode; }
~FilesTreeModel();
//data + flags
void setIds(const QList<int> &seriesPartIds);
void setForBurn();
- void setMode(int mode) { mMode = mode; }
QVariant data(const QModelIndex &index, int role) const;
bool setData(const QModelIndex &index, const QVariant &value, int role);
Qt::ItemFlags flags(const QModelIndex &index) const;