summaryrefslogtreecommitdiffstats
path: root/filestreemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'filestreemodel.h')
-rw-r--r--filestreemodel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/filestreemodel.h b/filestreemodel.h
index bea1d5c..405878b 100644
--- a/filestreemodel.h
+++ b/filestreemodel.h
@@ -16,6 +16,7 @@
#include "smtreemodel.h"
class QSqlQuery;
+class SeriesTreeModel;
class FilesTreeModel : public SmTreeModel {
Q_OBJECT
@@ -37,7 +38,7 @@ class FilesTreeModel : public SmTreeModel {
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;
- QHash<QString, QString> filesBySeriesPartId(int seriesPartId);
+ QHash<QString, QString> filesBySeriesPartId(int seriesPartId) const;
QList<QMap<QString, QString> > streamInfo(const QModelIndex &idx);
QMap<QString, QString> pictureInfo(const QModelIndex &idx);
QMap<QString, QString> pictureMetaInfo(const QModelIndex &idx);
@@ -63,6 +64,7 @@ class FilesTreeModel : public SmTreeModel {
QHash<int, QString> mFileTypes;
QHash<int, QString> mCoverTypes;
QHash<int, QString> mModeNames;
+ SeriesTreeModel *mSeriesModel;
int mMode;
};