1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #include "scribus13formatimpl.h"
8 #include "scribuscore.h"
9 
10 #include <QString>
11 #include <QMessageBox>
12 
13 // Initialize members here, if any
Scribus13FormatImpl()14 Scribus13FormatImpl::Scribus13FormatImpl() : QObject(nullptr)
15 {
16 }
17 
18 // This method is connected to the "import page" entry in the UI
19 // For now, we just call back into Scribus
run(const QString &)20 bool Scribus13FormatImpl::run(const QString & )
21 {
22 	ScCore->primaryMainWindow()->slotPageImport();
23 	return true;
24 }
25