Diffstat (limited to 'libopie2/opiepim/core/opimcontact.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimcontact.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie2/opiepim/core/opimcontact.h b/libopie2/opiepim/core/opimcontact.h index 6891dd6..6fa2c4b 100644 --- a/libopie2/opiepim/core/opimcontact.h +++ b/libopie2/opiepim/core/opimcontact.h | |||
@@ -219,25 +219,29 @@ class QPC_EXPORT OPimContact : public OPimRecord | |||
219 | void setUid( int i ); | 219 | void setUid( int i ); |
220 | 220 | ||
221 | QString toShortText() const; | 221 | QString toShortText() const; |
222 | QString type() const; | 222 | QString type() const; |
223 | class QString recordField( int ) const; | 223 | class QString recordField( int ) const; |
224 | 224 | ||
225 | // Why private ? (eilers,se) | 225 | // Why private ? (eilers,se) |
226 | QString emailSeparator() const { return " "; } | 226 | QString emailSeparator() const { return " "; } |
227 | 227 | ||
228 | // the emails should be seperated by a comma | 228 | // the emails should be seperated by a comma |
229 | void setEmails( const QString &v ); | 229 | void setEmails( const QString &v ); |
230 | QString emails() const { return find( Qtopia::Emails ); } | 230 | QString emails() const { return find( Qtopia::Emails ); } |
231 | |||
232 | //@{ | ||
231 | int rtti() const; | 233 | int rtti() const; |
234 | static OPimContact* safeCast( const OPimRecord* ); | ||
235 | //@} | ||
232 | 236 | ||
233 | private: | 237 | private: |
234 | // The XML Backend needs some access to the private functions | 238 | // The XML Backend needs some access to the private functions |
235 | friend class OPimContactAccessBackend_XML; | 239 | friend class OPimContactAccessBackend_XML; |
236 | 240 | ||
237 | void insert( int key, const QString &value ); | 241 | void insert( int key, const QString &value ); |
238 | void replace( int key, const QString &value ); | 242 | void replace( int key, const QString &value ); |
239 | QString find( int key ) const; | 243 | QString find( int key ) const; |
240 | static QStringList fields(); | 244 | static QStringList fields(); |
241 | 245 | ||
242 | void save( QString &buf ) const; | 246 | void save( QString &buf ) const; |
243 | 247 | ||