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 8 #ifndef PREFS_PREFLIGHTVERIFIER_H 9 #define PREFS_PREFLIGHTVERIFIER_H 10 11 #include <QString> 12 13 14 #include "ui_prefs_preflightverifierbase.h" 15 #include "prefs_pane.h" 16 #include "prefsstructs.h" 17 #include "scribusapi.h" 18 19 class SCRIBUS_API Prefs_PreflightVerifier : public Prefs_Pane, Ui::Prefs_PreflightVerifier 20 { 21 Q_OBJECT 22 23 public: 24 Prefs_PreflightVerifier(QWidget* parent, ScribusDoc* doc=nullptr); 25 ~Prefs_PreflightVerifier(); 26 27 void restoreDefaults(struct ApplicationPrefs *prefsData) override; 28 void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override; 29 30 public slots: 31 void languageChange(); 32 33 protected slots: 34 void putProfile(); 35 void setProfile(const QString& name); 36 void addProf(); 37 void delProf(); 38 39 protected: 40 QString tempNewProfileName; 41 CheckerPrefsList checkerProfiles; 42 QString currentProfile; 43 void updateProfile(const QString& name); 44 }; 45 46 #endif // PREFS_PREFLIGHTVERIFIER_H 47