summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abconfig.h
Side-by-side diff
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 @@
#ifndef _ABCONFIG_H_
#define _ABCONFIG_H_
-#include <qstringlist.h>
+#include <qstringlist.h>
#include <qmainwindow.h>
class AbConfig
{
public:
enum LPSearchMode{
@@ -14,35 +14,37 @@ public:
};
AbConfig();
~AbConfig();
-
+
// Search Settings
bool useRegExp() const;
bool useWildCards() const;
bool beCaseSensitive() const;
bool useQtMail() const;
bool useOpieMail() const;
int fontSize() const;
QValueList<int> orderList() const;
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 );
void setOrderList( const QValueList<int>& list );
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 );
void load();
void save();
@@ -52,18 +54,19 @@ protected:
QStringList contFields;
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;
};
#endif