Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1edfcfe0 authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent c2414640
......@@ -49,7 +49,7 @@ AppearanceConfigurationPage::AppearanceConfigurationPage(QWidget *parent, const
QVBoxLayout *lay = new QVBoxLayout(this);
mWidget = new AppearanceConfigWidget(this);
lay->addWidget(mWidget);
connect(mWidget, SIGNAL(changed()), this, SLOT(changed()));
connect(mWidget, &AppearanceConfigWidget::changed, this, QOverload<>::of(&KCModule::changed));
load();
}
......
......@@ -48,7 +48,7 @@ CryptoOperationsConfigurationPage::CryptoOperationsConfigurationPage(QWidget *pa
lay->setMargin(0);
mWidget = new CryptoOperationsConfigWidget(this);
lay->addWidget(mWidget);
connect(mWidget, SIGNAL(changed()), this, SLOT(changed()));
connect(mWidget, &CryptoOperationsConfigWidget::changed, this, QOverload<>::of(&KCModule::changed));
load();
}
......
......@@ -55,7 +55,7 @@ GnuPGSystemConfigurationPage::GnuPGSystemConfigurationPage(QWidget *parent, cons
this);
lay->addWidget(mWidget);
connect(mWidget, SIGNAL(changed()), this, SLOT(changed()));
connect(mWidget, &CryptoConfigModule::changed, this, QOverload<>::of(&KCModule::changed));
load();
}
......
......@@ -49,7 +49,7 @@ SMimeValidationConfigurationPage::SMimeValidationConfigurationPage(QWidget *pare
mWidget = new SMimeValidationConfigurationWidget(this);
lay->addWidget(mWidget);
connect(mWidget, SIGNAL(changed()), this, SLOT(changed()));
connect(mWidget, &SMimeValidationConfigurationWidget::changed, this, QOverload<>::of(&KCModule::changed));
load();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment