r23156 by jghali - Use C++11 override keyword on prefs panels restoreDefaults() and saveGuiToPrefs() functions

scribus-commit scribus-commit at lists.scribus.net
Sat Aug 24 04:39:38 UTC 2019


Author: jghali
Date: Sat Aug 24 04:39:38 2019
New Revision: 23156

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23156
Log:
Use C++11 override keyword on prefs panels restoreDefaults() and saveGuiToPrefs() functions

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/prefs_scripter.h
    trunk/Scribus/scribus/plugins/short-words/prefs_shortwords.h
    trunk/Scribus/scribus/ui/prefs_colormanagement.h
    trunk/Scribus/scribus/ui/prefs_display.h
    trunk/Scribus/scribus/ui/prefs_documentinformation.h
    trunk/Scribus/scribus/ui/prefs_documentitemattributes.h
    trunk/Scribus/scribus/ui/prefs_documentsections.h
    trunk/Scribus/scribus/ui/prefs_documentsetup.h
    trunk/Scribus/scribus/ui/prefs_externaltools.h
    trunk/Scribus/scribus/ui/prefs_fonts.h
    trunk/Scribus/scribus/ui/prefs_guides.h
    trunk/Scribus/scribus/ui/prefs_hyphenator.h
    trunk/Scribus/scribus/ui/prefs_imagecache.h
    trunk/Scribus/scribus/ui/prefs_itemtools.h
    trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.h
    trunk/Scribus/scribus/ui/prefs_miscellaneous.h
    trunk/Scribus/scribus/ui/prefs_operatortools.h
    trunk/Scribus/scribus/ui/prefs_pagesizes.h
    trunk/Scribus/scribus/ui/prefs_paths.h
    trunk/Scribus/scribus/ui/prefs_pdfexport.h
    trunk/Scribus/scribus/ui/prefs_plugins.h
    trunk/Scribus/scribus/ui/prefs_preflightverifier.h
    trunk/Scribus/scribus/ui/prefs_printer.h
    trunk/Scribus/scribus/ui/prefs_scrapbook.h
    trunk/Scribus/scribus/ui/prefs_spelling.h
    trunk/Scribus/scribus/ui/prefs_tableofcontents.h
    trunk/Scribus/scribus/ui/prefs_typography.h
    trunk/Scribus/scribus/ui/prefs_userinterface.h
    trunk/Scribus/scribus/ui/spiralwidget.h

Modified: trunk/Scribus/scribus/plugins/scriptplugin/prefs_scripter.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/plugins/scriptplugin/prefs_scripter.h
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/prefs_scripter.h	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/prefs_scripter.h	Sat Aug 24 04:39:38 2019
@@ -20,8 +20,8 @@
 		Prefs_Scripter(QWidget* parent=0);
 		~Prefs_Scripter();
 
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/plugins/short-words/prefs_shortwords.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/plugins/short-words/prefs_shortwords.h
==============================================================================
--- trunk/Scribus/scribus/plugins/short-words/prefs_shortwords.h	(original)
+++ trunk/Scribus/scribus/plugins/short-words/prefs_shortwords.h	Sat Aug 24 04:39:38 2019
@@ -19,8 +19,8 @@
 		Prefs_ShortWords(QWidget* parent=0);
 		~Prefs_ShortWords();
 
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_colormanagement.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_colormanagement.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_colormanagement.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_colormanagement.h	Sat Aug 24 04:39:38 2019
@@ -23,10 +23,13 @@
 	public:
 		Prefs_ColorManagement(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_ColorManagement();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
+
 		void setProfiles(struct ApplicationPrefs *prefsData, ProfilesL *inputProfiles, ProfilesL *inputProfilesCMYK, ProfilesL *printerProfiles, ProfilesL *monitorProfiles);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
 		bool cmActive();
+
 	protected:
 		bool m_canChangeMonitorProfile;
 		ScribusDoc *m_Doc;

Modified: trunk/Scribus/scribus/ui/prefs_display.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_display.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_display.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_display.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_Display(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Display();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_documentinformation.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_documentinformation.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_documentinformation.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_documentinformation.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_DocumentInformation(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_DocumentInformation();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_documentitemattributes.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_documentitemattributes.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_documentitemattributes.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_documentitemattributes.h	Sat Aug 24 04:39:38 2019
@@ -20,8 +20,9 @@
 	public:
 		Prefs_DocumentItemAttributes(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_DocumentItemAttributes();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_documentsections.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_documentsections.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_documentsections.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_documentsections.h	Sat Aug 24 04:39:38 2019
@@ -22,8 +22,9 @@
 	public:
 		Prefs_DocumentSections(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_DocumentSections();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_documentsetup.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_documentsetup.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_documentsetup.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_documentsetup.h	Sat Aug 24 04:39:38 2019
@@ -23,8 +23,9 @@
 		Prefs_DocumentSetup(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_DocumentSetup();
 
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
+
 		void getResizeDocumentPages(bool &resizePages, bool &resizeMasterPages, bool &resizePageMargins, bool &resizeMasterPageMargins);
 		void setupPageSizes(struct ApplicationPrefs *prefsData);
 

Modified: trunk/Scribus/scribus/ui/prefs_externaltools.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_externaltools.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_externaltools.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_externaltools.h	Sat Aug 24 04:39:38 2019
@@ -20,8 +20,9 @@
 	public:
 		Prefs_ExternalTools(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_ExternalTools();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_fonts.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_fonts.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_fonts.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_fonts.h	Sat Aug 24 04:39:38 2019
@@ -26,8 +26,8 @@
 		Prefs_Fonts(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Fonts();
 
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 		virtual void changeUnit(struct ApplicationPrefs *prefsData) const;
 
 	public slots:

Modified: trunk/Scribus/scribus/ui/prefs_guides.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_guides.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_guides.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_guides.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_Guides(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Guides();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_hyphenator.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_hyphenator.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_hyphenator.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_hyphenator.h	Sat Aug 24 04:39:38 2019
@@ -22,8 +22,9 @@
 	public:
 		Prefs_Hyphenator(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Hyphenator();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_imagecache.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_imagecache.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_imagecache.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_imagecache.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_ImageCache(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_ImageCache();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_itemtools.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_itemtools.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_itemtools.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_itemtools.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_ItemTools(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_ItemTools();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.h	Sat Aug 24 04:39:38 2019
@@ -28,8 +28,9 @@
 	public:
 		Prefs_KeyboardShortcuts(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_KeyboardShortcuts();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 		bool event( QEvent* ev );
 		void keyPressEvent(QKeyEvent *k);

Modified: trunk/Scribus/scribus/ui/prefs_miscellaneous.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_miscellaneous.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_miscellaneous.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_miscellaneous.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_Miscellaneous(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Miscellaneous();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_operatortools.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_operatortools.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_operatortools.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_operatortools.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_OperatorTools(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_OperatorTools();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_pagesizes.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_pagesizes.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_pagesizes.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_pagesizes.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_PageSizes(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_PageSizes();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_paths.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_paths.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_paths.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_paths.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_Paths(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Paths();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_pdfexport.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_pdfexport.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_pdfexport.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_pdfexport.h	Sat Aug 24 04:39:38 2019
@@ -24,10 +24,10 @@
 		Prefs_PDFExport(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_PDFExport();
 
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
+		void restoreDefaults(struct ApplicationPrefs *prefsData)  override;
 		virtual void restoreDefaults(struct ApplicationPrefs *prefsData, const ProfilesL & PDFXProfiles,
 									 bool exporting=false);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 		void enableCMS(bool);
 
 		PDFOptions::PDFFontEmbedding fontEmbeddingMode();

Modified: trunk/Scribus/scribus/ui/prefs_plugins.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_plugins.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_plugins.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_plugins.h	Sat Aug 24 04:39:38 2019
@@ -22,8 +22,8 @@
 		Prefs_Plugins(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Plugins();
 
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_preflightverifier.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_preflightverifier.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_preflightverifier.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_preflightverifier.h	Sat Aug 24 04:39:38 2019
@@ -23,12 +23,12 @@
 	public:
 		Prefs_PreflightVerifier(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_PreflightVerifier();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
+
 	public slots:
 		void languageChange();
-
-
 
 	protected slots:
 		void putProfile();

Modified: trunk/Scribus/scribus/ui/prefs_printer.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_printer.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_printer.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_printer.h	Sat Aug 24 04:39:38 2019
@@ -19,8 +19,10 @@
 	public:
 		Prefs_Printer(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Printer();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
+
 	public slots:
 		void languageChange();
 		void unitChange(int newIndex);

Modified: trunk/Scribus/scribus/ui/prefs_scrapbook.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_scrapbook.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_scrapbook.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_scrapbook.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_Scrapbook(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Scrapbook();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_spelling.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_spelling.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_spelling.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_spelling.h	Sat Aug 24 04:39:38 2019
@@ -24,8 +24,9 @@
 	public:
 		Prefs_Spelling(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Spelling();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_tableofcontents.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_tableofcontents.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_tableofcontents.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_tableofcontents.h	Sat Aug 24 04:39:38 2019
@@ -26,8 +26,10 @@
 	public:
 		Prefs_TableOfContents(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_TableOfContents();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
+
 		virtual void changeEvent(QEvent *e);
 		virtual void enableGUIWidgets();
 

Modified: trunk/Scribus/scribus/ui/prefs_typography.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_typography.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_typography.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_typography.h	Sat Aug 24 04:39:38 2019
@@ -21,8 +21,9 @@
 	public:
 		Prefs_Typography(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_Typography();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/prefs_userinterface.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/prefs_userinterface.h
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_userinterface.h	(original)
+++ trunk/Scribus/scribus/ui/prefs_userinterface.h	Sat Aug 24 04:39:38 2019
@@ -25,8 +25,9 @@
 	public:
 		Prefs_UserInterface(QWidget* parent, ScribusDoc* doc=nullptr);
 		~Prefs_UserInterface();
-		virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
-		virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
+
+		void restoreDefaults(struct ApplicationPrefs *prefsData) override;
+		void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const override;
 
 	public slots:
 		void languageChange();

Modified: trunk/Scribus/scribus/ui/spiralwidget.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23156&path=/trunk/Scribus/scribus/ui/spiralwidget.h
==============================================================================
--- trunk/Scribus/scribus/ui/spiralwidget.h	(original)
+++ trunk/Scribus/scribus/ui/spiralwidget.h	Sat Aug 24 04:39:38 2019
@@ -19,6 +19,7 @@
 	public:
 		SpiralWidget(QWidget* parent);
 		~SpiralWidget() {};
+
 		void restoreDefaults(struct ItemToolPrefs *prefsData);
 		void saveGuiToPrefs(struct ItemToolPrefs *prefsData);
 




More information about the scribus-commit mailing list