author | eilers <eilers> | 2003-05-11 12:53:01 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-05-11 12:53:01 (UTC) |
commit | c24cd890fe8219dcfc740c2e234d2427965d5831 (patch) (side-by-side diff) | |
tree | 826600681c77e14a11e36d5c96e3baa50567aa3f | |
parent | 597215b1c9e92df95ace33306d93b6c20df8b8c7 (diff) | |
download | opie-c24cd890fe8219dcfc740c2e234d2427965d5831.zip opie-c24cd890fe8219dcfc740c2e234d2427965d5831.tar.gz opie-c24cd890fe8219dcfc740c2e234d2427965d5831.tar.bz2 |
Just internal renaming.. Will not affect anything..
-rw-r--r-- | core/pim/addressbook/abconfig.cpp | 2 | ||||
-rw-r--r-- | core/pim/addressbook/abconfig.h | 2 | ||||
-rw-r--r-- | core/pim/addressbook/abview.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/addressbook/abconfig.cpp b/core/pim/addressbook/abconfig.cpp index 4a0875b..a3fd222 100644 --- a/core/pim/addressbook/abconfig.cpp +++ b/core/pim/addressbook/abconfig.cpp @@ -127,17 +127,17 @@ void AbConfig::load() Config cfg("AddressBook"); cfg.setGroup("Font"); m_fontSize = cfg.readNumEntry( "fontSize", 1 ); cfg.setGroup("Search"); m_useRegExp = cfg.readBoolEntry( "useRegExp", false ); m_beCaseSensitive = cfg.readBoolEntry( "caseSensitive", false ); - m_lpSearchMode = cfg.readNumEntry( "lpSearchMode", FullName ); + m_lpSearchMode = cfg.readNumEntry( "lpSearchMode", FileAs ); cfg.setGroup("Mail"); m_useQtMail = cfg.readBoolEntry( "useQtMail", true ); m_useOpieMail=cfg.readBoolEntry( "useOpieMail" ); cfg.setGroup("ContactOrder"); int ID = 0; int i = 0; diff --git a/core/pim/addressbook/abconfig.h b/core/pim/addressbook/abconfig.h index 93764f2..c312179 100644 --- a/core/pim/addressbook/abconfig.h +++ b/core/pim/addressbook/abconfig.h @@ -4,17 +4,17 @@ #include <qstringlist.h> #include <qmainwindow.h> class AbConfig { public: enum LPSearchMode{ LastName = 0, - FullName, + FileAs, LASTELEMENT }; AbConfig(); ~AbConfig(); diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp index 664bd3f..477f85b 100644 --- a/core/pim/addressbook/abview.cpp +++ b/core/pim/addressbook/abview.cpp @@ -236,17 +236,17 @@ void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode ) if ( ! m_contactdb->hasQuerySettings( OContactAccess::WildCards | OContactAccess::IgnoreCase ) ){ return; } switch( mode ){ case AbConfig::LastName: query.setLastName( QString("%1*").arg(c) ); break; - case AbConfig::FullName: + case AbConfig::FileAs: query.setFileAs( QString("%1*").arg(c) ); break; default: qWarning( "Unknown Searchmode for AbView::setShowByLetter ! -> %d", mode ); qWarning( "I will ignore it.." ); return; } m_list = m_contactdb->queryByExample( query, OContactAccess::WildCards | OContactAccess::IgnoreCase ); |