-rw-r--r-- | libopie/pim/oevent.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libopie/pim/oevent.h b/libopie/pim/oevent.h index 4489be7..c718e2e 100644 --- a/libopie/pim/oevent.h +++ b/libopie/pim/oevent.h @@ -14,5 +14,5 @@ #include "opimrecord.h" -namespace OCalendarHelper { +struct OCalendarHelper { /** calculate the week number of the date */ static int week( const QDate& ); @@ -27,5 +27,5 @@ namespace OCalendarHelper { static int monthDiff( const QDate& first, const QDate& second ); -} +}; class OPimNotifyManager; @@ -140,5 +140,5 @@ private: class OEffectiveEvent { public: - QValueList<OEffectiveEvent> ValueList; + typedef QValueList<OEffectiveEvent> ValueList; enum Position { MidWay, Start, End, StartEnd }; // If we calculate the effective event of a multi-day event |