-rw-r--r-- | kmicromail/koprefs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kmicromail/koprefs.h b/kmicromail/koprefs.h index a47642b..f0a4463 100644 --- a/kmicromail/koprefs.h +++ b/kmicromail/koprefs.h | |||
@@ -10,33 +10,32 @@ | |||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef KOPREFS_H | 23 | #ifndef KOPREFS_H |
24 | #define KOPREFS_H | 24 | #define KOPREFS_H |
25 | 25 | ||
26 | #include <qdict.h> | ||
27 | 26 | ||
28 | #include <libkdepim/kpimprefs.h> | 27 | #include <libkdepim/kpimprefs.h> |
29 | 28 | ||
30 | class KConfig; | 29 | class KConfig; |
31 | class QFont; | 30 | class QFont; |
32 | class QColor; | 31 | class QColor; |
33 | class QStringList; | 32 | class QStringList; |
34 | 33 | ||
35 | class KOPrefs : public KPimPrefs | 34 | class KOPrefs : public KPimPrefs |
36 | { | 35 | { |
37 | public: | 36 | public: |
38 | virtual ~KOPrefs(); | 37 | virtual ~KOPrefs(); |
39 | 38 | ||
40 | /** Get instance of KOPrefs. It is made sure that there is only one | 39 | /** Get instance of KOPrefs. It is made sure that there is only one |
41 | instance. */ | 40 | instance. */ |
42 | static KOPrefs *instance(); | 41 | static KOPrefs *instance(); |
@@ -49,31 +48,30 @@ class KOPrefs : public KPimPrefs | |||
49 | 48 | ||
50 | /** Write preferences to config file */ | 49 | /** Write preferences to config file */ |
51 | void usrWriteConfig(); | 50 | void usrWriteConfig(); |
52 | void setCategoryDefaults(){;}; | 51 | void setCategoryDefaults(){;}; |
53 | 52 | ||
54 | protected: | 53 | protected: |
55 | 54 | ||
56 | /** Fill empty mail fields with default values. */ | 55 | /** Fill empty mail fields with default values. */ |
57 | void fillMailDefaults(); | 56 | void fillMailDefaults(); |
58 | 57 | ||
59 | private: | 58 | private: |
60 | /** Constructor disabled for public. Use instance() to create a KOPrefs | 59 | /** Constructor disabled for public. Use instance() to create a KOPrefs |
61 | object. */ | 60 | object. */ |
62 | KOPrefs(); | 61 | KOPrefs(); |
63 | 62 | ||
64 | static KOPrefs *mInstance; | 63 | static KOPrefs *mInstance; |
65 | QDict<QString> *mLocaleDict; | ||
66 | public: | 64 | public: |
67 | // preferences data | 65 | // preferences data |
68 | KConfig* getConfig(); | 66 | KConfig* getConfig(); |
69 | QFont mAppFont; | 67 | QFont mAppFont; |
70 | QFont mComposeFont; | 68 | QFont mComposeFont; |
71 | QFont mReadFont; | 69 | QFont mReadFont; |
72 | QString mName; | 70 | QString mName; |
73 | QString mEmail; | 71 | QString mEmail; |
74 | bool mSendLater, mViewAsHtml, mUseKapi; | 72 | bool mSendLater, mViewAsHtml, mUseKapi; |
75 | private: | 73 | private: |
76 | 74 | ||
77 | }; | 75 | }; |
78 | 76 | ||
79 | #endif | 77 | #endif |