r24928 by jghali - Qt6: signature normalization for signals and slots

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 7 23:05:49 UTC 2022


Author: jghali
Date: Mon Feb  7 23:05:49 2022
New Revision: 24928

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24928
Log:
Qt6: signature normalization for signals and slots

Modified:
    trunk/Scribus/scribus/plugins/colorwheel/cwdialog.cpp
    trunk/Scribus/scribus/plugins/gettext/textfilter/tfdia.cpp
    trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp
    trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
    trunk/Scribus/scribus/ui/annot.cpp
    trunk/Scribus/scribus/ui/charselect.cpp
    trunk/Scribus/scribus/ui/charselectenhanced.h
    trunk/Scribus/scribus/ui/checkDocument.cpp
    trunk/Scribus/scribus/ui/cmykfw.cpp
    trunk/Scribus/scribus/ui/cpalette.cpp
    trunk/Scribus/scribus/ui/customfdialog.cpp
    trunk/Scribus/scribus/ui/gradienteditor.cpp
    trunk/Scribus/scribus/ui/gtfiledialog.cpp
    trunk/Scribus/scribus/ui/helpbrowser.cpp
    trunk/Scribus/scribus/ui/inspage.cpp
    trunk/Scribus/scribus/ui/missing.cpp
    trunk/Scribus/scribus/ui/newdocdialog.cpp
    trunk/Scribus/scribus/ui/outlinepalette.cpp
    trunk/Scribus/scribus/ui/preferencesdialog.cpp
    trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.cpp
    trunk/Scribus/scribus/ui/prefs_pdfexport.cpp
    trunk/Scribus/scribus/ui/prefs_spelling.cpp
    trunk/Scribus/scribus/ui/prefs_tableofcontents.cpp
    trunk/Scribus/scribus/ui/printdialog.cpp
    trunk/Scribus/scribus/ui/propertiespalette_image.cpp
    trunk/Scribus/scribus/ui/propertiespalette_table.cpp
    trunk/Scribus/scribus/ui/propertiespalette_text.cpp
    trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp
    trunk/Scribus/scribus/ui/resourcemanager.cpp
    trunk/Scribus/scribus/ui/scrspinbox.cpp
    trunk/Scribus/scribus/ui/smcellstyle.cpp
    trunk/Scribus/scribus/ui/smlinestyle.cpp
    trunk/Scribus/scribus/ui/smtablestyle.cpp
    trunk/Scribus/scribus/ui/smtextstyles.cpp
    trunk/Scribus/scribus/ui/storyeditor.cpp
    trunk/Scribus/scribus/ui/stylemanager.cpp
    trunk/Scribus/scribus/ui/transparencypalette.cpp
    trunk/Scribus/scribus/ui/unicodesearch.cpp

Modified: trunk/Scribus/scribus/plugins/colorwheel/cwdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/plugins/colorwheel/cwdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/colorwheel/cwdialog.cpp	(original)
+++ trunk/Scribus/scribus/plugins/colorwheel/cwdialog.cpp	Mon Feb  7 23:05:49 2022
@@ -100,10 +100,10 @@
 	// signals and slots that cannot be in ui file
 	connect(colorWheel, SIGNAL(clicked(int, const QPoint&)),
 			this, SLOT(colorWheel_clicked(int, const QPoint&)));
-	connect(documentColorList, SIGNAL(currentTextChanged(const QString &)),
-			this, SLOT(documentColorList_currentChanged(const QString &)));
-	connect(colorList, SIGNAL(currentTextChanged(const QString &)),
-			this, SLOT(colorList_currentChanged(const QString &)));
+	connect(documentColorList, SIGNAL(currentTextChanged(QString)),
+			this, SLOT(documentColorList_currentChanged(QString)));
+	connect(colorList, SIGNAL(currentTextChanged(QString)),
+			this, SLOT(colorList_currentChanged(QString)));
 	connect(angleSpin, SIGNAL(valueChanged(int)),
 			this, SLOT(angleSpin_valueChanged(int)));
 	connect(colorspaceTab, SIGNAL(currentChanged(int)),

Modified: trunk/Scribus/scribus/plugins/gettext/textfilter/tfdia.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/plugins/gettext/textfilter/tfdia.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/textfilter/tfdia.cpp	(original)
+++ trunk/Scribus/scribus/plugins/gettext/textfilter/tfdia.cpp	Mon Feb  7 23:05:49 2022
@@ -150,12 +150,12 @@
 	layout->addLayout(layout2);
 	
 
-	connect(filtersCombo, SIGNAL(activated(const QString&)), this, SLOT(loadFilter(const QString&)));
+	connect(filtersCombo, SIGNAL(textActivated(QString)), this, SLOT(loadFilter(QString)));
 	connect(clearButton, SIGNAL(clicked()), this, SLOT(clearClicked()));
 	connect(deleteButton, SIGNAL(clicked()), this, SLOT(deleteClicked()));
 	connect(okButton, SIGNAL(clicked()), this, SLOT(okClicked()));
 	connect(cancelButton, SIGNAL(clicked()), this, SLOT(cancelClicked()));
-	connect(saveEdit, SIGNAL(textChanged(const QString&)), this, SLOT(saveTextChanged(const QString&)));
+	connect(saveEdit, SIGNAL(textChanged(QString)), this, SLOT(saveTextChanged(QString)));
 }
 
 void tfDia::createFilterRow(tfFilter* after)

Modified: trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/runscriptdialog.cpp	Mon Feb  7 23:05:49 2022
@@ -30,7 +30,7 @@
 	if (!extEnable)
 		extChk->setVisible(false);
 	buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
-	connect(fileWidget, SIGNAL(currentChanged(const QString &)), this, SLOT(fileClicked(const QString &)));
+	connect(fileWidget, SIGNAL(currentChanged(QString)), this, SLOT(fileClicked(QString)));
 	connect(fileWidget, SIGNAL(accepted()), this, SLOT(accept()));
 	connect(fileWidget, SIGNAL(rejected()), this, SLOT(reject()));
 	connect(buttonBox, SIGNAL(accepted()), this, SLOT(okClicked()));

Modified: trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp	(original)
+++ trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp	Mon Feb  7 23:05:49 2022
@@ -27,7 +27,7 @@
 	connect (ignoreAllPushButton, SIGNAL(clicked()), this, SLOT(ignoreAllWords()));
 	connect (changePushButton, SIGNAL(clicked()), this, SLOT(changeWord()));
 	connect (changeAllPushButton, SIGNAL(clicked()), this, SLOT(changeAllWords()));
-	connect (languagesComboBox, SIGNAL(currentIndexChanged(const QString &)), this, SLOT(languageComboChanged(const QString &)));
+	connect (languagesComboBox, SIGNAL(currentIndexChanged(QString)), this, SLOT(languageComboChanged(QString)));
 }
 
 HunspellDialog::HunspellDialog(QWidget *parent, ScribusDoc *doc, StoryText * itemText)
@@ -42,7 +42,7 @@
 	connect (ignoreAllPushButton, SIGNAL(clicked()), this, SLOT(ignoreAllWords()));
 	connect (changePushButton, SIGNAL(clicked()), this, SLOT(changeWord()));
 	connect (changeAllPushButton, SIGNAL(clicked()), this, SLOT(changeAllWords()));
-	connect (languagesComboBox, SIGNAL(currentIndexChanged(const QString &)), this, SLOT(languageComboChanged(const QString &)));
+	connect (languagesComboBox, SIGNAL(currentTextChanged(QString)), this, SLOT(languageComboChanged(QString)));
 }
 
 void HunspellDialog::set(QMap<QString, QString>* dictionaryMap, QMap<QString, HunspellDict*> *hspellerMap, QList<WordsFound> *wfList)

Modified: trunk/Scribus/scribus/ui/annot.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/annot.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/annot.cpp	(original)
+++ trunk/Scribus/scribus/ui/annot.cpp	Mon Feb  7 23:05:49 2022
@@ -406,7 +406,7 @@
 	connect(EditCalc, SIGNAL(clicked()), this, SLOT(editCalcSc()));
 	connect(EditJ, SIGNAL(clicked()), this, SLOT(editJavaSc()));
 	connect(SeField, SIGNAL(clicked()), this, SLOT(SelectFelder()));
-	connect(Format0c, SIGNAL(activated(const QString&)), this, SLOT(setDateSample(const QString&)));
+	connect(Format0c, SIGNAL(textActivated(QString)), this, SLOT(setDateSample(QString)));
 	connect(TxFormat, SIGNAL(activated(int)), this, SLOT(SetFoScript(int)));
 	connect(ComboBox1, SIGNAL(activated(int)), this, SLOT(SetAnnotationType(int)));
 	connect(ActionCombo, SIGNAL(activated(int)), this, SLOT(SetActionType(int)));

Modified: trunk/Scribus/scribus/ui/charselect.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/charselect.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/charselect.cpp	(original)
+++ trunk/Scribus/scribus/ui/charselect.cpp	Mon Feb  7 23:05:49 2022
@@ -45,7 +45,7 @@
 	connect(m_userTable, SIGNAL(selectChar(uint,QString)), this, SLOT(userNewChar(uint,QString)));
 	connect(m_userTable->selectionModel(), SIGNAL(selectionChanged(const QItemSelection&,const QItemSelection&)), this, SLOT(slot_selectionChanged(const QItemSelection&,const QItemSelection&)));
 	connect(m_userTableModel, SIGNAL(rowAppended()),m_userTable, SLOT(resizeLastRow()));
-	connect(unicodeButton, SIGNAL(chosenUnicode(const QString&)), m_userTableModel, SLOT(appendUnicode(const QString&)));
+	connect(unicodeButton, SIGNAL(chosenUnicode(QString)), m_userTableModel, SLOT(appendUnicode(QString)));
 	connect(enhancedDialogButton, SIGNAL(toggled(bool)), this, SLOT(enhancedDialogButton_toggled(bool)));
 	connect(this, SIGNAL(insertUserSpecialChar(QChar,QString)), this, SLOT(slot_insertUserSpecialChar(QChar,QString)));
 	connect(uniLoadButton, SIGNAL(clicked()), this, SLOT(uniLoadButton_clicked()));

Modified: trunk/Scribus/scribus/ui/charselectenhanced.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/charselectenhanced.h
==============================================================================
--- trunk/Scribus/scribus/ui/charselectenhanced.h	(original)
+++ trunk/Scribus/scribus/ui/charselectenhanced.h	Mon Feb  7 23:05:49 2022
@@ -1,17 +1,17 @@
-/*
-For general Scribus (>=1.3.2) copyright and licensing information please refer
-to the COPYING file provided with the program. Following this notice may exist
-a copyright and/or license notice that predates the release of Scribus 1.3.2
-for which a new license (GPL+exception) is in place.
-*/
-#ifndef CHARSELECTENHANCED_H
-#define CHARSELECTENHANCED_H
-
-#include "scribusapi.h"
-#include "scrpalettebase.h"
-#include "chartablemodel.h"
-#include "ui_charselectenhanced.h"
-
+/*
+For general Scribus (>=1.3.2) copyright and licensing information please refer
+to the COPYING file provided with the program. Following this notice may exist
+a copyright and/or license notice that predates the release of Scribus 1.3.2
+for which a new license (GPL+exception) is in place.
+*/
+#ifndef CHARSELECTENHANCED_H
+#define CHARSELECTENHANCED_H
+
+#include "scribusapi.h"
+#include "scrpalettebase.h"
+#include "chartablemodel.h"
+#include "ui_charselectenhanced.h"
+
 
 /*! \brief Character Palette for batch glyphs inserting.
 Enhanced instance is created/destroyed on every call from CharSelect
@@ -19,81 +19,81 @@
 */
 class SCRIBUS_API CharSelectEnhanced : public ScrPaletteBase, public Ui::CharSelectEnhanced
 {
-	Q_OBJECT
-
-public:
-	CharSelectEnhanced(QWidget* parent);
-	~CharSelectEnhanced();
-
-	void setDoc(ScribusDoc* doc);
-	QString getUsedFont();
-
-signals:
-	/*! \brief A signal emitted when press the "Insert" button.
-	Glyphs are handled in CharSelect parent.
-	*/
-	void insertSpecialChars(const QVector<uint> & chars);
-
-public slots:
-	void newChar(uint i, const QString&);
-	void delChar();
-	void newFont(int font);
-	void newCharClass(int c);
-	void delEdit();
-	void insChar();
-
-protected:
-	void changeEvent(QEvent *e) override;
-
-private:
-	ScribusDoc* m_doc;
-	//! \brief Current font name
-	QString m_fontInUse;
-	//! \brief Currently selected character category. See usedCharClasses.
-	int m_characterClass;
-
-	//! \brief m_charTable model
-	CharTableModel * m_charTableModel;
-
-	QList<CharClassDef> allClasses;
-	CharClassDef characters;
-	CharClassDef charactersFull;
-	CharClassDef charactersLatin1;
-	CharClassDef charactersLatin1Supplement;
-	CharClassDef charactersLatinExtendedA;
-	CharClassDef charactersLatinExtendedB;
-	CharClassDef charactersGeneralPunctuation;
-	CharClassDef charactersSuperSubscripts;
-	CharClassDef charactersCurrencySymbols;
-	CharClassDef charactersLetterlikeSymbols;
-	CharClassDef charactersNumberForms;
-	CharClassDef charactersArrows;
-	CharClassDef charactersMathematicalOperators;
-	CharClassDef charactersBoxDrawing;
-	CharClassDef charactersBlockElements;
-	CharClassDef charactersGeometricShapes;
-	CharClassDef charactersMiscellaneousSymbols;
-	CharClassDef charactersDingbats;
-	CharClassDef charactersSmallFormVariants;
-	CharClassDef charactersAlphabeticPresentationForms;
-	CharClassDef charactersSpecial;
-	CharClassDef charactersGreek;
-	CharClassDef charactersGreekExtended;
-	CharClassDef charactersCyrillic;
-	CharClassDef charactersCyrillicSupplement;
-	CharClassDef charactersArabic;
-	CharClassDef charactersArabicPresentationFormsA;
-	CharClassDef charactersArabicPresentationFormsB;
-	CharClassDef charactersHebrew;
-	QMap<int,int> usedCharClasses;
-	QVector<uint> chToIns;
-
-	void scanFont();
-	void setupRangeCombo();
-	void generatePreview(int charClass);
-
-private slots:
-	void hexLineEdit_returnPressed();
-};
-
-#endif
+	Q_OBJECT
+
+public:
+	CharSelectEnhanced(QWidget* parent);
+	~CharSelectEnhanced();
+
+	void setDoc(ScribusDoc* doc);
+	QString getUsedFont();
+
+signals:
+	/*! \brief A signal emitted when press the "Insert" button.
+	Glyphs are handled in CharSelect parent.
+	*/
+	void insertSpecialChars(const QVector<uint> & chars);
+
+public slots:
+	void newChar(uint i, const QString&);
+	void delChar();
+	void newFont(int font);
+	void newCharClass(int c);
+	void delEdit();
+	void insChar();
+
+protected:
+	void changeEvent(QEvent *e) override;
+
+private:
+	ScribusDoc* m_doc;
+	//! \brief Current font name
+	QString m_fontInUse;
+	//! \brief Currently selected character category. See usedCharClasses.
+	int m_characterClass;
+
+	//! \brief m_charTable model
+	CharTableModel * m_charTableModel;
+
+	QList<CharClassDef> allClasses;
+	CharClassDef characters;
+	CharClassDef charactersFull;
+	CharClassDef charactersLatin1;
+	CharClassDef charactersLatin1Supplement;
+	CharClassDef charactersLatinExtendedA;
+	CharClassDef charactersLatinExtendedB;
+	CharClassDef charactersGeneralPunctuation;
+	CharClassDef charactersSuperSubscripts;
+	CharClassDef charactersCurrencySymbols;
+	CharClassDef charactersLetterlikeSymbols;
+	CharClassDef charactersNumberForms;
+	CharClassDef charactersArrows;
+	CharClassDef charactersMathematicalOperators;
+	CharClassDef charactersBoxDrawing;
+	CharClassDef charactersBlockElements;
+	CharClassDef charactersGeometricShapes;
+	CharClassDef charactersMiscellaneousSymbols;
+	CharClassDef charactersDingbats;
+	CharClassDef charactersSmallFormVariants;
+	CharClassDef charactersAlphabeticPresentationForms;
+	CharClassDef charactersSpecial;
+	CharClassDef charactersGreek;
+	CharClassDef charactersGreekExtended;
+	CharClassDef charactersCyrillic;
+	CharClassDef charactersCyrillicSupplement;
+	CharClassDef charactersArabic;
+	CharClassDef charactersArabicPresentationFormsA;
+	CharClassDef charactersArabicPresentationFormsB;
+	CharClassDef charactersHebrew;
+	QMap<int,int> usedCharClasses;
+	QVector<uint> chToIns;
+
+	void scanFont();
+	void setupRangeCombo();
+	void generatePreview(int charClass);
+
+private slots:
+	void hexLineEdit_returnPressed();
+};
+
+#endif

Modified: trunk/Scribus/scribus/ui/checkDocument.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/checkDocument.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.cpp	(original)
+++ trunk/Scribus/scribus/ui/checkDocument.cpp	Mon Feb  7 23:05:49 2022
@@ -88,7 +88,7 @@
 	connect(ScQApp, SIGNAL(iconSetChanged()), this, SLOT(iconSetChange()));
 
 	connect(ignoreErrors, SIGNAL(clicked()), this, SIGNAL(ignoreAllErrors()));
-	connect(curCheckProfile, SIGNAL(textActivated(const QString&)), this, SLOT(newScan(const QString&)));
+	connect(curCheckProfile, SIGNAL(textActivated(QString)), this, SLOT(newScan(QString)));
 	connect(reScan, SIGNAL(clicked()), this, SLOT(doReScan()));
 }
 
@@ -410,7 +410,7 @@
 {
 // 	bool resultError = false;
 	m_Doc = doc;
-	disconnect(curCheckProfile, SIGNAL(textActivated(const QString&)), this, SLOT(newScan(const QString&)));
+	disconnect(curCheckProfile, SIGNAL(textActivated(QString)), this, SLOT(newScan(QString)));
 	curCheckProfile->clear();
 	clearErrorList();
 
@@ -754,7 +754,7 @@
 	reportDisplay->resizeColumnToContents(COLUMN_ITEM);
 	reportDisplay->resizeColumnToContents(COLUMN_PROBLEM);
 	reportDisplay->resizeColumnToContents(COLUMN_LAYER);
-	connect(curCheckProfile, SIGNAL(textActivated(const QString&)), this, SLOT(newScan(const QString&)));
+	connect(curCheckProfile, SIGNAL(textActivated(QString)), this, SLOT(newScan(QString)));
 	connect(reportDisplay, SIGNAL(itemClicked(QTreeWidgetItem*, int)), this, SLOT(slotSelect(QTreeWidgetItem*)));
 }
 

Modified: trunk/Scribus/scribus/ui/cmykfw.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/cmykfw.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/cmykfw.cpp	(original)
+++ trunk/Scribus/scribus/ui/cmykfw.cpp	Mon Feb  7 23:05:49 2022
@@ -228,9 +228,9 @@
 	connect( YellowSL, SIGNAL( valueChanged(int) ), this, SLOT( setColor() ) );
 	connect( BlackSL, SIGNAL( valueChanged(int) ), this, SLOT( setColor() ) );
 	connect( ColorMap, SIGNAL( ColorVal(int, int, bool)), this, SLOT( setColor2(int, int, bool)));
-	connect( ComboBox1, SIGNAL(activated(const QString&)), this, SLOT(selModel(const QString&)));
+	connect( ComboBox1, SIGNAL(textActivated(QString)), this, SLOT(selModel(QString)));
 //	connect( Swatches, SIGNAL(activated(int)), this, SLOT(selSwatch(int)));
-	connect(Swatches, SIGNAL(activated(const QString &)), this, SLOT(selSwatch()));
+	connect(Swatches, SIGNAL(activated(QString)), this, SLOT(selSwatch()));
 	connect(ColorSwatch, SIGNAL(itemClicked(int) ), this, SLOT( selFromSwatch(int) ) );
 	connect(Separations, SIGNAL(clicked()), this, SLOT(setSpot()));
 //	connect(Regist, SIGNAL(clicked()), this, SLOT(setRegist()));

Modified: trunk/Scribus/scribus/ui/cpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/cpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/cpalette.cpp	(original)
+++ trunk/Scribus/scribus/ui/cpalette.cpp	Mon Feb  7 23:05:49 2022
@@ -164,8 +164,8 @@
 	connect(gradEditStroke, SIGNAL(gradientChanged()), this, SLOT(handleStrokeGradient()));
 	connect(gradientType  , SIGNAL(activated(int)), this, SLOT(slotGradType(int)));
 	connect(gradientTypeStroke , SIGNAL(activated(int)), this, SLOT(slotGradTypeStroke(int)));
-	connect(namedGradient , SIGNAL(currentTextChanged(const QString &)), this, SLOT(setNamedGradient(const QString &)));
-	connect(namedGradientStroke, SIGNAL(currentTextChanged(const QString &)), this, SLOT(setNamedGradientStroke(const QString &)));
+	connect(namedGradient , SIGNAL(currentTextChanged(QString)), this, SLOT(setNamedGradient(QString)));
+	connect(namedGradientStroke, SIGNAL(currentTextChanged(QString)), this, SLOT(setNamedGradientStroke(QString)));
 	connect(overPrintCombo     , SIGNAL(activated(int)), this, SIGNAL(NewOverprint(int)));
 	connect(patternBox         , SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(selectPattern(QListWidgetItem*)));
 	connect(patternBoxStroke   , SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(selectPatternS(QListWidgetItem*)));
@@ -224,8 +224,8 @@
 	disconnect(gradEditStroke, SIGNAL(gradientChanged()), this, SLOT(handleStrokeGradient()));
 	disconnect(gradientType  , SIGNAL(activated(int)), this, SLOT(slotGradType(int)));
 	disconnect(gradientTypeStroke , SIGNAL(activated(int)), this, SLOT(slotGradTypeStroke(int)));
-	disconnect(namedGradient , SIGNAL(currentTextChanged(const QString &)), this, SLOT(setNamedGradient(const QString &)));
-	disconnect(namedGradientStroke, SIGNAL(currentTextChanged(const QString &)), this, SLOT(setNamedGradientStroke(const QString &)));
+	disconnect(namedGradient , SIGNAL(currentTextChanged(QString)), this, SLOT(setNamedGradient(QString)));
+	disconnect(namedGradientStroke, SIGNAL(currentTextChanged(QString)), this, SLOT(setNamedGradientStroke(QString)));
 	disconnect(overPrintCombo     , SIGNAL(activated(int)), this, SIGNAL(NewOverprint(int)));
 	disconnect(patternBox         , SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(selectPattern(QListWidgetItem*)));
 	disconnect(patternBoxStroke   , SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(selectPatternS(QListWidgetItem*)));

Modified: trunk/Scribus/scribus/ui/customfdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/customfdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/customfdialog.cpp	(original)
+++ trunk/Scribus/scribus/ui/customfdialog.cpp	Mon Feb  7 23:05:49 2022
@@ -485,8 +485,8 @@
 	connect(okButton, SIGNAL(clicked()), this, SLOT(okClicked()));
 	connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));
 	connect(showPreview, SIGNAL(clicked()), this, SLOT(togglePreview()));
-	connect(fileDialog, SIGNAL(currentChanged(const QString &)), this, SLOT(fileClicked(const QString &)));
-	connect(fileDialog, SIGNAL(filesSelected(const QStringList &)), this, SLOT(accept()));
+	connect(fileDialog, SIGNAL(currentChanged(QString)), this, SLOT(fileClicked(QString)));
+	connect(fileDialog, SIGNAL(filesSelected(QStringList)), this, SLOT(accept()));
 	connect(fileDialog, SIGNAL(accepted()), this, SLOT(accept()));
 	connect(fileDialog, SIGNAL(rejected()), this, SLOT(reject()));
 	resize(minimumSizeHint());

Modified: trunk/Scribus/scribus/ui/gradienteditor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/gradienteditor.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/gradienteditor.cpp	(original)
+++ trunk/Scribus/scribus/ui/gradienteditor.cpp	Mon Feb  7 23:05:49 2022
@@ -39,7 +39,7 @@
 	stopOpacity->setDecimals(0);
 	stopShade->setDecimals(0);
 	connect(stopPos    , SIGNAL(valueChanged(double)), this, SLOT(changePos(double)));
-	connect(stopColor  , SIGNAL(textActivated(const QString&)), this, SLOT(setStopColor(const QString&)));
+	connect(stopColor  , SIGNAL(textActivated(QString)), this, SLOT(setStopColor(QString)));
 	connect(stopOpacity, SIGNAL(valueChanged(double)), this, SLOT(setStopTrans(double)));
 	connect(stopShade  , SIGNAL(valueChanged(double)), this, SLOT(setStopShade(double)));
 	connect(Preview, SIGNAL(selectedStop(VColorStop*)), this, SLOT(slotDisplayStop(VColorStop*)));

Modified: trunk/Scribus/scribus/ui/gtfiledialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/gtfiledialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/gtfiledialog.cpp	(original)
+++ trunk/Scribus/scribus/ui/gtfiledialog.cpp	Mon Feb  7 23:05:49 2022
@@ -50,7 +50,7 @@
 
 	loadSettings();
 	buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
-	connect(fileWidget, SIGNAL(currentChanged(const QString &)), this, SLOT(fileClicked(const QString &)));
+	connect(fileWidget, SIGNAL(currentChanged(QString)), this, SLOT(fileClicked(QString)));
 	connect(fileWidget, SIGNAL(accepted()), this, SLOT(accept()));
 	connect(fileWidget, SIGNAL(rejected()), this, SLOT(reject()));
 	connect(buttonBox, SIGNAL(accepted()), this, SLOT(okClicked()));

Modified: trunk/Scribus/scribus/ui/helpbrowser.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/helpbrowser.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/helpbrowser.cpp	(original)
+++ trunk/Scribus/scribus/ui/helpbrowser.cpp	Mon Feb  7 23:05:49 2022
@@ -300,7 +300,7 @@
 	connect(helpNav->deleteAllBookmarkButton, SIGNAL(clicked()), this, SLOT(deleteAllBookmarkButton_clicked()));
 	connect(helpNav->bookmarksView, SIGNAL(itemClicked( QTreeWidgetItem *, int)), this, SLOT(itemBookmarkSelected(QTreeWidgetItem *, int)));
 	// links hoover
-//	connect(textBrowser, SIGNAL(overLink(const QString &)), this, SLOT(showLinkContents(const QString &)));
+//	connect(textBrowser, SIGNAL(overLink(QString)), this, SLOT(showLinkContents(QString)));
 
 	// status bar
 //	connect(textBrowser,SIGNAL(statusBarMessage(QString)), this->statusBar(), SLOT(showMessage(QString)));

Modified: trunk/Scribus/scribus/ui/inspage.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/inspage.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/inspage.cpp	(original)
+++ trunk/Scribus/scribus/ui/inspage.cpp	Mon Feb  7 23:05:49 2022
@@ -310,7 +310,7 @@
 	connect(okButton, SIGNAL( clicked() ), this, SLOT( accept() ) );
 	connect(cancelButton, SIGNAL( clicked() ), this, SLOT( reject() ) );
 	connect(orientationQComboBox, SIGNAL(activated(int)), this, SLOT(setOrientation(int)));
-	connect(sizeQComboBox, SIGNAL(activated(const QString &)), this, SLOT(setSize(const QString &)));
+	connect(sizeQComboBox, SIGNAL(activated(QString)), this, SLOT(setSize(QString)));
 	connect(overrideMPSizingCheckBox, SIGNAL(stateChanged(int)), this, SLOT(enableSizingControls(int)));
 }
 

Modified: trunk/Scribus/scribus/ui/missing.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/missing.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/missing.cpp	(original)
+++ trunk/Scribus/scribus/ui/missing.cpp	Mon Feb  7 23:05:49 2022
@@ -51,7 +51,7 @@
 
 	// signals and slots connections
 	connect( okButton, SIGNAL( clicked() ), this, SLOT( accept() ) );
-	connect( replaceFontCombo, SIGNAL(fontSelected(QString)), this, SLOT( newFont(const QString&) ) );
+	connect( replaceFontCombo, SIGNAL(fontSelected(QString)), this, SLOT(newFont(QString) ) );
 }
 
 void MissingFont::newFont(const QString& replacement)

Modified: trunk/Scribus/scribus/ui/newdocdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/newdocdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/newdocdialog.cpp	(original)
+++ trunk/Scribus/scribus/ui/newdocdialog.cpp	Mon Feb  7 23:05:49 2022
@@ -164,7 +164,7 @@
 	// signals and slots connections
 	connect( OKButton, SIGNAL( clicked() ), this, SLOT( ExitOK() ) );
 	connect( CancelB, SIGNAL( clicked() ), this, SLOT( reject() ) );
-	connect(pageSizeComboBox, SIGNAL(textActivated(const QString &)), this, SLOT(setPageSize(const QString &)));
+	connect(pageSizeComboBox, SIGNAL(textActivated(QString)), this, SLOT(setPageSize(QString)));
 	connect(pageOrientationComboBox, SIGNAL(activated(int)), this, SLOT(setOrientation(int)));
 	connect(unitOfMeasureComboBox, SIGNAL(activated(int)), this, SLOT(setUnit(int)));
 	connect(Distance, SIGNAL(valueChanged(double)), this, SLOT(setDistance(double)));
@@ -408,8 +408,8 @@
 	connect(keyCatcher, SIGNAL(homePressed()), this, SLOT(gotoHomeDirectory()));
 	connect(keyCatcher, SIGNAL(parentPressed()), this, SLOT(gotoParentDirectory()));
 	connect(keyCatcher, SIGNAL(enterSelectedPressed()), this, SLOT(gotoSelectedDirectory()));
-	connect(fileDialog, SIGNAL(currentChanged(const QString &)), this, SLOT(openFileDialogFileClicked(const QString &)));
-	connect(fileDialog, SIGNAL(filesSelected(const QStringList &)), this, SLOT(openFile()));
+	connect(fileDialog, SIGNAL(currentChanged(QString)), this, SLOT(openFileDialogFileClicked(QString)));
+	connect(fileDialog, SIGNAL(filesSelected(QStringList)), this, SLOT(openFile()));
 	connect(fileDialog, SIGNAL(rejected()), this, SLOT(reject()));
 }
 

Modified: trunk/Scribus/scribus/ui/outlinepalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/outlinepalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/outlinepalette.cpp	(original)
+++ trunk/Scribus/scribus/ui/outlinepalette.cpp	Mon Feb  7 23:05:49 2022
@@ -483,7 +483,7 @@
 	connect(reportDisplay, SIGNAL(customContextMenuRequested (const QPoint &)), this, SLOT(slotRightClick(QPoint)));
 	connect(reportDisplay, SIGNAL(itemSelectionChanged()), this, SLOT(slotMultiSelect()));
 	connect(reportDisplay, SIGNAL(itemChanged(QTreeWidgetItem*, int)), this, SLOT(slotDoRename(QTreeWidgetItem*, int)));
-	connect(filterEdit, SIGNAL(textChanged(const QString&)), this, SLOT(filterTree(const QString&)));
+	connect(filterEdit, SIGNAL(textChanged(QString)), this, SLOT(filterTree(QString)));
 //	connect(filterShortcut, SIGNAL(activated()), filterEdit, SLOT(setFocus()));
 	connect(reportDisplay, SIGNAL(itemDoubleClicked(QTreeWidgetItem*, int)), this, SLOT(slotDoubleClick(QTreeWidgetItem*, int)));
 }

Modified: trunk/Scribus/scribus/ui/preferencesdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/preferencesdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/preferencesdialog.cpp	(original)
+++ trunk/Scribus/scribus/ui/preferencesdialog.cpp	Mon Feb  7 23:05:49 2022
@@ -136,7 +136,7 @@
 		itemSelected(preferencesTypeList->item(0));
 	}
 
-	connect(prefs_DocumentSetup, SIGNAL(changeToOtherSection(const QString&)), this, SLOT(setNewItemSelected(const QString&)));
+	connect(prefs_DocumentSetup, SIGNAL(changeToOtherSection(QString)), this, SLOT(setNewItemSelected(QString)));
 	connect(prefs_DocumentSetup, SIGNAL(prefsChangeUnits(int)), this, SLOT(changeUnits(int)));
 	connect(okButton, SIGNAL(clicked()), this, SLOT(accept()));
 	connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));

Modified: trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.cpp	(original)
+++ trunk/Scribus/scribus/ui/prefs_keyboardshortcuts.cpp	Mon Feb  7 23:05:49 2022
@@ -79,7 +79,7 @@
 	connect( exportSetButton, SIGNAL(clicked()), this, SLOT(exportKeySetFile()));
 	connect( resetSetButton, SIGNAL(clicked()), this, SLOT(resetKeySet()));
 	connect( clearSearchButton, SIGNAL(clicked()), this, SLOT(clearSearchString()));
-	connect( searchTextLineEdit, SIGNAL(textChanged(const QString&)), this, SLOT(applySearch(const QString&)));
+	connect( searchTextLineEdit, SIGNAL(textChanged(QString)), this, SLOT(applySearch(QString)));
 
 }
 

Modified: trunk/Scribus/scribus/ui/prefs_pdfexport.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/prefs_pdfexport.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_pdfexport.cpp	(original)
+++ trunk/Scribus/scribus/ui/prefs_pdfexport.cpp	Mon Feb  7 23:05:49 2022
@@ -600,7 +600,7 @@
 		connect(effectDirectionComboBox, SIGNAL(activated(int)), this, SLOT(ValidDI(int)));
 		connect(enabledEffectsCheckBox, SIGNAL(clicked()), this, SLOT(DoEffects()));
 		connect(applyEffectToAllPagesPushButton, SIGNAL(clicked()), this, SLOT(EffectOnAll()));
-//		connect(pdfx3InfoStringLineEdit, SIGNAL(textChanged(const QString &)), this, SLOT(checkInfo()));
+//		connect(pdfx3InfoStringLineEdit, SIGNAL(textChanged(QString)), this, SLOT(checkInfo()));
 //		connect(pdfx3InfoStringLineEdit, SIGNAL(editingFinished()), this, SLOT(checkInfo()));
 		connect(useDocumentBleedsCheckBox, SIGNAL(clicked()), this, SLOT(doDocBleeds()));
 

Modified: trunk/Scribus/scribus/ui/prefs_spelling.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/prefs_spelling.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_spelling.cpp	(original)
+++ trunk/Scribus/scribus/ui/prefs_spelling.cpp	Mon Feb  7 23:05:49 2022
@@ -106,8 +106,8 @@
 	{
 		downloadProgressBar->setRange(0, i);
 		connect(ScQApp->dlManager(), SIGNAL(finished()), this, SLOT(downloadSpellDictsFinished()));
-		connect(ScQApp->dlManager(), SIGNAL(fileReceived(const QString&)), this, SLOT(updateProgressBar()));
-		connect(ScQApp->dlManager(), SIGNAL(fileFailed(const QString&)), this, SLOT(updateProgressBar()));
+		connect(ScQApp->dlManager(), SIGNAL(fileReceived(QString)), this, SLOT(updateProgressBar()));
+		connect(ScQApp->dlManager(), SIGNAL(fileFailed(QString)), this, SLOT(updateProgressBar()));
 		ScQApp->dlManager()->startDownloads();
 	}
 }

Modified: trunk/Scribus/scribus/ui/prefs_tableofcontents.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/prefs_tableofcontents.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_tableofcontents.cpp	(original)
+++ trunk/Scribus/scribus/ui/prefs_tableofcontents.cpp	Mon Feb  7 23:05:49 2022
@@ -38,7 +38,7 @@
 	connect( itemDestFrameComboBox, SIGNAL(currentTextChanged(QString)), this, SLOT(itemFrameSelected(QString)));
 	connect( itemParagraphStyleComboBox, SIGNAL(currentTextChanged(QString)), this, SLOT(itemParagraphStyleSelected(QString)));
 	connect( itemNumberPlacementComboBox, SIGNAL(currentTextChanged(QString)), this, SLOT(itemPageNumberPlacedSelected(QString)));
-	connect( tocNameLineEdit, SIGNAL(textChanged(QString)), this, SLOT( setToCName(const QString&)));
+	connect( tocNameLineEdit, SIGNAL(textChanged(QString)), this, SLOT( setToCName(QString)));
 	connect( itemListNonPrintingCheckBox, SIGNAL( toggled(bool) ), this, SLOT( nonPrintingFramesSelected(bool)));
 
 	itemAttrComboBox->setEnabled(false);

Modified: trunk/Scribus/scribus/ui/printdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/printdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/printdialog.cpp	(original)
+++ trunk/Scribus/scribus/ui/printdialog.cpp	Mon Feb  7 23:05:49 2022
@@ -143,8 +143,8 @@
 	// signals and slots connections
 	connect( okButton, SIGNAL( clicked() ), this, SLOT( okButtonClicked() ) );
 	connect( cancelButton, SIGNAL( clicked() ), this, SLOT( reject() ) );
-	connect( PrintDest, SIGNAL(activated(const QString&)), this, SLOT(selectPrinter(const QString&)));
-	connect( printLanguages, SIGNAL(activated(const QString&)), this, SLOT(selectPrintLanguage(const QString&)));
+	connect( PrintDest, SIGNAL(textActivated(QString)), this, SLOT(selectPrinter(QString)));
+	connect( printLanguages, SIGNAL(textActivated(QString)), this, SLOT(selectPrintLanguage(QString)));
 	connect( printAllRadio, SIGNAL(toggled(bool)), this, SLOT(selectRange(bool)));
 	connect( printCurrentRadio, SIGNAL(toggled(bool)), this, SLOT(selectRange(bool)));
 	connect( pageNrButton, SIGNAL(clicked()), this, SLOT(createPageNumberRange()));

Modified: trunk/Scribus/scribus/ui/propertiespalette_image.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/propertiespalette_image.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_image.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_image.cpp	Mon Feb  7 23:05:49 2022
@@ -102,7 +102,7 @@
 	connect(cbProportional     , SIGNAL(stateChanged(int))   , this, SLOT(handleScaling()));
 	connect(imgEffectsButton   , SIGNAL(clicked())           , this, SLOT(handleImageEffects()));
 	connect(imgExtProperties   , SIGNAL(clicked())           , this, SLOT(handleExtImgProperties()));
-	connect(inputProfiles      , SIGNAL(textActivated(const QString&)), this, SLOT(handleProfile(const QString&)));
+	connect(inputProfiles      , SIGNAL(textActivated(QString)), this, SLOT(handleProfile(QString)));
 	connect(renderIntent       , SIGNAL(activated(int))      , this, SLOT(handleIntent()));
 	connect(compressionMethod  , SIGNAL(activated(int))      , this, SLOT(handleCompressionMethod()));
 	connect(compressionQuality , SIGNAL(activated(int))      , this, SLOT(handleCompressionQuality()));

Modified: trunk/Scribus/scribus/ui/propertiespalette_table.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/propertiespalette_table.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_table.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_table.cpp	Mon Feb  7 23:05:49 2022
@@ -43,8 +43,8 @@
 
 	connect(ScQApp, SIGNAL(iconSetChanged()), this, SLOT(iconSetChange()));
 
-	connect(tableStyleCombo, SIGNAL(newStyle(const QString&)), this, SLOT(setTableStyle(const QString&)));
-	connect(cellStyleCombo, SIGNAL(newStyle(const QString&)), this, SLOT(setCellStyle(const QString&)));
+	connect(tableStyleCombo, SIGNAL(newStyle(QString)), this, SLOT(setTableStyle(QString)));
+	connect(cellStyleCombo, SIGNAL(newStyle(QString)), this, SLOT(setCellStyle(QString)));
 }
 
 void PropertiesPalette_Table::iconSetChange()

Modified: trunk/Scribus/scribus/ui/propertiespalette_text.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/propertiespalette_text.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_text.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_text.cpp	Mon Feb  7 23:05:49 2022
@@ -132,8 +132,8 @@
 
 	connect(m_ScMW, SIGNAL(UpdateRequest(int))     , this  , SLOT(handleUpdateRequest(int)));
 
-	connect(paraStyleCombo, SIGNAL(newStyle(const QString&)), m_ScMW, SLOT(setNewParStyle(const QString&)), Qt::UniqueConnection);
-	connect(charStyleCombo, SIGNAL(newStyle(const QString&)), m_ScMW, SLOT(setNewCharStyle(const QString&)), Qt::UniqueConnection);
+	connect(paraStyleCombo, SIGNAL(newStyle(QString)), m_ScMW, SLOT(setNewParStyle(QString)), Qt::UniqueConnection);
+	connect(charStyleCombo, SIGNAL(newStyle(QString)), m_ScMW, SLOT(setNewCharStyle(QString)), Qt::UniqueConnection);
 }
 
 void PropertiesPalette_Text::setDoc(ScribusDoc *d)

Modified: trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertywidget_hyphenation.cpp	Mon Feb  7 23:05:49 2022
@@ -149,14 +149,14 @@
 {
 	connect(smallestWordSpinBox,        SIGNAL(valueChanged(int)), this, SLOT(handleWordMin(int)));
 	connect(maxConsecutiveCountSpinBox, SIGNAL(valueChanged(int)), this, SLOT(handleConsecutiveLines(int)));
-	connect(hyphenCharLineEdit,         SIGNAL(textChanged(const QString&)), this, SLOT(handleHyphenChar(const QString&)));
+	connect(hyphenCharLineEdit,         SIGNAL(textChanged(QString)), this, SLOT(handleHyphenChar(QString)));
 }
 
 void PropertyWidget_Hyphenation::disconnectSignals()
 {
 	disconnect(smallestWordSpinBox,        SIGNAL(valueChanged(int)), this, SLOT(handleWordMin(int)));
 	disconnect(maxConsecutiveCountSpinBox, SIGNAL(valueChanged(int)), this, SLOT(handleConsecutiveLines(int)));
-	disconnect(hyphenCharLineEdit,         SIGNAL(textChanged(const QString&)), this, SLOT(handleHyphenChar(const QString&)));
+	disconnect(hyphenCharLineEdit,         SIGNAL(textChanged(QString)), this, SLOT(handleHyphenChar(QString)));
 }
 
 void PropertyWidget_Hyphenation::configureWidgets()

Modified: trunk/Scribus/scribus/ui/resourcemanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/resourcemanager.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/resourcemanager.cpp	(original)
+++ trunk/Scribus/scribus/ui/resourcemanager.cpp	Mon Feb  7 23:05:49 2022
@@ -952,8 +952,8 @@
 void ResourceManager::downloadListFinished()
 {
 	disconnect(ScQApp->dlManager(), SIGNAL(finished()), this, SLOT(downloadListFinished()));
-	disconnect(ScQApp->dlManager(), SIGNAL(fileReceived(const QString&)), this, SLOT(updateProgressBar()));
-	disconnect(ScQApp->dlManager(), SIGNAL(fileFailed(const QString&)), this, SLOT(updateProgressBar()));
+	disconnect(ScQApp->dlManager(), SIGNAL(fileReceived(QString)), this, SLOT(updateProgressBar()));
+	disconnect(ScQApp->dlManager(), SIGNAL(fileFailed(QString)), this, SLOT(updateProgressBar()));
 	disconnect(ScQApp->dlManager(), SIGNAL(fileDownloadProgress(qint64, qint64)), this, SLOT(updateProgressData(qint64, qint64)));
 
 	int category = categoryComboBox->currentData().toInt();
@@ -1005,8 +1005,8 @@
 void ResourceManager::downloadFilesFinished()
 {
 	disconnect(ScQApp->dlManager(), SIGNAL(finished()), this, SLOT(downloadFilesFinished()));
-	disconnect(ScQApp->dlManager(), SIGNAL(fileReceived(const QString&)), this, SLOT(updateProgressBar()));
-	disconnect(ScQApp->dlManager(), SIGNAL(fileFailed(const QString&)), this, SLOT(updateProgressBar()));
+	disconnect(ScQApp->dlManager(), SIGNAL(fileReceived(QString)), this, SLOT(updateProgressBar()));
+	disconnect(ScQApp->dlManager(), SIGNAL(fileFailed(QString)), this, SLOT(updateProgressBar()));
 	disconnect(ScQApp->dlManager(), SIGNAL(fileDownloadProgress(qint64, qint64)), this, SLOT(updateProgressData(qint64, qint64)));
 
 	downloadProgressBar->setValue(0);
@@ -1155,7 +1155,7 @@
 
 void ResourceManager::downloadLicenseFileFinished(const QString &licenceFileName)
 {
-	disconnect(ScQApp->dlManager(), SIGNAL(fileReceived(const QString&)), this, SLOT(downloadLicenseFileFinished(const QString&)));
+	disconnect(ScQApp->dlManager(), SIGNAL(fileReceived(QString)), this, SLOT(downloadLicenseFileFinished(QString)));
 	QFile dataFile(licenceFileName);
 	QTextStream ts(&dataFile);
 	QString data;
@@ -1176,7 +1176,7 @@
 
 void ResourceManager::downloadLicenseFileFailed(const QString&)
 {
-	disconnect(ScQApp->dlManager(), SIGNAL(fileFailed(const QString&)), this, SLOT(downloadLicenseFileFailed(const QString&)));
+	disconnect(ScQApp->dlManager(), SIGNAL(fileFailed(QString)), this, SLOT(downloadLicenseFileFailed(QString)));
 	QMessageBox msgBox;
 	msgBox.setText("The license file failed to download");
 	msgBox.setStandardButtons(QMessageBox::Ok);

Modified: trunk/Scribus/scribus/ui/scrspinbox.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/scrspinbox.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/scrspinbox.cpp	(original)
+++ trunk/Scribus/scribus/ui/scrspinbox.cpp	Mon Feb  7 23:05:49 2022
@@ -46,8 +46,8 @@
 	setSingleStep(1.0);
 	lineEdit()->setValidator(nullptr);
 // just for testing
-//	disconnect(this, SIGNAL(textChanged(const QString &)), this, SLOT(textChanged()));
-//	connect(this, SIGNAL(textChanged(const QString &)), this, SLOT(textChanged()));
+//	disconnect(this, SIGNAL(textChanged(QString)), this, SLOT(textChanged()));
+//	connect(this, SIGNAL(textChanged(QString)), this, SLOT(textChanged()));
 	installEventFilter(this);
 }
 

Modified: trunk/Scribus/scribus/ui/smcellstyle.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/smcellstyle.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smcellstyle.cpp	(original)
+++ trunk/Scribus/scribus/ui/smcellstyle.cpp	Mon Feb  7 23:05:49 2022
@@ -429,9 +429,9 @@
 {
 	if (!m_page)
 		return;
-	disconnect(m_page->fillColor, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotFillColor()));
+	disconnect(m_page->fillColor, SIGNAL(currentTextChanged(QString)), this, SLOT(slotFillColor()));
 	disconnect(m_page->fillShade, SIGNAL(clicked()), this, SLOT(slotFillShade()));
-	disconnect(m_page->parentCombo, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotParentChanged(const QString&)));
+	disconnect(m_page->parentCombo, SIGNAL(currentTextChanged(QString)), this, SLOT(slotParentChanged(QString)));
 }
 
 void SMCellStyle::slotFillColor()

Modified: trunk/Scribus/scribus/ui/smlinestyle.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/smlinestyle.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smlinestyle.cpp	(original)
+++ trunk/Scribus/scribus/ui/smlinestyle.cpp	Mon Feb  7 23:05:49 2022
@@ -427,7 +427,7 @@
 	disconnect(m_widget->removeButton, SIGNAL(clicked()), this, SLOT(slotDeleteLine()));
 	disconnect(m_widget->endCombo, SIGNAL(activated(int)), this, SLOT(slotSetEnd(int)));
 	disconnect(m_widget->joinCombo, SIGNAL(activated(int)), this, SLOT(slotSetJoin(int)));
-	disconnect(m_widget->colorCombo, SIGNAL(activated(const QString&)), this, SLOT(slotColor(const QString&)));
+	disconnect(m_widget->colorCombo, SIGNAL(textActivated(QString)), this, SLOT(slotColor(QString)));
 	disconnect(m_widget->dashCombo, SIGNAL(activated(int)), this, SLOT(slotLineStyle(int)));
 	disconnect(m_widget->shadeBox, SIGNAL(valueChanged(int)), this, SLOT(slotShade(int)));
 	disconnect(m_widget->lineWidth, SIGNAL(valueChanged(double)), this, SLOT(slotLineWidth()));

Modified: trunk/Scribus/scribus/ui/smtablestyle.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/smtablestyle.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smtablestyle.cpp	(original)
+++ trunk/Scribus/scribus/ui/smtablestyle.cpp	Mon Feb  7 23:05:49 2022
@@ -431,9 +431,9 @@
 {
 	if (!m_page)
 		return;
-	disconnect(m_page->fillColor, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotFillColor()));
+	disconnect(m_page->fillColor, SIGNAL(currentTextChanged(QString)), this, SLOT(slotFillColor()));
 	disconnect(m_page->fillShade, SIGNAL(clicked()), this, SLOT(slotFillShade()));
-	disconnect(m_page->parentCombo, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotParentChanged(const QString&)));
+	disconnect(m_page->parentCombo, SIGNAL(currentTextChanged(QString)), this, SLOT(slotParentChanged(QString)));
 }
 
 void SMTableStyle::slotFillColor()

Modified: trunk/Scribus/scribus/ui/smtextstyles.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/smtextstyles.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smtextstyles.cpp	(original)
+++ trunk/Scribus/scribus/ui/smtextstyles.cpp	Mon Feb  7 23:05:49 2022
@@ -631,7 +631,7 @@
 	disconnect(m_pwidget->numNewLineEdit, SIGNAL(editingFinished()), this, SLOT(slotNumNew()));
 	disconnect(m_pwidget->numNewLineEdit, SIGNAL(textChanged(QString)), this, SLOT(slotSelectionDirty()));
 	
-	disconnect(m_pwidget->parentCombo, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotParentChanged(const QString&)));
+	disconnect(m_pwidget->parentCombo, SIGNAL(currentTextChanged(QString)), this, SLOT(slotParentChanged(QString)));
 
 	disconnect(m_pwidget->keepLinesStart, SIGNAL(valueChanged(int)), this, SLOT(handleKeepLinesStart()));
 	disconnect(m_pwidget->keepLinesEnd, SIGNAL(valueChanged(int)), this, SLOT(handleKeepLinesEnd()));
@@ -642,7 +642,7 @@
 	disconnect(m_pwidget->tabList->leftIndentSpin, SIGNAL(valueChanged(double)), this, SLOT(slotLeftIndent()));
 	disconnect(m_pwidget->tabList->rightIndentSpin, SIGNAL(valueChanged(double)), this, SLOT(slotRightIndent()));
 	disconnect(m_pwidget->tabList->firstLineSpin, SIGNAL(valueChanged(double)), this, SLOT(slotFirstLine()));
-	disconnect(m_pwidget->backColor_, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotBackPColor()));
+	disconnect(m_pwidget->backColor_, SIGNAL(currentTextChanged(QString)), this, SLOT(slotBackPColor()));
 	disconnect(m_pwidget->backShade_, SIGNAL(clicked()), this, SLOT(slotBackPShade()));
 
 	disconnect(m_pwidget->cpage->fontFace_, SIGNAL(fontSelected(QString)), this, SLOT(slotFont(QString)));
@@ -654,9 +654,9 @@
 	disconnect(m_pwidget->cpage->effects_->UnderlineVal->LWidth, SIGNAL(valueChanged(double)), this, SLOT(slotEffectProperties()));
 	disconnect(m_pwidget->cpage->effects_->StrikeVal->LPos, SIGNAL(valueChanged(double)), this, SLOT(slotEffectProperties()));
 	disconnect(m_pwidget->cpage->effects_->StrikeVal->LWidth, SIGNAL(valueChanged(double)), this, SLOT(slotEffectProperties()));
-	disconnect(m_pwidget->cpage->fillColor_, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotFillColor()));
+	disconnect(m_pwidget->cpage->fillColor_, SIGNAL(currentTextChanged(QString)), this, SLOT(slotFillColor()));
 	disconnect(m_pwidget->cpage->fillShade_, SIGNAL(clicked()), this, SLOT(slotFillShade()));
-	disconnect(m_pwidget->cpage->strokeColor_, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotStrokeColor()));
+	disconnect(m_pwidget->cpage->strokeColor_, SIGNAL(currentTextChanged(QString)), this, SLOT(slotStrokeColor()));
 	disconnect(m_pwidget->cpage->strokeShade_, SIGNAL(clicked()), this, SLOT(slotStrokeShade()));
 	disconnect(m_pwidget->cpage->language_, SIGNAL(activated(int)), this, SLOT(slotLanguage()));
 	disconnect(m_pwidget->cpage->fontSize_, SIGNAL(valueChanged(double)), this, SLOT(slotFontSize()));
@@ -665,8 +665,8 @@
 	disconnect(m_pwidget->cpage->tracking_, SIGNAL(valueChanged(double)), this, SLOT(slotTracking()));
 	disconnect(m_pwidget->cpage->widthSpaceSpin, SIGNAL(valueChanged(double)), this, SLOT(slotWordTracking()));
 	disconnect(m_pwidget->cpage->baselineOffset_, SIGNAL(valueChanged(double)), this, SLOT(slotBaselineOffset()));
-	disconnect(m_pwidget->cpage->parentCombo, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotCharParentChanged(const QString&)));
-	disconnect(m_pwidget->cpage->backColor_, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotBackColor()));
+	disconnect(m_pwidget->cpage->parentCombo, SIGNAL(currentTextChanged(QString)), this, SLOT(slotCharParentChanged(QString)));
+	disconnect(m_pwidget->cpage->backColor_, SIGNAL(currentTextChanged(QString)), this, SLOT(slotBackColor()));
 	disconnect(m_pwidget->cpage->backShade_, SIGNAL(clicked()), this, SLOT(slotBackShade()));
 	disconnect(m_pwidget->cpage->fontfeaturesSetting, SIGNAL(changed()), this, SLOT(slotFontFeatures()));
 	disconnect(m_pwidget->cpage->hyphenCharLineEdit, SIGNAL(textChanged(QString)), this, SLOT(slotHyphenChar()));
@@ -2313,9 +2313,9 @@
 	disconnect(m_page->effects_->UnderlineVal->LWidth, SIGNAL(valueChanged(double)), this, SLOT(slotEffectProperties()));
 	disconnect(m_page->effects_->StrikeVal->LPos, SIGNAL(valueChanged(double)), this, SLOT(slotEffectProperties()));
 	disconnect(m_page->effects_->StrikeVal->LWidth, SIGNAL(valueChanged(double)), this, SLOT(slotEffectProperties()));
-	disconnect(m_page->fillColor_, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotFillColor()));
+	disconnect(m_page->fillColor_, SIGNAL(currentTextChanged(QString)), this, SLOT(slotFillColor()));
 	disconnect(m_page->fillShade_, SIGNAL(clicked()), this, SLOT(slotFillShade()));
-	disconnect(m_page->strokeColor_, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotStrokeColor()));
+	disconnect(m_page->strokeColor_, SIGNAL(currentTextChanged(QString)), this, SLOT(slotStrokeColor()));
 	disconnect(m_page->strokeShade_, SIGNAL(clicked()), this, SLOT(slotStrokeShade()));
 	disconnect(m_page->language_, SIGNAL(activated(int)), this, SLOT(slotLanguage()));
 	disconnect(m_page->fontSize_, SIGNAL(valueChanged(double)), this, SLOT(slotFontSize()));
@@ -2324,8 +2324,8 @@
 	disconnect(m_page->tracking_, SIGNAL(valueChanged(double)), this, SLOT(slotTracking()));
 	disconnect(m_page->widthSpaceSpin, SIGNAL(valueChanged(double)), this, SLOT(slotWordTracking()));
 	disconnect(m_page->baselineOffset_, SIGNAL(valueChanged(double)), this, SLOT(slotBaselineOffset()));
-	disconnect(m_page->parentCombo, SIGNAL(currentTextChanged(const QString&)),  this, SLOT(slotParentChanged(const QString&)));
-	disconnect(m_page->backColor_, SIGNAL(currentTextChanged(const QString&)), this, SLOT(slotBackColor()));
+	disconnect(m_page->parentCombo, SIGNAL(currentTextChanged(QString)),  this, SLOT(slotParentChanged(QString)));
+	disconnect(m_page->backColor_, SIGNAL(currentTextChanged(QString)), this, SLOT(slotBackColor()));
 	disconnect(m_page->backShade_, SIGNAL(clicked()), this, SLOT(slotBackShade()));
 	disconnect(m_page->fontfeaturesSetting, SIGNAL(changed()), this, SLOT(slotFontFeatures()));
 	disconnect(m_page->smallestWordSpinBox, SIGNAL(valueChanged(int)), this, SLOT(slotSmallestWord()));

Modified: trunk/Scribus/scribus/ui/storyeditor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/storyeditor.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/storyeditor.cpp	(original)
+++ trunk/Scribus/scribus/ui/storyeditor.cpp	Mon Feb  7 23:05:49 2022
@@ -157,7 +157,7 @@
 			styleName = m_editor->StyledText.paragraphStyle(pos).parent(); //FIXME ParaStyleComboBox and use localized style name
 	}
 	paraStyleCombo->setStyle(styleName);
-	connect(paraStyleCombo, SIGNAL(newStyle(const QString&)), this, SLOT(setPStyle(const QString&)));
+	connect(paraStyleCombo, SIGNAL(newStyle(QString)), this, SLOT(setPStyle(QString)));
 	
 	paraStyleAct = new QWidgetAction(pmen);
 	paraStyleAct->setDefaultWidget(paraStyleCombo);
@@ -1427,7 +1427,7 @@
 	paraStyleCombo = new ParaStyleComboBox(this);
 	paraStyleComboAction=addWidget(paraStyleCombo);
 	paraStyleComboAction->setVisible(true);
-	connect(paraStyleCombo, SIGNAL(newStyle(const QString&)), this, SIGNAL(newParaStyle(const QString& )));
+	connect(paraStyleCombo, SIGNAL(newStyle(QString)), this, SIGNAL(newParaStyle(QString )));
 	connect(GroupAlign, SIGNAL(State(int)), this, SIGNAL(newAlign(int )));
 	connect(GroupDirection, SIGNAL(State(int)), this, SIGNAL(newDirection(int )));
 
@@ -1512,7 +1512,7 @@
 
 	connect(charScaleH, SIGNAL(valueChanged(double)), this, SIGNAL(newScaleH(double)));
 	connect(charScaleV, SIGNAL(valueChanged(double)), this, SIGNAL(newScaleV(double)));
-	connect(Fonts, SIGNAL(textActivated(const QString &)), this, SIGNAL(newFont(const QString &)));
+	connect(Fonts, SIGNAL(textActivated(QString)), this, SIGNAL(newFont(QString)));
 	connect(Size, SIGNAL(valueChanged(double)), this, SIGNAL(newSize(double)));
 
 	languageChange();
@@ -2104,15 +2104,15 @@
 	Editor->SuspendContentsChange = 0;
 	// 10/12/2004 - pv - #1203: wrong selection on double click
 //	connect(Editor, SIGNAL(doubleClicked(int, int)), this, SLOT(doubleClick(int, int)));
-	connect(EditorBar, SIGNAL(ChangeStyle(int, const QString&)), this, SLOT(changeStyleSB(int, const QString&)));
+	connect(EditorBar, SIGNAL(ChangeStyle(int, QString)), this, SLOT(changeStyleSB(int, QString)));
 //	connect(EditorBar, SIGNAL(sigEditStyles()), this, SLOT(slotEditStyles()));
-	connect(AlignTools, SIGNAL(newParaStyle(const QString&)), this, SLOT(newStyle(const QString&)));
+	connect(AlignTools, SIGNAL(newParaStyle(QString)), this, SLOT(newStyle(QString)));
 	connect(AlignTools, SIGNAL(newAlign(int)), this, SLOT(newAlign(int)));
 	connect(AlignTools, SIGNAL(newDirection(int)), this, SLOT(newDirection(int)));
 	connect(FillTools, SIGNAL(NewColor(int,int)), this, SLOT(newTxFill(int,int)));
 	connect(StrokeTools, SIGNAL(NewColor(int,int)), this, SLOT(newTxStroke(int,int)));
 	connect(FontTools, SIGNAL(newSize(double)), this, SLOT(newTxSize(double)));
-	connect(FontTools, SIGNAL(newFont(const QString&)), this, SLOT(newTxFont(const QString&)));
+	connect(FontTools, SIGNAL(newFont(QString)), this, SLOT(newTxFont(QString)));
 	connect(FontTools, SIGNAL(newScaleH(double)), this, SLOT(newTxScale()));
 	connect(FontTools, SIGNAL(newScaleV(double)), this, SLOT(newTxScaleV()));
 	connect(StyleTools, SIGNAL(NewKern(double)), this, SLOT(newTxKern(double)));

Modified: trunk/Scribus/scribus/ui/stylemanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/stylemanager.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/stylemanager.cpp	(original)
+++ trunk/Scribus/scribus/ui/stylemanager.cpp	Mon Feb  7 23:05:49 2022
@@ -1024,8 +1024,7 @@
 	{
 		m_shortcutWidget = new ShortcutWidget(nullptr);
 		m_shortcutWidget->setAllowedModifiers(Qt::META|Qt::CTRL|Qt::SHIFT|Qt::ALT,0);
-		connect(m_shortcutWidget, SIGNAL(newKey(const QString&)),
-				this, SLOT(slotShortcutChanged(const QString&)));
+		connect(m_shortcutWidget, SIGNAL(newKey(QString)), this, SLOT(slotShortcutChanged(QString)));
 	}
 	twidget->addTab(m_shortcutWidget, tr("Shortcut"));
 }
@@ -1182,7 +1181,7 @@
 	else if (m_widget && !m_widget->isEnabled())
 		m_widget->setEnabled(true);
 
-	disconnect(nameEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slotNameChanged(const QString&)));
+	disconnect(nameEdit, SIGNAL(textChanged(QString)), this, SLOT(slotNameChanged(QString)));
 	if (!typeName.isEmpty())
 	{
 		m_item->selected(selection.second);
@@ -1214,7 +1213,7 @@
 		nameEdit->setEnabled(false);
 	}
 
-	connect(nameEdit, SIGNAL(textChanged(const QString&)), this, SLOT(slotNameChanged(const QString&)));
+	connect(nameEdit, SIGNAL(textChanged(QString)), this, SLOT(slotNameChanged(QString)));
 
 }
 

Modified: trunk/Scribus/scribus/ui/transparencypalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/transparencypalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/transparencypalette.cpp	(original)
+++ trunk/Scribus/scribus/ui/transparencypalette.cpp	Mon Feb  7 23:05:49 2022
@@ -48,7 +48,7 @@
 	connect(fillOpacity, SIGNAL(valueChanged(double)), this, SLOT(slotTransF(double)));
 	connect(blendModeFill, SIGNAL(activated(int)), this, SIGNAL(NewBlend(int)));
 	connect(blendModeStroke, SIGNAL(activated(int)), this, SIGNAL(NewBlendS(int)));
-	connect(namedGradient, SIGNAL(textActivated(const QString &)), this, SLOT(setNamedGradient(const QString &)));
+	connect(namedGradient, SIGNAL(textActivated(QString)), this, SLOT(setNamedGradient(QString)));
 	connect(gradEdit, SIGNAL(gradientChanged()), this, SIGNAL(gradientChanged()));
 	connect(gradEditButton, SIGNAL(clicked()), this, SLOT(editGradientVector()));
 	connect(TGradDia, SIGNAL(NewSpecial(double,double,double,double,double,double,double,double,double,double)), this, SIGNAL(NewSpecial(double,double,double,double,double,double,double,double,double,double)));
@@ -65,7 +65,7 @@
 void TransparencyPalette::connectSignals()
 {
 	connect(gradEdit, SIGNAL(gradientChanged()), this, SIGNAL(gradientChanged()));
-	connect(namedGradient, SIGNAL(textActivated(const QString &)), this, SLOT(setNamedGradient(const QString &)));
+	connect(namedGradient, SIGNAL(textActivated(QString)), this, SLOT(setNamedGradient(QString)));
 	connect(tabWidget, SIGNAL(currentChanged(int)), this, SLOT(slotGrad(int)));
 	connect(gradientType, SIGNAL(activated(int)), this, SLOT(slotGradType(int)));
 	connect(transpCalcGradient, SIGNAL(clicked()), this, SLOT(switchGradientMode()));
@@ -76,7 +76,7 @@
 void TransparencyPalette::disconnectSignals()
 {
 	disconnect(gradEdit, SIGNAL(gradientChanged()), this, SIGNAL(gradientChanged()));
-	disconnect(namedGradient, SIGNAL(textActivated(const QString &)), this, SLOT(setNamedGradient(const QString &)));
+	disconnect(namedGradient, SIGNAL(textActivated(QString)), this, SLOT(setNamedGradient(QString)));
 	disconnect(tabWidget, SIGNAL(currentChanged(int)), this, SLOT(slotGrad(int)));
 	disconnect(gradientType, SIGNAL(activated(int)), this, SLOT(slotGradType(int)));
 	disconnect(transpCalcGradient, SIGNAL(clicked()), this, SLOT(switchGradientMode()));
@@ -230,7 +230,7 @@
 
 void TransparencyPalette::updateGradientList()
 {
-	disconnect(namedGradient, SIGNAL(textActivated(const QString &)), this, SLOT(setNamedGradient(const QString &)));
+	disconnect(namedGradient, SIGNAL(textActivated(QString)), this, SLOT(setNamedGradient(QString)));
 	namedGradient->clear();
 	namedGradient->setIconSize(QSize(48, 12));
 	namedGradient->addItem( tr("Custom"));
@@ -257,7 +257,7 @@
 		pm = QPixmap::fromImage(pixm);
 		namedGradient->addItem(pm, patK[i]);
 	}
-	connect(namedGradient, SIGNAL(textActivated(const QString&)), this, SLOT(setNamedGradient(const QString&)));
+	connect(namedGradient, SIGNAL(textActivated(QString)), this, SLOT(setNamedGradient(QString)));
 }
 
 void TransparencyPalette::setGradients(QHash<QString, VGradient> *docGradients)
@@ -277,7 +277,7 @@
 {
 	if (number == 1)
 	{
-		disconnect(namedGradient, SIGNAL(textActivated(const QString &)), this, SLOT(setNamedGradient(const QString &)));
+		disconnect(namedGradient, SIGNAL(textActivated(QString)), this, SLOT(setNamedGradient(QString)));
 		if (!currentItem->gradientMask().isEmpty())
 		{
 			setCurrentComboItem(namedGradient, currentItem->gradientMask());
@@ -304,7 +304,7 @@
 			else
 				emit NewGradient(GradMask_Radial);
 		}
-		connect(namedGradient, SIGNAL(textActivated(const QString &)), this, SLOT(setNamedGradient(const QString &)));
+		connect(namedGradient, SIGNAL(textActivated(QString)), this, SLOT(setNamedGradient(QString)));
 	}
 	else if (number == 2)
 	{

Modified: trunk/Scribus/scribus/ui/unicodesearch.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24928&path=/trunk/Scribus/scribus/ui/unicodesearch.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/unicodesearch.cpp	(original)
+++ trunk/Scribus/scribus/ui/unicodesearch.cpp	Mon Feb  7 23:05:49 2022
@@ -58,10 +58,8 @@
 	{
 		QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
 		m_searchDialog = new UnicodeSearch();
-		connect(m_searchDialog, SIGNAL(setVisibleState(bool)),
-				 this, SLOT(setChecked(bool)));
-		connect(m_searchDialog, SIGNAL(glyphSelected(const QString &)),
-				 this, SLOT(glyphSelected(const QString &)));
+		connect(m_searchDialog, SIGNAL(setVisibleState(bool)), this, SLOT(setChecked(bool)));
+		connect(m_searchDialog, SIGNAL(glyphSelected(QString)), this, SLOT(glyphSelected(QString)));
 		QApplication::changeOverrideCursor(Qt::ArrowCursor);
 	}
 




More information about the scribus-commit mailing list