summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abconfig.h
Side-by-side diff
Diffstat (limited to 'core/pim/addressbook/abconfig.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/abconfig.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/pim/addressbook/abconfig.h b/core/pim/addressbook/abconfig.h
index ce51b4c..93764f2 100644
--- a/core/pim/addressbook/abconfig.h
+++ b/core/pim/addressbook/abconfig.h
@@ -8,4 +8,12 @@ class AbConfig
{
public:
+ enum LPSearchMode{
+ LastName = 0,
+ FullName,
+ LASTELEMENT
+ };
+
+
+
AbConfig();
~AbConfig();
@@ -21,4 +29,5 @@ public:
QMainWindow::ToolBarDock getToolBarPos() const;
bool fixedBars() const;
+ LPSearchMode letterPickerSearch() const;
void setUseRegExp( bool v );
@@ -31,4 +40,5 @@ public:
void setToolBarDock( const QMainWindow::ToolBarDock v );
void setFixedBars( const bool fixed );
+ void setLetterPickerSearch( const LPSearchMode mode );
void operator= ( const AbConfig& cnf );
@@ -51,4 +61,5 @@ protected:
int m_barPos;
bool m_fixedBars;
+ int m_lpSearchMode;
bool m_changed;