Diffstat (limited to 'core/pim/addressbook/configdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/configdlg.h | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/core/pim/addressbook/configdlg.h b/core/pim/addressbook/configdlg.h index 34e9718..53d3d01 100644 --- a/core/pim/addressbook/configdlg.h +++ b/core/pim/addressbook/configdlg.h | |||
@@ -1,29 +1,33 @@ | |||
1 | #ifndef _CONFIGDLG_H_ | 1 | #ifndef _CONFIGDLG_H_ |
2 | #define _CONFIGDLG_H_ | 2 | #define _CONFIGDLG_H_ |
3 | 3 | ||
4 | #include <qmap.h> | ||
5 | |||
4 | #include "configdlg_base.h" | 6 | #include "configdlg_base.h" |
7 | #include "abconfig.h" | ||
5 | 8 | ||
6 | class ConfigDlg: public ConfigDlg_Base | 9 | class ConfigDlg: public ConfigDlg_Base |
7 | { | 10 | { |
8 | Q_OBJECT | 11 | Q_OBJECT |
9 | public: | 12 | public: |
10 | ConfigDlg( QWidget *parent = 0, const char *name = 0 ); | 13 | ConfigDlg( QWidget *parent = 0, const char *name = 0 ); |
11 | 14 | ||
12 | // Search Settings | 15 | // Search Settings |
13 | bool useRegExp() const; | 16 | void setConfig( const AbConfig& cnf ); |
14 | bool useWildCards() const; | 17 | AbConfig getConfig(); |
15 | bool beCaseSensitive() const; | 18 | |
16 | bool signalWrapAround() const; | 19 | protected slots: |
17 | bool useQtMail() const; | 20 | void slotItemUp(); |
18 | bool useOpieMail() const; | 21 | void slotItemDown(); |
19 | 22 | void slotItemAdd(); | |
20 | void setUseRegExp( bool v ); | 23 | void slotItemRemove(); |
21 | void setUseWildCards( bool v ); | 24 | |
22 | void setBeCaseSensitive( bool v ); | 25 | protected: |
23 | void setSignalWrapAround( bool v ); | 26 | QStringList contFields; |
24 | void setQtMail( bool v ); | 27 | AbConfig m_config; |
25 | void setOpieMail( bool v ); | 28 | QMap<QString, int> m_mapStrToID; |
29 | QMap<int, QString> m_mapIDToStr; | ||
26 | }; | 30 | }; |
27 | 31 | ||
28 | 32 | ||
29 | #endif | 33 | #endif |