summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abconfig.h
authordrw <drw>2005-02-06 23:12:25 (UTC)
committer drw <drw>2005-02-06 23:12:25 (UTC)
commit5652634e4ff03370564925ce0856b260c001dc0f (patch) (unidiff)
tree614cbdec8ff9f4f674a9cb4e5caf44cce1def4f8 /core/pim/addressbook/abconfig.h
parent266d71ee80151b3c97671acc95275aa65b682388 (diff)
downloadopie-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) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abconfig.h13
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,10 +1,10 @@
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
7class AbConfig 7class AbConfig
8{ 8{
9public: 9public:
10 enum LPSearchMode{ 10 enum LPSearchMode{
@@ -14,35 +14,37 @@ public:
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 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 );
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
@@ -52,18 +54,19 @@ protected:
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