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;
The MessageCoreSettings class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.