author | mickeyl <mickeyl> | 2003-12-22 12:28:53 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-12-22 12:28:53 (UTC) |
commit | 7091076c85ef81a5873a968ea6d992394a3a58fd (patch) (unidiff) | |
tree | 2c9eead1c60a5b63ebdec914b99e4e0d620cbb1f | |
parent | 5be4ab495ca232d64305b2634e3bca074f542539 (diff) | |
download | opie-7091076c85ef81a5873a968ea6d992394a3a58fd.zip opie-7091076c85ef81a5873a968ea6d992394a3a58fd.tar.gz opie-7091076c85ef81a5873a968ea6d992394a3a58fd.tar.bz2 |
add a few missing const directives to get it to compile again
-rw-r--r-- | libopie/pim/odatebookaccess.cpp | 8 | ||||
-rw-r--r-- | libopie2/opiepim/core/odatebookaccess.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/libopie/pim/odatebookaccess.cpp b/libopie/pim/odatebookaccess.cpp index 82934f9..d95fed6 100644 --- a/libopie/pim/odatebookaccess.cpp +++ b/libopie/pim/odatebookaccess.cpp | |||
@@ -52,30 +52,30 @@ ODateBookAccess::List ODateBookAccess::nonRepeats()const { | |||
52 | 52 | ||
53 | /** | 53 | /** |
54 | * @return dates in the time span between from and to | 54 | * @return dates in the time span between from and to |
55 | * @param from Include all events from... | 55 | * @param from Include all events from... |
56 | * @param to Include all events to... | 56 | * @param to Include all events to... |
57 | */ | 57 | */ |
58 | OEffectiveEvent::ValueList ODateBookAccess::effectiveEvents( const QDate& from, const QDate& to ) { | 58 | OEffectiveEvent::ValueList ODateBookAccess::effectiveEvents( const QDate& from, const QDate& to ) const { |
59 | return m_backEnd->effectiveEvents( from, to ); | 59 | return m_backEnd->effectiveEvents( from, to ); |
60 | } | 60 | } |
61 | /** | 61 | /** |
62 | * @return all events at a given datetime | 62 | * @return all events at a given datetime |
63 | */ | 63 | */ |
64 | OEffectiveEvent::ValueList ODateBookAccess::effectiveEvents( const QDateTime& start ) { | 64 | OEffectiveEvent::ValueList ODateBookAccess::effectiveEvents( const QDateTime& start ) const { |
65 | return m_backEnd->effectiveEvents( start ); | 65 | return m_backEnd->effectiveEvents( start ); |
66 | } | 66 | } |
67 | 67 | ||
68 | /** | 68 | /** |
69 | * @return non repeating dates in the time span between from and to | 69 | * @return non repeating dates in the time span between from and to |
70 | * @param from Include all events from... | 70 | * @param from Include all events from... |
71 | * @param to Include all events to... | 71 | * @param to Include all events to... |
72 | */ | 72 | */ |
73 | OEffectiveEvent::ValueList ODateBookAccess::effectiveNonRepeatingEvents( const QDate& from, const QDate& to ) { | 73 | OEffectiveEvent::ValueList ODateBookAccess::effectiveNonRepeatingEvents( const QDate& from, const QDate& to ) const { |
74 | return m_backEnd->effectiveNonRepeatingEvents( from, to ); | 74 | return m_backEnd->effectiveNonRepeatingEvents( from, to ); |
75 | } | 75 | } |
76 | /** | 76 | /** |
77 | * @return all non repeating events at a given datetime | 77 | * @return all non repeating events at a given datetime |
78 | */ | 78 | */ |
79 | OEffectiveEvent::ValueList ODateBookAccess::effectiveNonRepeatingEvents( const QDateTime& start ) { | 79 | OEffectiveEvent::ValueList ODateBookAccess::effectiveNonRepeatingEvents( const QDateTime& start ) const { |
80 | return m_backEnd->effectiveNonRepeatingEvents( start ); | 80 | return m_backEnd->effectiveNonRepeatingEvents( start ); |
81 | } | 81 | } |
diff --git a/libopie2/opiepim/core/odatebookaccess.cpp b/libopie2/opiepim/core/odatebookaccess.cpp index 82934f9..d95fed6 100644 --- a/libopie2/opiepim/core/odatebookaccess.cpp +++ b/libopie2/opiepim/core/odatebookaccess.cpp | |||
@@ -52,30 +52,30 @@ ODateBookAccess::List ODateBookAccess::nonRepeats()const { | |||
52 | 52 | ||
53 | /** | 53 | /** |
54 | * @return dates in the time span between from and to | 54 | * @return dates in the time span between from and to |
55 | * @param from Include all events from... | 55 | * @param from Include all events from... |
56 | * @param to Include all events to... | 56 | * @param to Include all events to... |
57 | */ | 57 | */ |
58 | OEffectiveEvent::ValueList ODateBookAccess::effectiveEvents( const QDate& from, const QDate& to ) { | 58 | OEffectiveEvent::ValueList ODateBookAccess::effectiveEvents( const QDate& from, const QDate& to ) const { |
59 | return m_backEnd->effectiveEvents( from, to ); | 59 | return m_backEnd->effectiveEvents( from, to ); |
60 | } | 60 | } |
61 | /** | 61 | /** |
62 | * @return all events at a given datetime | 62 | * @return all events at a given datetime |
63 | */ | 63 | */ |
64 | OEffectiveEvent::ValueList ODateBookAccess::effectiveEvents( const QDateTime& start ) { | 64 | OEffectiveEvent::ValueList ODateBookAccess::effectiveEvents( const QDateTime& start ) const { |
65 | return m_backEnd->effectiveEvents( start ); | 65 | return m_backEnd->effectiveEvents( start ); |
66 | } | 66 | } |
67 | 67 | ||
68 | /** | 68 | /** |
69 | * @return non repeating dates in the time span between from and to | 69 | * @return non repeating dates in the time span between from and to |
70 | * @param from Include all events from... | 70 | * @param from Include all events from... |
71 | * @param to Include all events to... | 71 | * @param to Include all events to... |
72 | */ | 72 | */ |
73 | OEffectiveEvent::ValueList ODateBookAccess::effectiveNonRepeatingEvents( const QDate& from, const QDate& to ) { | 73 | OEffectiveEvent::ValueList ODateBookAccess::effectiveNonRepeatingEvents( const QDate& from, const QDate& to ) const { |
74 | return m_backEnd->effectiveNonRepeatingEvents( from, to ); | 74 | return m_backEnd->effectiveNonRepeatingEvents( from, to ); |
75 | } | 75 | } |
76 | /** | 76 | /** |
77 | * @return all non repeating events at a given datetime | 77 | * @return all non repeating events at a given datetime |
78 | */ | 78 | */ |
79 | OEffectiveEvent::ValueList ODateBookAccess::effectiveNonRepeatingEvents( const QDateTime& start ) { | 79 | OEffectiveEvent::ValueList ODateBookAccess::effectiveNonRepeatingEvents( const QDateTime& start ) const { |
80 | return m_backEnd->effectiveNonRepeatingEvents( start ); | 80 | return m_backEnd->effectiveNonRepeatingEvents( start ); |
81 | } | 81 | } |