summaryrefslogtreecommitdiffstats
path: root/libkcal/freebusy.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 /libkcal/freebusy.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 '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 0ba1e2cd5..d87234f30 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;