File indexing completed on 2024-09-15 04:26:17
0001 /* 0002 * SPDX-FileCopyrightText: 2019 Nicolas Fella <nicolas.fella@gmx.de> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "accounts.h" 0008 0009 #include <KLocalizedString> 0010 #include <KPluginFactory> 0011 0012 K_PLUGIN_CLASS_WITH_JSON(AccountsSettings, "kcm_kaccounts.json") 0013 0014 AccountsSettings::AccountsSettings(QObject *parent, const KPluginMetaData &data, const QVariantList &args) 0015 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) 0016 : KQuickAddons::ConfigModule(parent, data, args) 0017 #else 0018 : KQuickConfigModule(parent, data) 0019 #endif 0020 { 0021 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) 0022 setButtons(KQuickAddons::ConfigModule::NoAdditionalButton); 0023 #else 0024 setButtons(KQuickConfigModule::NoAdditionalButton); 0025 #endif 0026 } 0027 0028 #include "accounts.moc"