From 34e86ddf4f9b1045a5b730beab2d8d72e2dd4d56 Mon Sep 17 00:00:00 2001 From: eilers Date: Mon, 22 Sep 2003 14:31:15 +0000 Subject: Added first experimental incarnation of sql-backend for addressbook. Some modifications to be able to compile the todo sql-backend. A lot of changes fill follow... --- (limited to 'libopie/pim/ocontact.h') diff --git a/libopie/pim/ocontact.h b/libopie/pim/ocontact.h index 9a1a8dc..1d46b81 100644 --- a/libopie/pim/ocontact.h +++ b/libopie/pim/ocontact.h @@ -196,11 +196,6 @@ public: QString groups() const { return find( Qtopia::Groups ); } QStringList groupList() const; -// // custom -// const QString &customField( const QString &key ) -// { return find( Custom- + key ); } - - QString toRichText() const; QMap toMap() const; QString field( int key ) const { return find( key ); } @@ -209,19 +204,19 @@ public: void setUid( int i ); QString toShortText()const; - QString OContact::type()const; - QMap OContact::toExtraMap() const; - class QString OContact::recordField(int) const; + QString type()const; + class QString recordField(int) const; // Why private ? (eilers,se) QString emailSeparator() const { return " "; } + // the emails should be seperated by a comma void setEmails( const QString &v ); QString emails() const { return find( Qtopia::Emails ); } static int rtti(); private: - // The XML-Backend needs some access to the private functions + // The XML Backend needs some access to the private functions friend class OContactAccessBackend_XML; void insert( int key, const QString &value ); -- cgit v0.9.0.2