r19411 by jghali - move to protected a few color/transparency palette methods which don't need to be slots

scribus-commit scribus-commit at lists.scribus.net
Mon Aug 4 21:04:19 UTC 2014


Author: jghali
Date: Mon Aug  4 21:04:19 2014
New Revision: 19411

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19411
Log:
move to protected a few color/transparency palette methods which don't need to be slots

Modified:
    trunk/Scribus/scribus/ui/cpalette.h
    trunk/Scribus/scribus/ui/transparencypalette.h

Modified: trunk/Scribus/scribus/ui/cpalette.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19411&path=/trunk/Scribus/scribus/ui/cpalette.h
==============================================================================
--- trunk/Scribus/scribus/ui/cpalette.h (original)
+++ trunk/Scribus/scribus/ui/cpalette.h Mon Aug  4 21:04:19 2014
@@ -90,15 +90,12 @@
 	void showGradient(int nr);
 	void showGradientStroke(int nr);
 	void showOverprint(int);
-	void updateCList();
 	void toggleColorDisplay();
 	void setNamedGradient(const QString &name);
 	void setNamedGradientStroke(const QString &name);
 	void selectPattern(QListWidgetItem *c);
 	void selectPatternS(QListWidgetItem *c);
 	void hideEditedPatterns(QStringList names);
-	void updatePatternList();
-	void updateGradientList();
 	void setActPattern(QString pattern, double scaleX, double scaleY, double offsetX, double offsetY, double rotation, double skewX, double skewY, bool mirrorX, bool mirrorY);
 	void setActPatternStroke(QString pattern, double scaleX, double scaleY, double offsetX, double offsetY, double rotation, double skewX, double skewY, bool mirrorX, bool mirrorY, double space, bool pathF);
 	void selectColorS(QListWidgetItem *c);
@@ -189,6 +186,10 @@
 	bool   updatesBlocked() { return (m_blockUpdates > 0); }
 
 	void   enablePatterns(bool enable);
+
+	void   updateCList();
+	void   updateGradientList();
+	void   updatePatternList();
 };
 
 #endif

Modified: trunk/Scribus/scribus/ui/transparencypalette.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19411&path=/trunk/Scribus/scribus/ui/transparencypalette.h
==============================================================================
--- trunk/Scribus/scribus/ui/transparencypalette.h (original)
+++ trunk/Scribus/scribus/ui/transparencypalette.h Mon Aug  4 21:04:19 2014
@@ -75,8 +75,6 @@
 
 	void editLineSelectorButton();
 	void editFillSelectorButton();
-	void updateCList();
-	void updateGradientList();
 	void slotGrad(int nr);
 	void slotGradType(int type);
 	void setNamedGradient(const QString &name);
@@ -85,7 +83,6 @@
 	void editGradientVector();
 	void setActiveGradDia(bool active);
 	void hideEditedPatterns(QStringList names);
-	void updatePatternList();
 	void selectPattern(QListWidgetItem *c);
 	void setActPattern(QString pattern, double scaleX, double scaleY, double offsetX, double offsetY, double rotation, double skewX, double skewY, bool mirrorX, bool mirrorY);
 	void changePatternProps();
@@ -128,5 +125,9 @@
 
 	void connectSignals();
 	void disconnectSignals();
+
+	void updateCList();
+	void updateGradientList();
+	void updatePatternList();
 };
 #endif




More information about the scribus-commit mailing list