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) (side-by-side diff)
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,7 +1,7 @@
#ifndef _ABCONFIG_H_
#define _ABCONFIG_H_
-#include <qstringlist.h>
+#include <qstringlist.h>
#include <qmainwindow.h>
class AbConfig
@@ -17,7 +17,7 @@ public:
AbConfig();
~AbConfig();
-
+
// Search Settings
bool useRegExp() const;
bool useWildCards() const;
@@ -29,10 +29,11 @@ public:
QMainWindow::ToolBarDock getToolBarPos() const;
bool fixedBars() const;
LPSearchMode letterPickerSearch() const;
-
+ const QString &category() const;
+
void setUseRegExp( bool v );
void setUseWildCards( bool v );
- void setBeCaseSensitive( bool v );
+ void setBeCaseSensitive( bool v );
void setUseQtMail( bool v );
void setUseOpieMail( bool v );
void setFontSize( int v );
@@ -40,6 +41,7 @@ public:
void setToolBarDock( const QMainWindow::ToolBarDock v );
void setFixedBars( const bool fixed );
void setLetterPickerSearch( const LPSearchMode mode );
+ void setCategory( const QString &cat );
void operator= ( const AbConfig& cnf );
@@ -55,12 +57,13 @@ protected:
bool m_useQtMail;
bool m_useOpieMail;
bool m_useRegExp;
- bool m_beCaseSensitive;
+ bool m_beCaseSensitive;
int m_fontSize;
QValueList<int> m_ordered;
int m_barPos;
bool m_fixedBars;
int m_lpSearchMode;
+ QString m_category;
bool m_changed;
};