summaryrefslogtreecommitdiff
path: root/libopie/pim/ocontact.h
authoreilers <eilers>2003-09-22 14:31:15 (UTC)
committer eilers <eilers>2003-09-22 14:31:15 (UTC)
commit34e86ddf4f9b1045a5b730beab2d8d72e2dd4d56 (patch) (side-by-side diff)
treecee19bfcf7c8d6a24cd4aaf578bd64b38b2d0ee4 /libopie/pim/ocontact.h
parentfd500184450e37c239e573adf1c12a6ff62b65f6 (diff)
downloadopie-34e86ddf4f9b1045a5b730beab2d8d72e2dd4d56.zip
opie-34e86ddf4f9b1045a5b730beab2d8d72e2dd4d56.tar.gz
opie-34e86ddf4f9b1045a5b730beab2d8d72e2dd4d56.tar.bz2
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...
Diffstat (limited to 'libopie/pim/ocontact.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/ocontact.h13
1 files changed, 4 insertions, 9 deletions
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<int, QString> 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<QString,QString> 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 );