Messagelib

messagecoresettings.cpp
1/* SPDX-FileCopyrightText: 2010 Thomas McGuire <mcguire@kde.org>
2
3 SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
4*/
5
6#include "messagecoresettings.h"
7
8using namespace MessageCore;
9
10MessageCoreSettings *MessageCoreSettings::mSelf = nullptr;
11
12MessageCoreSettings *MessageCoreSettings::self()
13{
14 if (!mSelf) {
15 mSelf = new MessageCoreSettings();
16 mSelf->load();
17 }
18
19 return mSelf;
20}
21
22MessageCoreSettings::MessageCoreSettings() = default;
23
24MessageCoreSettings::~MessageCoreSettings() = default;
25
26#include "moc_messagecoresettings.cpp"
The MessageCoreSettings class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.