summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core/orecur.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiepim/core/orecur.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/orecur.h17
1 files changed, 10 insertions, 7 deletions
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
@@ -29,7 +29,6 @@
-#ifndef OPIE_RECUR_H
-#define OPIE_RECUR_H
-
-#include <sys/types.h>
+#ifndef ORECUR_H
+#define ORECUR_H
+/* QT */
#include <qdatetime.h>
@@ -38,2 +37,4 @@
+/* STD */
+#include <sys/types.h>
@@ -45,3 +46,4 @@ namespace Opie {
class ORecur {
-public:
+
+ public:
typedef QValueList<QDate> ExceptionList;
@@ -52,3 +54,3 @@ public:
enum Fields{ RType = 0, RWeekdays, RPosition, RFreq, RHasEndDate,
- EndDate, Created, Exceptions };
+ EndDate, Created, Exceptions };
@@ -116,3 +118,4 @@ public:
QString toString()const;
-private:
+
+ private:
bool p_nextOccurrence( const QDate& from, QDate& next );