kmail
globalsettings.h
Go to the documentation of this file.00001 /* 00002 This file is part of KMail. 00003 00004 Copyright (c) 2005 David Faure <faure@kde.org> 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License version 2, 00008 as published by the Free Software Foundation. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00018 00019 As a special exception, permission is given to link this program 00020 with any edition of Qt, and distribute the resulting executable, 00021 without including the source code for Qt in the source distribution. 00022 */ 00023 00024 #ifndef KMAIL_GLOBALSETTINGS_H 00025 #define KMAIL_GLOBALSETTINGS_H 00026 00027 #include "globalsettings_base.h" 00028 00029 class QTimer; 00030 00031 class GlobalSettings : public GlobalSettingsBase 00032 { 00033 Q_OBJECT 00034 public: 00035 static GlobalSettings *self(); 00036 00042 void requestSync(); 00043 00044 private slots: 00045 void slotSyncNow(); 00046 00047 private: 00048 GlobalSettings(); 00049 virtual ~GlobalSettings(); 00050 static GlobalSettings *mSelf; 00051 00052 QTimer *mConfigSyncTimer; 00053 00054 }; 00055 00056 #endif /* KMAIL_GLOBALSETTINGS_H */
KDE 4.2 API Reference