summaryrefslogtreecommitdiffstats
path: root/newmoviewizard.h
diff options
context:
space:
mode:
Diffstat (limited to 'newmoviewizard.h')
-rw-r--r--newmoviewizard.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/newmoviewizard.h b/newmoviewizard.h
index 7b31e51..e88be9f 100644
--- a/newmoviewizard.h
+++ b/newmoviewizard.h
@@ -33,10 +33,11 @@ class NewMovieWizard : public QWizard {
Q_OBJECT
public:
explicit NewMovieWizard(QWidget *parent = 0);
- void accept();
+ virtual void accept();
+ virtual void reject();
MovieInfoPage *infoPage() { return mInfoPage; }
MovieMappingPage *actorPage() { return mActorPage; }
- MovieMappingPage *genrePage() { return mGenrePage; }
+ MovieMappingPage *genrePage() { return mGenrePage; }
private:
MovieInfoPage *mInfoPage;
@@ -54,6 +55,8 @@ class MovieInfoPage : public QWizardPage {
void addFile(const QString &file);
void setCurrentDir(const QString &dir) { mCurrentDir = dir; }
void selectFirst();
+ void saveData();
+ void restoreData();
public slots:
void initCompleters();
@@ -82,6 +85,10 @@ class MovieInfoPage : public QWizardPage {
QStringListModel *mSeriesCompleterModel;
QSortFilterProxyModel *mProxy;
QString mCurrentDir;
+ QString mCurTitle;
+ QString mCurSubtitle;
+ int mCurSeriesno;
+ int mCurQuality;
};
class MovieMappingPage : public QWizardPage {