summaryrefslogtreecommitdiffstats
path: root/kalarm/karecurrence.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/karecurrence.h')
-rw-r--r--kalarm/karecurrence.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kalarm/karecurrence.h b/kalarm/karecurrence.h
index ed0fc2fc9..f574cd59a 100644
--- a/kalarm/karecurrence.h
+++ b/kalarm/karecurrence.h
@@ -51,22 +51,22 @@ class KARecurrence : public KCal::Recurrence
KARecurrence() : KCal::Recurrence(), mFeb29Type(FEB29_FEB29), mCachedType(-1) { }
KARecurrence(const KCal::Recurrence& r) : KCal::Recurrence(r) { fix(); }
KARecurrence(const KARecurrence& r) : KCal::Recurrence(r), mFeb29Type(r.mFeb29Type), mCachedType(r.mCachedType) { }
- bool set(const QString& icalRRULE);
- bool set(Type t, int freq, int count, const DateTime& start, const QDateTime& end)
+ bool set(const TQString& icalRRULE);
+ bool set(Type t, int freq, int count, const DateTime& start, const TQDateTime& end)
{ return set(t, freq, count, -1, start, end); }
- bool set(Type t, int freq, int count, const DateTime& start, const QDateTime& end, Feb29Type f29)
+ bool set(Type t, int freq, int count, const DateTime& start, const TQDateTime& end, Feb29Type f29)
{ return set(t, freq, count, f29, start, end); }
- bool init(KCal::RecurrenceRule::PeriodType t, int freq, int count, const DateTime& start, const QDateTime& end)
+ bool init(KCal::RecurrenceRule::PeriodType t, int freq, int count, const DateTime& start, const TQDateTime& end)
{ return init(t, freq, count, -1, start, end); }
- bool init(KCal::RecurrenceRule::PeriodType t, int freq, int count, const DateTime& start, const QDateTime& end, Feb29Type f29)
+ bool init(KCal::RecurrenceRule::PeriodType t, int freq, int count, const DateTime& start, const TQDateTime& end, Feb29Type f29)
{ return init(t, freq, count, f29, start, end); }
void fix();
void writeRecurrence(KCal::Recurrence&) const;
- QDateTime endDateTime() const;
- QDate endDate() const;
- bool recursOn(const QDate&) const;
- QDateTime getNextDateTime(const QDateTime& preDateTime) const;
- QDateTime getPreviousDateTime(const QDateTime& afterDateTime) const;
+ TQDateTime endDateTime() const;
+ TQDate endDate() const;
+ bool recursOn(const TQDate&) const;
+ TQDateTime getNextDateTime(const TQDateTime& preDateTime) const;
+ TQDateTime getPreviousDateTime(const TQDateTime& afterDateTime) const;
int longestInterval() const;
Type type() const;
static Type type(const KCal::RecurrenceRule*);
@@ -76,10 +76,10 @@ class KARecurrence : public KCal::Recurrence
static void setDefaultFeb29Type(Feb29Type t) { mDefaultFeb29 = t; }
private:
- bool set(Type, int freq, int count, int feb29Type, const DateTime& start, const QDateTime& end);
- bool init(KCal::RecurrenceRule::PeriodType, int freq, int count, int feb29Type, const DateTime& start, const QDateTime& end);
- int combineDurations(const KCal::RecurrenceRule*, const KCal::RecurrenceRule*, QDate& end) const;
- int longestWeeklyInterval(const QBitArray& days, int frequency);
+ bool set(Type, int freq, int count, int feb29Type, const DateTime& start, const TQDateTime& end);
+ bool init(KCal::RecurrenceRule::PeriodType, int freq, int count, int feb29Type, const DateTime& start, const TQDateTime& end);
+ int combineDurations(const KCal::RecurrenceRule*, const KCal::RecurrenceRule*, TQDate& end) const;
+ int longestWeeklyInterval(const TQBitArray& days, int frequency);
static Feb29Type mDefaultFeb29;
Feb29Type mFeb29Type; // yearly recurrence on Feb 29th (leap years) / Mar 1st (non-leap years)