Verified Commit 0400fac2 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Remove obsolete create_* methods

parent aa59250b
......@@ -45,15 +45,3 @@ void AppearanceConfigurationPage::defaults()
{
mWidget->defaults();
}
extern "C"
{
Q_DECL_EXPORT KCModule *create_kleopatra_config_appear(QWidget *parent = nullptr, const QVariantList &args = QVariantList())
{
auto page =
new AppearanceConfigurationPage(parent, args);
page->setObjectName(QStringLiteral("kleopatra_config_appear"));
return page;
}
}
......@@ -44,15 +44,3 @@ void CryptoOperationsConfigurationPage::defaults()
{
mWidget->defaults();
}
extern "C"
{
Q_DECL_EXPORT KCModule *create_kleopatra_config_cryptooperations(QWidget *parent = nullptr, const QVariantList &args = QVariantList())
{
auto page =
new CryptoOperationsConfigurationPage(parent, args);
page->setObjectName(QStringLiteral("kleopatra_config_cryptooperations"));
return page;
}
}
......@@ -379,17 +379,6 @@ void DirectoryServicesConfigurationPage::defaults()
load();
}
extern "C"
{
Q_DECL_EXPORT KCModule *create_kleopatra_config_dirserv(QWidget *parent = nullptr, const QVariantList &args = QVariantList())
{
auto page =
new DirectoryServicesConfigurationPage(parent, args);
page->setObjectName(QStringLiteral("kleopatra_config_dirserv"));
return page;
}
}
// Find config entry for ldap servers. Implements runtime checks on the configuration option.
CryptoConfigEntry *DirectoryServicesConfigurationPage::configEntry(const char *componentName,
const char *entryName,
......
......@@ -65,12 +65,3 @@ void GnuPGSystemConfigurationPage::defaults()
{
mWidget->defaults();
}
extern "C" Q_DECL_EXPORT KCModule *create_kleopatra_config_gnupgsystem(QWidget *parent, const QVariantList &args)
{
auto page =
new GnuPGSystemConfigurationPage(parent, args);
page->setObjectName(QStringLiteral("kleopatra_config_gnupgsystem"));
return page;
}
......@@ -43,12 +43,3 @@ void SMimeValidationConfigurationPage::defaults()
{
mWidget->defaults();
}
extern "C" Q_DECL_EXPORT KCModule *create_kleopatra_config_smimevalidation(QWidget *parent, const QVariantList &args)
{
auto page =
new SMimeValidationConfigurationPage(parent, args);
page->setObjectName(QStringLiteral("kleopatra_config_smimevalidation"));
return page;
}
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