From d6b178b1fdcdac519ded25e3f253d9eeffa84053 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 28 Jul 2013 07:46:16 +0200 Subject: Implement file properties dialog Show file properties in Filemanager and Archive, if the file is available. Also get rid of the palette stuff in SmGlobals. Just call setPalette() early enough and set it in SmTreeView. --- smglobals.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'smglobals.h') diff --git a/smglobals.h b/smglobals.h index 5580f47..72604ab 100644 --- a/smglobals.h +++ b/smglobals.h @@ -9,11 +9,8 @@ #define SMUBERMODELSINGLETON_H #include - #include #include -#include -#include class QAbstractItemModel; class PictureViewer2; @@ -30,8 +27,6 @@ class SmGlobals : public QObject { QAbstractItemModel *model(const QString &which); PictureViewer2 *pictureViewer(); FrameCache *frameCache(); - void setSeriesTreeWidget(SeriesTreeWidget *stree) { mSeriesTreeWidget = stree; } - SeriesTreeWidget *seriesTreeWidget(); void setArchiveController(ArchiveController *c) { mArchiveController = c; } ArchiveController *archiveController() { return mArchiveController; } QSize cursorSize(); @@ -39,7 +34,6 @@ class SmGlobals : public QObject { const QSize minPVSize() const { return QSize(640, 480); } const QHash & icons() const { return mIcons; } qint64 dvdSize() const { return mDvdSize; } - QList &treeWidgets() { return mTreeWidgets; } QHash filetypeMap() const { return mFiletypeMap; } private: @@ -54,7 +48,6 @@ class SmGlobals : public QObject { QSize mCursorSize; QHash mIcons; qint64 mDvdSize; - QList mTreeWidgets; ArchiveController *mArchiveController; QHash mFiletypeMap; }; -- cgit v1.2.3-70-g09d2