-rw-r--r-- | libopie2/opiepim/ocontact.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libopie2/opiepim/ocontact.h b/libopie2/opiepim/ocontact.h index 0e6cbd2..f79f0f3 100644 --- a/libopie2/opiepim/ocontact.h +++ b/libopie2/opiepim/ocontact.h | |||
@@ -205,25 +205,28 @@ public: | |||
205 | 205 | ||
206 | QString toShortText()const; | 206 | QString toShortText()const; |
207 | QString OContact::type()const; | 207 | QString OContact::type()const; |
208 | QMap<QString,QString> OContact::toExtraMap() const; | 208 | QMap<QString,QString> OContact::toExtraMap() const; |
209 | class QString OContact::recordField(int) const; | 209 | class QString OContact::recordField(int) const; |
210 | 210 | ||
211 | // Why private ? (eilers,se) | 211 | // Why private ? (eilers,se) |
212 | QString emailSeparator() const { return " "; } | 212 | QString emailSeparator() const { return " "; } |
213 | // the emails should be seperated by a comma | 213 | // the emails should be seperated by a comma |
214 | void setEmails( const QString &v ); | 214 | void setEmails( const QString &v ); |
215 | QString emails() const { return find( Qtopia::Emails ); } | 215 | QString emails() const { return find( Qtopia::Emails ); } |
216 | static int rtti(); | 216 | static int rtti(); |
217 | 217 | int lastHitField() const {return m_lastHitField;}; | |
218 | protected: | ||
219 | mutable int m_lastHitField; | ||
220 | void setLastHitField(int i) const { m_lastHitField = i; }; | ||
218 | 221 | ||
219 | private: | 222 | private: |
220 | // The XML-Backend needs some access to the private functions | 223 | // The XML-Backend needs some access to the private functions |
221 | friend class OContactAccessBackend_XML; | 224 | friend class OContactAccessBackend_XML; |
222 | 225 | ||
223 | void insert( int key, const QString &value ); | 226 | void insert( int key, const QString &value ); |
224 | void replace( int key, const QString &value ); | 227 | void replace( int key, const QString &value ); |
225 | QString find( int key ) const; | 228 | QString find( int key ) const; |
226 | static QStringList fields(); | 229 | static QStringList fields(); |
227 | 230 | ||
228 | void save( QString &buf ) const; | 231 | void save( QString &buf ) const; |
229 | 232 | ||