summaryrefslogtreecommitdiffstats
path: root/libkcal/freebusy.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/freebusy.h')
-rw-r--r--libkcal/freebusy.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/libkcal/freebusy.h b/libkcal/freebusy.h
index 0ba1e2cd..d87234f3 100644
--- a/libkcal/freebusy.h
+++ b/libkcal/freebusy.h
@@ -22,9 +22,9 @@
#ifndef KCAL_FREEBUSY_H
#define KCAL_FREEBUSY_H
-#include <qdatetime.h>
-#include <qvaluelist.h>
-#include <qptrlist.h>
+#include <tqdatetime.h>
+#include <tqvaluelist.h>
+#include <tqptrlist.h>
#include "period.h"
#include "calendar.h"
@@ -33,7 +33,7 @@
namespace KCal {
- typedef QValueList<Period> PeriodList;
+ typedef TQValueList<Period> PeriodList;
/**
This class provides information about free/busy time of a calendar user.
*/
@@ -41,23 +41,23 @@ class LIBKCAL_EXPORT FreeBusy : public IncidenceBase
{
public:
FreeBusy();
- FreeBusy( const QDateTime &start, const QDateTime &end );
- FreeBusy( Calendar *calendar, const QDateTime &start,
- const QDateTime &end );
+ FreeBusy( const TQDateTime &start, const TQDateTime &end );
+ FreeBusy( Calendar *calendar, const TQDateTime &start,
+ const TQDateTime &end );
FreeBusy( PeriodList busyPeriods );
~FreeBusy();
- QCString type() const { return "FreeBusy"; }
+ TQCString type() const { return "FreeBusy"; }
- virtual QDateTime dtEnd() const;
- bool setDtEnd( const QDateTime &end );
+ virtual TQDateTime dtEnd() const;
+ bool setDtEnd( const TQDateTime &end );
PeriodList busyPeriods() const;
/** Adds a period to the freebusy list and sorts the list. */
- void addPeriod( const QDateTime &start, const QDateTime &end );
- void addPeriod( const QDateTime &start, const Duration &dur );
+ void addPeriod( const TQDateTime &start, const TQDateTime &end );
+ void addPeriod( const TQDateTime &start, const Duration &dur );
/** Adds a list of periods to the freebusy object and then sorts
* that list. Use this if you are adding many items, instead of the
* addPeriod method, to avoid sorting repeatedly. */
@@ -69,9 +69,9 @@ class LIBKCAL_EXPORT FreeBusy : public IncidenceBase
private:
bool accept( Visitor &v ) { return v.visit( this ); }
//This is used for creating a freebusy object for the current user
- bool addLocalPeriod( const QDateTime &start, const QDateTime &end );
+ bool addLocalPeriod( const TQDateTime &start, const TQDateTime &end );
- QDateTime mDtEnd;
+ TQDateTime mDtEnd;
PeriodList mBusyPeriods;
Calendar *mCalendar;