author | drw <drw> | 2005-02-06 23:12:25 (UTC) |
---|---|---|
committer | drw <drw> | 2005-02-06 23:12:25 (UTC) |
commit | 5652634e4ff03370564925ce0856b260c001dc0f (patch) (unidiff) | |
tree | 614cbdec8ff9f4f674a9cb4e5caf44cce1def4f8 /core/pim/addressbook/abconfig.h | |
parent | 266d71ee80151b3c97671acc95275aa65b682388 (diff) | |
download | opie-5652634e4ff03370564925ce0856b260c001dc0f.zip opie-5652634e4ff03370564925ce0856b260c001dc0f.tar.gz opie-5652634e4ff03370564925ce0856b260c001dc0f.tar.bz2 |
Convert to OPimMainWindow and UI tweaks. There is still a couple items yet to do...
Diffstat (limited to 'core/pim/addressbook/abconfig.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/addressbook/abconfig.h | 3 |
1 files changed, 3 insertions, 0 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 | |||
@@ -8,62 +8,65 @@ class AbConfig | |||
8 | { | 8 | { |
9 | public: | 9 | public: |
10 | enum LPSearchMode{ | 10 | enum LPSearchMode{ |
11 | LastName = 0, | 11 | LastName = 0, |
12 | FileAs, | 12 | FileAs, |
13 | LASTELEMENT | 13 | LASTELEMENT |
14 | }; | 14 | }; |
15 | 15 | ||
16 | 16 | ||
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; |
24 | bool beCaseSensitive() const; | 24 | bool beCaseSensitive() const; |
25 | bool useQtMail() const; | 25 | bool useQtMail() const; |
26 | bool useOpieMail() const; | 26 | bool useOpieMail() const; |
27 | int fontSize() const; | 27 | int fontSize() const; |
28 | QValueList<int> orderList() const; | 28 | QValueList<int> orderList() const; |
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 | const QString &category() const; | ||
32 | 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 ); |
39 | void setOrderList( const QValueList<int>& list ); | 40 | void setOrderList( const QValueList<int>& list ); |
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 | ||
46 | void load(); | 48 | void load(); |
47 | void save(); | 49 | void save(); |
48 | 50 | ||
49 | protected: | 51 | protected: |
50 | /* virtual void itemUp(); */ | 52 | /* virtual void itemUp(); */ |
51 | /* virtual void itemDown(); */ | 53 | /* virtual void itemDown(); */ |
52 | 54 | ||
53 | QStringList contFields; | 55 | QStringList contFields; |
54 | 56 | ||
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 | }; |
67 | 70 | ||
68 | 71 | ||
69 | #endif | 72 | #endif |