From 6ca8a6fab443c0b4ac7f6249c9ef02457ddf4f55 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 30 Dec 2012 13:42:35 +0100 Subject: Allow moving files from one Series to another Allow moving files from one SeriesPart to another. Had to add another global variable for this. --- smglobals.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'smglobals.h') 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 & icons() const { return mIcons; } @@ -60,6 +63,7 @@ class SmGlobals : public QObject { static SmGlobals *mInstance; QHash mModels; PictureViewer2 *mPictureViewer; + SeriesTreeWidget *mSeriesTreeWidget; SmGlobals::FrameCache *mFrameCache; QSize mCursorSize; QHash mIcons; -- cgit v1.2.3-70-g09d2