r24929 by jghali - Qt6: fix some signal/slot connections
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 7 23:19:02 UTC 2022
Author: jghali
Date: Mon Feb 7 23:19:01 2022
New Revision: 24929
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24929
Log:
Qt6: fix some signal/slot connections
Modified:
trunk/Scribus/scribus/ui/inspage.cpp
trunk/Scribus/scribus/ui/pagepropertiesdialog.cpp
trunk/Scribus/scribus/ui/smlinestyle.cpp
trunk/Scribus/scribus/ui/useprintermarginsdialog.cpp
Modified: trunk/Scribus/scribus/ui/inspage.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24929&path=/trunk/Scribus/scribus/ui/inspage.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/inspage.cpp (original)
+++ trunk/Scribus/scribus/ui/inspage.cpp Mon Feb 7 23:19:01 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(QString)), this, SLOT(setSize(QString)));
+ connect(sizeQComboBox, SIGNAL(textActivated(QString)), this, SLOT(setSize(QString)));
connect(overrideMPSizingCheckBox, SIGNAL(stateChanged(int)), this, SLOT(enableSizingControls(int)));
}
Modified: trunk/Scribus/scribus/ui/pagepropertiesdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24929&path=/trunk/Scribus/scribus/ui/pagepropertiesdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pagepropertiesdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/pagepropertiesdialog.cpp Mon Feb 7 23:19:01 2022
@@ -170,7 +170,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(QString)), this, SLOT(setPageSize()));
+ connect(sizeQComboBox, SIGNAL(textActivated(QString)), this, SLOT(setPageSize()));
connect(widthSpinBox, SIGNAL(valueChanged(double)), this, SLOT(setPageWidth(double)));
connect(heightSpinBox, SIGNAL(valueChanged(double)), this, SLOT(setPageHeight(double)));
Modified: trunk/Scribus/scribus/ui/smlinestyle.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24929&path=/trunk/Scribus/scribus/ui/smlinestyle.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smlinestyle.cpp (original)
+++ trunk/Scribus/scribus/ui/smlinestyle.cpp Mon Feb 7 23:19:01 2022
@@ -415,7 +415,7 @@
connect(m_widget->removeButton, SIGNAL(clicked()), this, SLOT(slotDeleteLine()));
connect(m_widget->endCombo, SIGNAL(activated(int)), this, SLOT(slotSetEnd(int)));
connect(m_widget->joinCombo, SIGNAL(activated(int)), this, SLOT(slotSetJoin(int)));
- connect(m_widget->colorCombo, SIGNAL(activated(QString)), this, SLOT(slotColor(QString)));
+ connect(m_widget->colorCombo, SIGNAL(textActivated(QString)), this, SLOT(slotColor(QString)));
connect(m_widget->dashCombo, SIGNAL(activated(int)), this, SLOT(slotLineStyle(int)));
connect(m_widget->shadeBox, SIGNAL(valueChanged(int)), this, SLOT(slotShade(int)));
connect(m_widget->lineWidth, SIGNAL(valueChanged(double)), this, SLOT(slotLineWidth()));
Modified: trunk/Scribus/scribus/ui/useprintermarginsdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24929&path=/trunk/Scribus/scribus/ui/useprintermarginsdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/useprintermarginsdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/useprintermarginsdialog.cpp Mon Feb 7 23:19:01 2022
@@ -45,7 +45,7 @@
printerComboBox->insertItems(0, printerNames);
getPrinterMarginValues(printerNames.first());
marginsGroupBox->setTitle( tr("Minimum Margins for Page Size %1").arg(pageSizeName));
- connect(printerComboBox, SIGNAL(activated(QString)), this, SLOT(getPrinterMarginValues(QString)));
+ connect(printerComboBox, SIGNAL(textActivated(QString)), this, SLOT(getPrinterMarginValues(QString)));
}
connect(okButton, SIGNAL(clicked()), this, SLOT(accept()));
More information about the scribus-commit
mailing list