Messagelib

messagecoresettings.cpp
1 /* SPDX-FileCopyrightText: 2010 Thomas McGuire <[email protected]>
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 
8 using namespace MessageCore;
9 
10 MessageCoreSettings *MessageCoreSettings::mSelf = nullptr;
11 
12 MessageCoreSettings *MessageCoreSettings::self()
13 {
14  if (!mSelf) {
15  mSelf = new MessageCoreSettings();
16  mSelf->load();
17  }
18 
19  return mSelf;
20 }
21 
22 MessageCoreSettings::MessageCoreSettings() = default;
23 
24 MessageCoreSettings::~MessageCoreSettings() = default;
25 
26 #include "moc_messagecoresettings.cpp"
The MessageCoreSettings class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 03:53:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.