Make the boss happy.
[kdepim.git] / messagecore / globalsettings.cpp
blob94474eb3dc0cf731142dbbd79d98710e591ac790
1 /* Copyright 2010 Thomas McGuire <mcguire@kde.org>
3 This library is free software; you can redistribute it and/or modify
4 it under the terms of the GNU Library General Public License as published
5 by the Free Software Foundation; either version 2 of the License or
6 ( at your option ) version 3 or, at the discretion of KDE e.V.
7 ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
20 #include "globalsettings.h"
22 using namespace MessageCore;
24 GlobalSettings *GlobalSettings::mSelf = 0;
26 GlobalSettings *GlobalSettings::self()
28 if ( !mSelf ) {
29 mSelf = new GlobalSettings();
30 mSelf->readConfig();
33 return mSelf;
36 GlobalSettings::GlobalSettings()
40 GlobalSettings::~GlobalSettings()
44 #include "globalsettings.moc"