summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abview.h
authordrw <drw>2004-03-25 23:40:52 (UTC)
committer drw <drw>2004-03-25 23:40:52 (UTC)
commit98721c16aa480c4a160d3492462cb8f0de783268 (patch) (side-by-side diff)
tree2be8dcd6cf985d98912cbb18e5d23e4b567396ff /core/pim/addressbook/abview.h
parent03091cd727701bdb2aa6ac623cd606131546d686 (diff)
downloadopie-98721c16aa480c4a160d3492462cb8f0de783268.zip
opie-98721c16aa480c4a160d3492462cb8f0de783268.tar.gz
opie-98721c16aa480c4a160d3492462cb8f0de783268.tar.bz2
libopie -> libopie2
Diffstat (limited to 'core/pim/addressbook/abview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abview.h31
1 files changed, 16 insertions, 15 deletions
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 <qwidget.h>
-#include <qwidgetstack.h>
+#include <opie2/opimcontact.h>
+#include <opie2/ocontactaccess.h>
#include <qpe/categories.h>
-#include <opie/ocontact.h>
-#include <opie/ocontactaccess.h>
+
+#include <qwidget.h>
+#include <qwidgetstack.h>
#include "contacteditor.h"
#include "abtable.h"
@@ -37,10 +38,10 @@ public:
void setListOrder( const QValueList<int>& 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;