summaryrefslogtreecommitdiffstats
path: root/newmoviewizard.h
blob: aef50f5c39126d448ee9f8b248d0085c6a36ef96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version
  2 of the License, or (at your option) any later version.
*/

#ifndef NEWMOVIEWIZARD_H
#define NEWMOVIEWIZARD_H

#include <QWizard>

class MovieInfoPage;
class MovieMappingPage;
class MovieMetadataPage;

class NewMovieWizard : public QWizard {
	Q_OBJECT
	public:
        explicit NewMovieWizard(QWidget *parent = nullptr);
        virtual void accept();
        virtual void reject();
		MovieInfoPage *infoPage() { return mInfoPage; }
		MovieMappingPage *actorPage() { return mActorPage; }
        MovieMappingPage *genrePage() { return mGenrePage; }
        MovieMetadataPage *metadataPage() { return mMetadataPage; }

	private:
		MovieInfoPage *mInfoPage;
		MovieMappingPage *mActorPage;
		MovieMappingPage *mGenrePage;
		MovieMetadataPage *mMetadataPage;
};

#endif