diff options
author | Arno <am@disconnect.de> | 2012-12-30 13:42:35 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2012-12-30 13:42:35 +0100 |
commit | 6ca8a6fab443c0b4ac7f6249c9ef02457ddf4f55 (patch) | |
tree | cf5a50340feeccf136eb7b99cd7a0699f43b7111 /smglobals.h | |
parent | a069898249b863b0982b1807afa8d0b0912b496e (diff) | |
download | SheMov-6ca8a6fab443c0b4ac7f6249c9ef02457ddf4f55.tar.gz SheMov-6ca8a6fab443c0b4ac7f6249c9ef02457ddf4f55.tar.bz2 SheMov-6ca8a6fab443c0b4ac7f6249c9ef02457ddf4f55.zip |
Allow moving files from one Series to another
Allow moving files from one SeriesPart to another. Had to add another
global variable for this.
Diffstat (limited to 'smglobals.h')
-rw-r--r-- | smglobals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/smglobals.h b/smglobals.h index c396f76..5621fc4 100644 --- a/smglobals.h +++ b/smglobals.h @@ -15,6 +15,7 @@ class QAbstractItemModel; class PictureViewer2; class QPixmap; +class SeriesTreeWidget; class SmGlobals : public QObject { Q_OBJECT @@ -48,6 +49,8 @@ class SmGlobals : public QObject { QAbstractItemModel *model(const QString &which); PictureViewer2 *pictureViewer(); FrameCache *frameCache(); + void setSeriesTreeWidget(SeriesTreeWidget *stree) { mSeriesTreeWidget = stree; } + SeriesTreeWidget *seriesTreeWidget(); QSize cursorSize(); const QSize minPVSize() const { return QSize(640, 480); } const QHash<QString, QString> & icons() const { return mIcons; } @@ -60,6 +63,7 @@ class SmGlobals : public QObject { static SmGlobals *mInstance; QHash<QString, QAbstractItemModel*> mModels; PictureViewer2 *mPictureViewer; + SeriesTreeWidget *mSeriesTreeWidget; SmGlobals::FrameCache *mFrameCache; QSize mCursorSize; QHash<QString, QString> mIcons; |