summaryrefslogtreecommitdiffstats
path: root/newmoviewizard.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-07-12 11:22:17 +0200
committerArno <am@disconnect.de>2013-07-12 11:22:17 +0200
commitcbba8c474d5e90c4af05783e012415102f162c0e (patch)
tree8b1dc2972beb70d0bbc16e7165d23638b22be1bf /newmoviewizard.h
parent96df0c7b20a6f3e8c118d373f52193f71ab4b521 (diff)
downloadSheMov-cbba8c474d5e90c4af05783e012415102f162c0e.tar.gz
SheMov-cbba8c474d5e90c4af05783e012415102f162c0e.tar.bz2
SheMov-cbba8c474d5e90c4af05783e012415102f162c0e.zip
Use MappingEditorWidget in NewMovieWizard
Diffstat (limited to 'newmoviewizard.h')
-rw-r--r--newmoviewizard.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/newmoviewizard.h b/newmoviewizard.h
index dbba1c6..99646ca 100644
--- a/newmoviewizard.h
+++ b/newmoviewizard.h
@@ -26,6 +26,7 @@ class MovieMetadataPage;
class PictureViewer2;
class QCompleter;
class QStringListModel;
+class MappingEditorWidget;
class NewMovieWizard : public QWizard {
Q_OBJECT
@@ -82,11 +83,13 @@ class MovieMappingPage : public QWizardPage {
Q_OBJECT
public:
explicit MovieMappingPage(const QString &table, QWidget *parent = 0);
- MappingTableItemModel *model() { return mWidget->model(); }
+ MappingEditorWidget *widget() { return mWidget; }
virtual void initializePage();
private:
- MappingTableWidget *mWidget;
+ /* defined in archiveview.h */
+ MappingEditorWidget *mWidget;
+ QString mTable;
};
class MovieMetadataPage : public QWizardPage {