From 98721c16aa480c4a160d3492462cb8f0de783268 Mon Sep 17 00:00:00 2001 From: drw Date: Thu, 25 Mar 2004 23:40:52 +0000 Subject: libopie -> libopie2 --- (limited to 'core/pim/addressbook/abview.h') diff --git a/core/pim/addressbook/abview.h b/core/pim/addressbook/abview.h index 49bb4be..b8c8a08 100644 --- a/core/pim/addressbook/abview.h +++ b/core/pim/addressbook/abview.h @@ -1,12 +1,13 @@ #ifndef _ABVIEW_H_ #define _ABVIEW_H_ -#include -#include +#include +#include #include -#include -#include + +#include +#include #include "contacteditor.h" #include "abtable.h" @@ -37,10 +38,10 @@ public: void setListOrder( const QValueList& ordered ); // Add Entry and put to current - void addEntry( const OContact &newContact ); + void addEntry( const Opie::OPimContact &newContact ); void removeEntry( const int UID ); - void replaceEntry( const OContact &contact ); - OContact currentEntry(); + void replaceEntry( const Opie::OPimContact &contact ); + Opie::OPimContact currentEntry(); void inSearch() { m_inSearch = true; } void offSearch(); @@ -54,15 +55,15 @@ signals: void signalViewSwitched ( int ); public slots: - void slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, + void slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, bool backwards, QString category = QString::null ); - void slotSwitch(); + void slotSwitch(); private: void updateListinViews(); - void updateView( bool newdata = false ); + void updateView( bool newdata = false ); void clearForCategory(); - bool contactCompare( const OContact &cnt, int category ); + bool contactCompare( const Opie::OPimContact &cnt, int category ); void parseName( const QString& name, QString *first, QString *middle, QString * last ); @@ -73,10 +74,10 @@ private: Views m_curr_View; Views m_prev_View; int m_curr_Contact; - - OContactAccess* m_contactdb; - OContactAccess* m_storedDB; - OContactAccess::List m_list; + + Opie::OPimContactAccess* m_contactdb; + Opie::OPimContactAccess* m_storedDB; + Opie::OPimContactAccess::List m_list; QWidgetStack* m_viewStack; AbTable* m_abTable; -- cgit v0.9.0.2