forked from qt-creator/qt-creator
Wizards: Use Qt5 style connect
... and do cleanups that are enabled by that change (e.g. remove signal/slot macros) Change-Id: I70c09ceb255398865c2b6fabf35ade8557116a08 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -62,7 +62,7 @@ CustomWidgetWizardDialog::CustomWidgetWizardDialog(const Core::BaseFileWizardFac
|
||||
m_pluginPageId = addPage(m_pluginPage);
|
||||
|
||||
addExtensionPages(extensionPages());
|
||||
connect(this, SIGNAL(currentIdChanged(int)), this, SLOT(slotCurrentIdChanged(int)));
|
||||
connect(this, &QWizard::currentIdChanged, this, &CustomWidgetWizardDialog::slotCurrentIdChanged);
|
||||
}
|
||||
|
||||
FileNamingParameters CustomWidgetWizardDialog::fileNamingParameters() const
|
||||
|
||||
@@ -58,10 +58,9 @@ public:
|
||||
FileNamingParameters fileNamingParameters() const;
|
||||
void setFileNamingParameters(const FileNamingParameters &fnp);
|
||||
|
||||
private slots:
|
||||
void slotCurrentIdChanged (int id);
|
||||
|
||||
private:
|
||||
void slotCurrentIdChanged(int id);
|
||||
|
||||
CustomWidgetWidgetsWizardPage *m_widgetsPage;
|
||||
CustomWidgetPluginWizardPage *m_pluginPage;
|
||||
int m_pluginPageId;
|
||||
|
||||
Reference in New Issue
Block a user