author | zecke <zecke> | 2002-11-30 11:28:47 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-11-30 11:28:47 (UTC) |
commit | 9b8b30fa6cbdf1424b29cde21fae112e8bf96e6d (patch) (unidiff) | |
tree | 896dd858dc2ec2f0b7e1b265cae66ccceecc82da /libopie2/opiepim/core/opimrecord.cpp | |
parent | 599c58c6ab2ab936890cbbfa4e6299493c141f8a (diff) | |
download | opie-9b8b30fa6cbdf1424b29cde21fae112e8bf96e6d.zip opie-9b8b30fa6cbdf1424b29cde21fae112e8bf96e6d.tar.gz opie-9b8b30fa6cbdf1424b29cde21fae112e8bf96e6d.tar.bz2 |
More infrastructure
ORecur has now the nextOccurence function
exceptions
We've now Notifers like Alarms and DatebookEntries
we may add to execute applications...
AppName replaced with service cause it is a service
Add rtti to OPimRecord as a static function
This is used inside the BackEnd classes to static_cast...
added removeAllCompleted to the todobackends...
add a common Opie PIM mainwindow which takes care of some simple
scripting enchangements..
much more
Diffstat (limited to 'libopie2/opiepim/core/opimrecord.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimrecord.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie2/opiepim/core/opimrecord.cpp b/libopie2/opiepim/core/opimrecord.cpp index 0e3be9d..49b5bf9 100644 --- a/libopie2/opiepim/core/opimrecord.cpp +++ b/libopie2/opiepim/core/opimrecord.cpp | |||
@@ -58,24 +58,27 @@ bool OPimRecord::isEmpty()const { | |||
58 | for (it = m_relations.begin(); it != m_relations.end(); ++it ) { | 58 | for (it = m_relations.begin(); it != m_relations.end(); ++it ) { |
59 | QArray<int> id = it.data(); | 59 | QArray<int> id = it.data(); |
60 | for ( uint i = 0; i < id.size(); ++i ) { | 60 | for ( uint i = 0; i < id.size(); ++i ) { |
61 | str += it.key() + "," + QString::number( i ) + ";"; | 61 | str += it.key() + "," + QString::number( i ) + ";"; |
62 | } | 62 | } |
63 | } | 63 | } |
64 | str = str.remove( str.length()-1, 1); // strip the ; | 64 | str = str.remove( str.length()-1, 1); // strip the ; |
65 | //qWarning("IDS " + str ); | 65 | //qWarning("IDS " + str ); |
66 | 66 | ||
67 | return str; | 67 | return str; |
68 | }*/ | 68 | }*/ |
69 | /* if uid = 1 assign a new one */ | 69 | /* if uid = 1 assign a new one */ |
70 | void OPimRecord::setUid( int uid ) { | 70 | void OPimRecord::setUid( int uid ) { |
71 | if ( uid == 1) | 71 | if ( uid == 1) |
72 | uid = uidGen().generate(); | 72 | uid = uidGen().generate(); |
73 | 73 | ||
74 | Qtopia::Record::setUid( uid ); | 74 | Qtopia::Record::setUid( uid ); |
75 | }; | 75 | }; |
76 | Qtopia::UidGen &OPimRecord::uidGen() { | 76 | Qtopia::UidGen &OPimRecord::uidGen() { |
77 | return m_uidGen; | 77 | return m_uidGen; |
78 | } | 78 | } |
79 | OPimXRefManager &OPimRecord::xrefmanager() { | 79 | OPimXRefManager &OPimRecord::xrefmanager() { |
80 | return m_xrefman; | 80 | return m_xrefman; |
81 | } | 81 | } |
82 | int OPimRecord::rtti(){ | ||
83 | return 0; | ||
84 | } | ||