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 /libopie/pim/opimmaintainer.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 'libopie/pim/opimmaintainer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/opimmaintainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libopie/pim/opimmaintainer.cpp b/libopie/pim/opimmaintainer.cpp index e34f035..92cb25a 100644 --- a/libopie/pim/opimmaintainer.cpp +++ b/libopie/pim/opimmaintainer.cpp | |||
@@ -1,37 +1,37 @@ | |||
1 | #include "opimmaintainer.h" | 1 | #include "opimmaintainer.h" |
2 | 2 | ||
3 | OPimMaintainer::OPimMaintainer( enum Mode mode, int uid ) | 3 | OPimMaintainer::OPimMaintainer( int mode, int uid ) |
4 | : m_mode(mode), m_uid(uid ) | 4 | : m_mode(mode), m_uid(uid ) |
5 | {} | 5 | {} |
6 | OPimMaintainer::~OPimMaintainer() { | 6 | OPimMaintainer::~OPimMaintainer() { |
7 | } | 7 | } |
8 | OPimMaintainer::OPimMaintainer( const OPimMaintainer& main ) { | 8 | OPimMaintainer::OPimMaintainer( const OPimMaintainer& main ) { |
9 | *this = main; | 9 | *this = main; |
10 | } | 10 | } |
11 | OPimMaintainer &OPimMaintainer::operator=( const OPimMaintainer& main ) { | 11 | OPimMaintainer &OPimMaintainer::operator=( const OPimMaintainer& main ) { |
12 | m_mode = main.m_mode; | 12 | m_mode = main.m_mode; |
13 | m_uid = main.m_uid; | 13 | m_uid = main.m_uid; |
14 | 14 | ||
15 | return *this; | 15 | return *this; |
16 | } | 16 | } |
17 | bool OPimMaintainer::operator==( const OPimMaintainer& main ) { | 17 | bool OPimMaintainer::operator==( const OPimMaintainer& main ) { |
18 | if (m_mode != main.m_mode ) return false; | 18 | if (m_mode != main.m_mode ) return false; |
19 | if (m_uid != main.m_uid ) return false; | 19 | if (m_uid != main.m_uid ) return false; |
20 | 20 | ||
21 | return true; | 21 | return true; |
22 | } | 22 | } |
23 | bool OPimMaintainer::operator!=( const OPimMaintainer& main ) { | 23 | bool OPimMaintainer::operator!=( const OPimMaintainer& main ) { |
24 | return !(*this == main ); | 24 | return !(*this == main ); |
25 | } | 25 | } |
26 | OPimMaintainer::Mode OPimMaintainer::mode()const { | 26 | int OPimMaintainer::mode()const { |
27 | return m_mode; | 27 | return m_mode; |
28 | } | 28 | } |
29 | int OPimMaintainer::uid()const { | 29 | int OPimMaintainer::uid()const { |
30 | return m_uid; | 30 | return m_uid; |
31 | } | 31 | } |
32 | void OPimMaintainer::setMode( enum Mode mo) { | 32 | void OPimMaintainer::setMode( int mo) { |
33 | m_mode = mo; | 33 | m_mode = mo; |
34 | } | 34 | } |
35 | void OPimMaintainer::setUid( int uid ) { | 35 | void OPimMaintainer::setUid( int uid ) { |
36 | m_uid = uid; | 36 | m_uid = uid; |
37 | } | 37 | } |