summaryrefslogtreecommitdiffstats
path: root/filestreemodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-08-07 11:03:33 +0200
committerArno <am@disconnect.de>2010-08-07 11:03:33 +0200
commit5df34cd08ee62a55dfd1b24bb7c62c244b2a543d (patch)
tree35f7d2d0396cab6123ba12bc194d53ec8c2d369c /filestreemodel.h
parentcc79c6f282877d7772bd3429fef797f5a4848c3f (diff)
downloadSheMov-5df34cd08ee62a55dfd1b24bb7c62c244b2a543d.tar.gz
SheMov-5df34cd08ee62a55dfd1b24bb7c62c244b2a543d.tar.bz2
SheMov-5df34cd08ee62a55dfd1b24bb7c62c244b2a543d.zip
Added tooltip to FilesTreeView
Added tooltip to FilesTreeView when showing archived or local movies. The tooltip shows all files associated with the SeriesPart.
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;
};