summaryrefslogtreecommitdiffstats
path: root/kalarm/karecurrence.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/karecurrence.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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)