summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimglobalprefs.h
authorulf69 <ulf69>2004-08-10 16:10:42 (UTC)
committer ulf69 <ulf69>2004-08-10 16:10:42 (UTC)
commitc56c4729e32a9c8ba8709493b3ea11cf7cf229d3 (patch) (side-by-side diff)
tree10072e3a37eb3dca26482e67c08229bd2a1cbba6 /libkdepim/kpimglobalprefs.h
parentc9d570427f3d5bead7bee1301514a2d4b82836ea (diff)
downloadkdepimpi-c56c4729e32a9c8ba8709493b3ea11cf7cf229d3.zip
kdepimpi-c56c4729e32a9c8ba8709493b3ea11cf7cf229d3.tar.gz
kdepimpi-c56c4729e32a9c8ba8709493b3ea11cf7cf229d3.tar.bz2
additional files for external application configuration
Diffstat (limited to 'libkdepim/kpimglobalprefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimglobalprefs.h112
1 files changed, 112 insertions, 0 deletions
diff --git a/libkdepim/kpimglobalprefs.h b/libkdepim/kpimglobalprefs.h
new file mode 100644
index 0000000..80b2c4f
--- a/dev/null
+++ b/libkdepim/kpimglobalprefs.h
@@ -0,0 +1,112 @@
+/*
+ This file is part of libkdepim.
+ Copyright (c) 2004 Ulf Schenk
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ As a special exception, permission is given to link this program
+ with any edition of Qt, and distribute the resulting executable,
+ without including the source code for Qt in the source distribution.
+*/
+
+/*
+Enhanced Version of the file for platform independent KDE tools.
+Copyright (c) 2004 Ulf Schenk
+
+$Id$
+*/
+
+#ifndef KPIMGLOBALPREFS_H
+#define KPIMGLOBALPREFS_H
+
+#include "kprefs.h"
+
+class KPimGlobalPrefs : public KPrefs
+{
+ public:
+
+ static KPimGlobalPrefs *instance();
+
+
+ virtual ~KPimGlobalPrefs();
+
+
+ enum EMailClients {
+ NONE_EMC = 0,
+ OTHER_EMC = 1,
+ OMPI_EMC = 2,
+ QTOPIA_EMC = 3,
+ OPIE_EMC = 4
+ };
+
+ enum PhoneClients {
+ NONE_PHC = 0,
+ OTHER_PHC = 1,
+ KPPI_PHC = 2
+ };
+
+ enum FaxClients {
+ NONE_FAC = 0,
+ OTHER_FAC = 1
+ };
+
+ enum SMSClients {
+ NONE_SMC = 0,
+ OTHER_SMC = 1
+ };
+
+ enum PagerClients {
+ NONE_PAC = 0,
+ OTHER_PAC = 1
+ };
+
+ private:
+ KPimGlobalPrefs( const QString &name = QString::null );
+
+ static KPimGlobalPrefs *sInstance;
+
+
+ public:
+ int mEmailClient;
+ QString mEmailOtherChannel;
+ QString mEmailOtherMessage;
+ QString mEmailOtherMessageParameters;
+ QString mEmailOtherMessage2;
+ QString mEmailOtherMessageParameters2;
+
+ int mPhoneClient;
+ QString mPhoneOtherChannel;
+ QString mPhoneOtherMessage;
+ QString mPhoneOtherMessageParameters;
+
+ int mFaxClient;
+ QString mFaxOtherChannel;
+ QString mFaxOtherMessage;
+ QString mFaxOtherMessageParameters;
+
+ int mSMSClient;
+ QString mSMSOtherChannel;
+ QString mSMSOtherMessage;
+ QString mSMSOtherMessageParameters;
+
+ int mPagerClient;
+ QString mPagerOtherChannel;
+ QString mPagerOtherMessage;
+ QString mPagerOtherMessageParameters;
+
+
+};
+
+#endif