summaryrefslogtreecommitdiff
path: root/libopie2/opiepim
authoreilers <eilers>2004-05-04 18:50:47 (UTC)
committer eilers <eilers>2004-05-04 18:50:47 (UTC)
commitfa24fb520b91f060b8bd7d6f756a8e7f1b809e1b (patch) (unidiff)
tree561073a52f13bee6bf1bd59bceafbcb8c3c537bc /libopie2/opiepim
parentf1a3fc696787ae946464469b3f252aa425dbe51b (diff)
downloadopie-fa24fb520b91f060b8bd7d6f756a8e7f1b809e1b.zip
opie-fa24fb520b91f060b8bd7d6f756a8e7f1b809e1b.tar.gz
opie-fa24fb520b91f060b8bd7d6f756a8e7f1b809e1b.tar.bz2
OOps.. Forgot to commit modification of rtti from static to nonstatic (virtual)
Diffstat (limited to 'libopie2/opiepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/TODO5
-rw-r--r--libopie2/opiepim/core/opimcontact.cpp2
-rw-r--r--libopie2/opiepim/core/opimcontact.h2
-rw-r--r--libopie2/opiepim/core/opimevent.cpp2
-rw-r--r--libopie2/opiepim/core/opimevent.h2
-rw-r--r--libopie2/opiepim/core/opimrecord.cpp2
-rw-r--r--libopie2/opiepim/core/opimrecord.h2
-rw-r--r--libopie2/opiepim/core/opimtodo.cpp2
-rw-r--r--libopie2/opiepim/core/opimtodo.h2
9 files changed, 12 insertions, 9 deletions
diff --git a/libopie2/opiepim/TODO b/libopie2/opiepim/TODO
index cdde11c..c3420cf 100644
--- a/libopie2/opiepim/TODO
+++ b/libopie2/opiepim/TODO
@@ -3,7 +3,10 @@ As to popular request....
31.) fix up the core/backend mess. 31.) fix up the core/backend mess.
4 The actual Backend Implementation + Interface should be there 4 The actual Backend Implementation + Interface should be there
5 The API frontend used by the developer should not be used 5 The API frontend used by the developer should not be used
6 6
7 Rename ODateBookAccess* to OPimDateBookAccess*
8 Fix filenames to OPim* ...
9
72.) Move sorting, Query By Example, Exposing of Attributes of a Record 102.) Move sorting, Query By Example, Exposing of Attributes of a Record
8 available to the Ptr base class and have sane implementation 11 available to the Ptr base class and have sane implementation
9 on the template level 12 on the template level
diff --git a/libopie2/opiepim/core/opimcontact.cpp b/libopie2/opiepim/core/opimcontact.cpp
index 4a774e8..c1e06c8 100644
--- a/libopie2/opiepim/core/opimcontact.cpp
+++ b/libopie2/opiepim/core/opimcontact.cpp
@@ -1275,7 +1275,7 @@ void OPimContact::insertEmails( const QStringList &v )
1275} 1275}
1276 1276
1277 1277
1278int OPimContact::rtti() 1278int OPimContact::rtti() const
1279{ 1279{
1280 return OPimResolver::AddressBook; 1280 return OPimResolver::AddressBook;
1281} 1281}
diff --git a/libopie2/opiepim/core/opimcontact.h b/libopie2/opiepim/core/opimcontact.h
index 9d3cacc..6891dd6 100644
--- a/libopie2/opiepim/core/opimcontact.h
+++ b/libopie2/opiepim/core/opimcontact.h
@@ -228,7 +228,7 @@ class QPC_EXPORT OPimContact : public OPimRecord
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 static int rtti(); 231 int rtti() const;
232 232
233 private: 233 private:
234 // The XML Backend needs some access to the private functions 234 // The XML Backend needs some access to the private functions
diff --git a/libopie2/opiepim/core/opimevent.cpp b/libopie2/opiepim/core/opimevent.cpp
index 77730e9..8bf8b25 100644
--- a/libopie2/opiepim/core/opimevent.cpp
+++ b/libopie2/opiepim/core/opimevent.cpp
@@ -481,7 +481,7 @@ QString OPimEvent::recordField( int /*id */ ) const
481} 481}
482 482
483 483
484int OPimEvent::rtti() 484int OPimEvent::rtti() const
485{ 485{
486 return OPimResolver::DateBook; 486 return OPimResolver::DateBook;
487} 487}
diff --git a/libopie2/opiepim/core/opimevent.h b/libopie2/opiepim/core/opimevent.h
index 949f263..56fe917 100644
--- a/libopie2/opiepim/core/opimevent.h
+++ b/libopie2/opiepim/core/opimevent.h
@@ -183,7 +183,7 @@ class OPimEvent : public OPimRecord
183 void fromMap( const QMap<int, QString>& map ); 183 void fromMap( const QMap<int, QString>& map );
184 QString recordField( int ) const; 184 QString recordField( int ) const;
185 185
186 static int rtti(); 186 int rtti() const;
187 187
188 bool loadFromStream( QDataStream& ); 188 bool loadFromStream( QDataStream& );
189 bool saveToStream( QDataStream& ) const; 189 bool saveToStream( QDataStream& ) const;
diff --git a/libopie2/opiepim/core/opimrecord.cpp b/libopie2/opiepim/core/opimrecord.cpp
index 67eed41..c783092 100644
--- a/libopie2/opiepim/core/opimrecord.cpp
+++ b/libopie2/opiepim/core/opimrecord.cpp
@@ -147,7 +147,7 @@ OPimXRefManager &OPimRecord::xrefmanager()
147} 147}
148 148
149 149
150int OPimRecord::rtti() 150int OPimRecord::rtti() const
151{ 151{
152 return 0; 152 return 0;
153} 153}
diff --git a/libopie2/opiepim/core/opimrecord.h b/libopie2/opiepim/core/opimrecord.h
index 4981a41..127439a 100644
--- a/libopie2/opiepim/core/opimrecord.h
+++ b/libopie2/opiepim/core/opimrecord.h
@@ -160,7 +160,7 @@ class OPimRecord : public Qtopia::Record
160 * used inside the Templates for casting 160 * used inside the Templates for casting
161 * REIMPLEMENT in your .... 161 * REIMPLEMENT in your ....
162 */ 162 */
163 static int rtti(); 163 virtual int rtti() const;
164 164
165 /** 165 /**
166 * some marshalling and de marshalling code 166 * some marshalling and de marshalling code
diff --git a/libopie2/opiepim/core/opimtodo.cpp b/libopie2/opiepim/core/opimtodo.cpp
index f246bfd..47433e0 100644
--- a/libopie2/opiepim/core/opimtodo.cpp
+++ b/libopie2/opiepim/core/opimtodo.cpp
@@ -703,7 +703,7 @@ QString OPimTodo::recordField( int /*id*/ ) const
703} 703}
704 704
705 705
706int OPimTodo::rtti() 706int OPimTodo::rtti() const
707{ 707{
708 return OPimResolver::TodoList; 708 return OPimResolver::TodoList;
709} 709}
diff --git a/libopie2/opiepim/core/opimtodo.h b/libopie2/opiepim/core/opimtodo.h
index 5304180..e17fe6a 100644
--- a/libopie2/opiepim/core/opimtodo.h
+++ b/libopie2/opiepim/core/opimtodo.h
@@ -295,7 +295,7 @@ class OPimTodo : public OPimRecord
295 bool operator==( const OPimTodo &toDoEvent ) const; 295 bool operator==( const OPimTodo &toDoEvent ) const;
296 OPimTodo &operator=( const OPimTodo &toDoEvent ); 296 OPimTodo &operator=( const OPimTodo &toDoEvent );
297 297
298 static int rtti(); 298 int rtti() const;
299 299
300 private: 300 private:
301 class OPimTodoPrivate; 301 class OPimTodoPrivate;