Diffstat (limited to 'core/pim/addressbook/configdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/configdlg.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/core/pim/addressbook/configdlg.cpp b/core/pim/addressbook/configdlg.cpp new file mode 100644 index 0000000..b7c3b77 --- a/dev/null +++ b/core/pim/addressbook/configdlg.cpp | |||
@@ -0,0 +1,45 @@ | |||
1 | #include "configdlg.h" | ||
2 | #include <qcheckbox.h> | ||
3 | #include <qradiobutton.h> | ||
4 | |||
5 | ConfigDlg::ConfigDlg( QWidget *parent = 0, const char *name = 0 ): | ||
6 | ConfigDlg_Base(parent, name, true ) | ||
7 | {} | ||
8 | |||
9 | |||
10 | bool ConfigDlg::useRegExp() const | ||
11 | { | ||
12 | return m_useRegExp->isOn(); | ||
13 | } | ||
14 | bool ConfigDlg::useWildCards() const | ||
15 | { | ||
16 | return m_useWildCard->isOn(); | ||
17 | } | ||
18 | bool ConfigDlg::beCaseSensitive() const | ||
19 | { | ||
20 | return m_useCaseSensitive->isChecked(); | ||
21 | } | ||
22 | bool ConfigDlg::signalWrapAround() const | ||
23 | { | ||
24 | return m_signalWrapAround->isChecked(); | ||
25 | } | ||
26 | void ConfigDlg::setUseRegExp( bool v ) | ||
27 | { | ||
28 | m_useRegExp->setChecked( v ); | ||
29 | } | ||
30 | void ConfigDlg::setUseWildCards( bool v ) | ||
31 | { | ||
32 | m_useWildCard->setChecked( v ); | ||
33 | } | ||
34 | void ConfigDlg::setBeCaseSensitive( bool v ) | ||
35 | { | ||
36 | m_useCaseSensitive->setChecked( v ); | ||
37 | } | ||
38 | void ConfigDlg::setSignalWrapAround( bool v ) | ||
39 | { | ||
40 | m_signalWrapAround->setChecked( v ); | ||
41 | } | ||
42 | |||
43 | |||
44 | |||
45 | |||