author | ulf69 <ulf69> | 2004-08-11 19:20:53 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-11 19:20:53 (UTC) |
commit | f79407b018b3abd9a99ccd259f1ff24f3bfee6a4 (patch) (unidiff) | |
tree | 5063b159ec286ebe074e96391fd1a034aca208ae /kaddressbook/kabprefs.h | |
parent | 4e4e196bc4fbe4e078b4fbe6b372bd643bf372f1 (diff) | |
download | kdepimpi-f79407b018b3abd9a99ccd259f1ff24f3bfee6a4.zip kdepimpi-f79407b018b3abd9a99ccd259f1ff24f3bfee6a4.tar.gz kdepimpi-f79407b018b3abd9a99ccd259f1ff24f3bfee6a4.tar.bz2 |
added a configurationsettings that aloowes the user to choose between
the display of multiple views at once or just one
-rw-r--r-- | kaddressbook/kabprefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/kabprefs.h b/kaddressbook/kabprefs.h index 8f149ac..03e529f 100644 --- a/kaddressbook/kabprefs.h +++ b/kaddressbook/kabprefs.h | |||
@@ -36,55 +36,56 @@ class KABPrefs : public KPimPrefs | |||
36 | virtual ~KABPrefs(); | 36 | virtual ~KABPrefs(); |
37 | 37 | ||
38 | static KABPrefs *instance(); | 38 | static KABPrefs *instance(); |
39 | 39 | ||
40 | // General | 40 | // General |
41 | bool mHonorSingleClick; | 41 | bool mHonorSingleClick; |
42 | bool mAutomaticNameParsing; | 42 | bool mAutomaticNameParsing; |
43 | int mCurrentIncSearchField; | 43 | int mCurrentIncSearchField; |
44 | 44 | ||
45 | #ifdef KAB_EMBEDDED | 45 | #ifdef KAB_EMBEDDED |
46 | // US introduce a nonconst way to return the config object. | 46 | // US introduce a nonconst way to return the config object. |
47 | KConfig* getConfig(); | 47 | KConfig* getConfig(); |
48 | 48 | ||
49 | bool mToolBarHor; | 49 | bool mToolBarHor; |
50 | bool mToolBarUp; | 50 | bool mToolBarUp; |
51 | bool mAskForQuit; | 51 | bool mAskForQuit; |
52 | 52 | ||
53 | 53 | ||
54 | /** Set preferences to default values */ | 54 | /** Set preferences to default values */ |
55 | // void usrSetDefaults(); | 55 | // void usrSetDefaults(); |
56 | 56 | ||
57 | /** Read preferences from config file */ | 57 | /** Read preferences from config file */ |
58 | // void usrReadConfig(); | 58 | // void usrReadConfig(); |
59 | 59 | ||
60 | /** Write preferences to config file */ | 60 | /** Write preferences to config file */ |
61 | // void usrWriteConfig(); | 61 | // void usrWriteConfig(); |
62 | #endif //KAB_EMBEDDED | 62 | #endif //KAB_EMBEDDED |
63 | 63 | ||
64 | 64 | ||
65 | // GUI | 65 | // GUI |
66 | bool mJumpButtonBarVisible; | 66 | bool mJumpButtonBarVisible; |
67 | bool mDetailsPageVisible; | 67 | bool mDetailsPageVisible; |
68 | bool mMultipleViewsAtOnce; | ||
68 | QValueList<int> mExtensionsSplitter; | 69 | QValueList<int> mExtensionsSplitter; |
69 | QValueList<int> mDetailsSplitter; | 70 | QValueList<int> mDetailsSplitter; |
70 | 71 | ||
71 | // Extensions stuff | 72 | // Extensions stuff |
72 | int mCurrentExtension; | 73 | int mCurrentExtension; |
73 | QStringList mActiveExtensions; | 74 | QStringList mActiveExtensions; |
74 | 75 | ||
75 | // Views stuff | 76 | // Views stuff |
76 | QString mCurrentView; | 77 | QString mCurrentView; |
77 | QStringList mViewNames; | 78 | QStringList mViewNames; |
78 | 79 | ||
79 | // Filter | 80 | // Filter |
80 | int mCurrentFilter; | 81 | int mCurrentFilter; |
81 | 82 | ||
82 | void setCategoryDefaults(); | 83 | void setCategoryDefaults(); |
83 | 84 | ||
84 | private: | 85 | private: |
85 | KABPrefs(); | 86 | KABPrefs(); |
86 | 87 | ||
87 | static KABPrefs *sInstance; | 88 | static KABPrefs *sInstance; |
88 | }; | 89 | }; |
89 | 90 | ||
90 | #endif | 91 | #endif |