summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-01-08 21:13:07 +0100
committerLaurent Montel <[email protected]>2018-01-08 21:13:19 +0100
commit1edfcfe061add4e82e2418e0264c559ec810d192 (patch)
treeef84f1ae9519c38eea3d49b02862ead14955efd3
parentc24146405068392549929fc26973cfdceb8a5043 (diff)
Port to new connect api
-rw-r--r--src/conf/appearanceconfigpage.cpp2
-rw-r--r--src/conf/cryptooperationsconfigpage.cpp2
-rw-r--r--src/conf/gnupgsystemconfigurationpage.cpp2
-rw-r--r--src/conf/smimevalidationconfigurationpage.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/conf/appearanceconfigpage.cpp b/src/conf/appearanceconfigpage.cpp
index a0e0364..a14f53d 100644
--- a/src/conf/appearanceconfigpage.cpp
+++ b/src/conf/appearanceconfigpage.cpp
@@ -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();
}
diff --git a/src/conf/cryptooperationsconfigpage.cpp b/src/conf/cryptooperationsconfigpage.cpp
index 14e328a..039b1c7 100644
--- a/src/conf/cryptooperationsconfigpage.cpp
+++ b/src/conf/cryptooperationsconfigpage.cpp
@@ -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();
}
diff --git a/src/conf/gnupgsystemconfigurationpage.cpp b/src/conf/gnupgsystemconfigurationpage.cpp
index 8d5ceec..b03da07 100644
--- a/src/conf/gnupgsystemconfigurationpage.cpp
+++ b/src/conf/gnupgsystemconfigurationpage.cpp
@@ -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();
}
diff --git a/src/conf/smimevalidationconfigurationpage.cpp b/src/conf/smimevalidationconfigurationpage.cpp
index 4127461..22ca8c1 100644
--- a/src/conf/smimevalidationconfigurationpage.cpp
+++ b/src/conf/smimevalidationconfigurationpage.cpp
@@ -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();
}