From cf2f3f98a4811668f9e9d0d5f44ea5b51d268cef Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 10 Jul 2004 17:03:16 +0000 Subject: Fixed some problems with the recurrence --- (limited to 'libkcal/recurrence.h') diff --git a/libkcal/recurrence.h b/libkcal/recurrence.h index a0f6d84..b13d14f 100644 --- a/libkcal/recurrence.h +++ b/libkcal/recurrence.h @@ -288,12 +288,14 @@ class Recurrence static void setFeb29YearlyTypeDefault(Feb29Type t) { mFeb29YearlyDefaultType = t; } /** Returns the default method for handling yearly recurrences of February 29th. */ static Feb29Type setFeb29YearlyTypeDefault() { return mFeb29YearlyDefaultType; } - + void addYearlyMonth(short _rPos ); // added LR /** Debug output. */ void dump() const; QString recurrenceText() const; + bool getYearlyMonthMonths(int day, QValueList&, + QValueList &leaplist) const; protected: enum PeriodFunc { END_DATE_AND_COUNT, COUNT_TO_DATE, NEXT_AFTER_DATE }; @@ -346,8 +348,6 @@ class Recurrence void getMonthlyPosDays(QValueList&, int daysInMonth, int startDayOfWeek) const; bool getMonthlyDayDays(QValueList&, int daysInMonth) const; - bool getYearlyMonthMonths(int day, QValueList&, - QValueList &leaplist) const; int getFirstDayInWeek(int startDay, bool useWeekStart = true) const; int getLastDayInWeek(int endDay, bool useWeekStart = true) const; -- cgit v0.9.0.2