From 6155f1be5c19fc51a4929c9e173f9e5a24d193e6 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 21 Feb 2004 12:25:50 +0000 Subject: the usual cosmetics --- (limited to 'libopie2/opiepim/core/orecur.h') diff --git a/libopie2/opiepim/core/orecur.h b/libopie2/opiepim/core/orecur.h index 60508f5..7808897 100644 --- a/libopie2/opiepim/core/orecur.h +++ b/libopie2/opiepim/core/orecur.h @@ -27,15 +27,16 @@ Boston, MA 02111-1307, USA. */ -#ifndef OPIE_RECUR_H -#define OPIE_RECUR_H - -#include +#ifndef ORECUR_H +#define ORECUR_H +/* QT */ #include #include #include +/* STD */ +#include namespace Opie { /** @@ -43,14 +44,15 @@ namespace Opie { */ class ORecur { -public: + + public: typedef QValueList ExceptionList; enum RepeatType{ NoRepeat = -1, Daily, Weekly, MonthlyDay, MonthlyDate, Yearly }; enum Days { MON = 0x01, TUE = 0x02, WED = 0x04, THU = 0x08, FRI = 0x10, SAT = 0x20, SUN = 0x40 }; enum Fields{ RType = 0, RWeekdays, RPosition, RFreq, RHasEndDate, - EndDate, Created, Exceptions }; + EndDate, Created, Exceptions }; ORecur(); ORecur( const QMap& map ); @@ -114,7 +116,8 @@ public: /* almost internal */ QString toString()const; -private: + + private: bool p_nextOccurrence( const QDate& from, QDate& next ); void deref(); inline void checkOrModify(); -- cgit v0.9.0.2