7#include "scamdetectionwhitelistsettingsmanager.h"
10#include <KSharedConfig>
14static const char myScamDetectionWhiteListGroupName[] =
"ScamDetectionWhiteList";
16using namespace MessageViewer;
17ScamDetectionWhiteListSettingsManager::ScamDetectionWhiteListSettingsManager(
QObject *parent)
23ScamDetectionWhiteListSettingsManager::~ScamDetectionWhiteListSettingsManager()
28ScamDetectionWhiteListSettingsManager *ScamDetectionWhiteListSettingsManager::self()
30 static ScamDetectionWhiteListSettingsManager s_self;
34void ScamDetectionWhiteListSettingsManager::loadSettings()
36 mScamDetectionInfoList.clear();
42void ScamDetectionWhiteListSettingsManager::writeSettings()
51 return mScamDetectionInfoList;
54void ScamDetectionWhiteListSettingsManager::setScamDetectionInfoList(
const QList<ScamDetectionInfo> &newScamDetectionInfoList)
56 if (mScamDetectionInfoList != newScamDetectionInfoList) {
57 mScamDetectionInfoList = newScamDetectionInfoList;
62#include "moc_scamdetectionwhitelistsettingsmanager.cpp"
static KSharedConfig::Ptr openConfig(const QString &fileName=QString(), OpenFlags mode=FullConfig, QStandardPaths::StandardLocation type=QStandardPaths::GenericConfigLocation)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:48:01 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.