Diffstat (limited to 'core/pim/addressbook/abconfig.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/abconfig.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/addressbook/abconfig.h b/core/pim/addressbook/abconfig.h index c312179..68d087c 100644 --- a/core/pim/addressbook/abconfig.h +++ b/core/pim/addressbook/abconfig.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _ABCONFIG_H_ | 1 | #ifndef _ABCONFIG_H_ |
2 | #define _ABCONFIG_H_ | 2 | #define _ABCONFIG_H_ |
3 | 3 | ||
4 | #include <qstringlist.h> | 4 | #include <qstringlist.h> |
5 | #include <qmainwindow.h> | 5 | #include <qmainwindow.h> |
6 | 6 | ||
7 | class AbConfig | 7 | class AbConfig |
@@ -17,7 +17,7 @@ public: | |||
17 | 17 | ||
18 | AbConfig(); | 18 | AbConfig(); |
19 | ~AbConfig(); | 19 | ~AbConfig(); |
20 | 20 | ||
21 | // Search Settings | 21 | // Search Settings |
22 | bool useRegExp() const; | 22 | bool useRegExp() const; |
23 | bool useWildCards() const; | 23 | bool useWildCards() const; |
@@ -29,10 +29,11 @@ public: | |||
29 | QMainWindow::ToolBarDock getToolBarPos() const; | 29 | QMainWindow::ToolBarDock getToolBarPos() const; |
30 | bool fixedBars() const; | 30 | bool fixedBars() const; |
31 | LPSearchMode letterPickerSearch() const; | 31 | LPSearchMode letterPickerSearch() const; |
32 | 32 | const QString &category() const; | |
33 | |||
33 | void setUseRegExp( bool v ); | 34 | void setUseRegExp( bool v ); |
34 | void setUseWildCards( bool v ); | 35 | void setUseWildCards( bool v ); |
35 | void setBeCaseSensitive( bool v ); | 36 | void setBeCaseSensitive( bool v ); |
36 | void setUseQtMail( bool v ); | 37 | void setUseQtMail( bool v ); |
37 | void setUseOpieMail( bool v ); | 38 | void setUseOpieMail( bool v ); |
38 | void setFontSize( int v ); | 39 | void setFontSize( int v ); |
@@ -40,6 +41,7 @@ public: | |||
40 | void setToolBarDock( const QMainWindow::ToolBarDock v ); | 41 | void setToolBarDock( const QMainWindow::ToolBarDock v ); |
41 | void setFixedBars( const bool fixed ); | 42 | void setFixedBars( const bool fixed ); |
42 | void setLetterPickerSearch( const LPSearchMode mode ); | 43 | void setLetterPickerSearch( const LPSearchMode mode ); |
44 | void setCategory( const QString &cat ); | ||
43 | 45 | ||
44 | void operator= ( const AbConfig& cnf ); | 46 | void operator= ( const AbConfig& cnf ); |
45 | 47 | ||
@@ -55,12 +57,13 @@ protected: | |||
55 | bool m_useQtMail; | 57 | bool m_useQtMail; |
56 | bool m_useOpieMail; | 58 | bool m_useOpieMail; |
57 | bool m_useRegExp; | 59 | bool m_useRegExp; |
58 | bool m_beCaseSensitive; | 60 | bool m_beCaseSensitive; |
59 | int m_fontSize; | 61 | int m_fontSize; |
60 | QValueList<int> m_ordered; | 62 | QValueList<int> m_ordered; |
61 | int m_barPos; | 63 | int m_barPos; |
62 | bool m_fixedBars; | 64 | bool m_fixedBars; |
63 | int m_lpSearchMode; | 65 | int m_lpSearchMode; |
66 | QString m_category; | ||
64 | 67 | ||
65 | bool m_changed; | 68 | bool m_changed; |
66 | }; | 69 | }; |