summaryrefslogtreecommitdiffstats
path: root/libkcal/icalformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/icalformat.h')
-rw-r--r--libkcal/icalformat.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/libkcal/icalformat.h b/libkcal/icalformat.h
index b7460006..c35da5eb 100644
--- a/libkcal/icalformat.h
+++ b/libkcal/icalformat.h
@@ -21,7 +21,7 @@
#ifndef KCAL_ICALFORMAT_H
#define KCAL_ICALFORMAT_H
-#include <qstring.h>
+#include <tqstring.h>
#include "scheduler.h"
@@ -54,7 +54,7 @@ class LIBKCAL_EXPORT ICalFormat : public CalFormat
@param calendar Calendar object to be filled.
@param fileName The name of the calendar file on disk.
*/
- bool load( Calendar * calendar, const QString &fileName );
+ bool load( Calendar * calendar, const TQString &fileName );
/**
Writes out the calendar to disk in iCalendar format. Returns true if
successful and false on error.
@@ -62,62 +62,62 @@ class LIBKCAL_EXPORT ICalFormat : public CalFormat
@param calendar The Calendar object to be written.
@param fileName The name of the calendar file on disk.
*/
- bool save( Calendar * calendar, const QString &fileName );
+ bool save( Calendar * calendar, const TQString &fileName );
/**
Parse string and populate calendar with that information.
*/
- bool fromString( Calendar * calendar, const QString & );
+ bool fromString( Calendar * calendar, const TQString & );
/**
Parse string and return first ical component.
*/
- Incidence *fromString( const QString & );
+ Incidence *fromString( const TQString & );
/**
Return calendar information as string.
*/
- QString toString( Calendar * );
+ TQString toString( Calendar * );
/**
Return incidence as full iCalendar formatted text.
*/
- QString toICalString( Incidence * );
+ TQString toICalString( Incidence * );
/**
Return incidence as iCalendar formatted text.
*/
- QString toString( Incidence * );
+ TQString toString( Incidence * );
/**
Return recurrence rule as iCalendar formatted text.
*/
- QString toString( RecurrenceRule * );
+ TQString toString( RecurrenceRule * );
/**
Parse string and fill recurrence object with
that information
*/
- bool fromString ( RecurrenceRule *, const QString& );
+ bool fromString ( RecurrenceRule *, const TQString& );
/**
Create a scheduling message for event @p e using method @p m.
*/
- QString createScheduleMessage(IncidenceBase *e,Scheduler::Method m);
+ TQString createScheduleMessage(IncidenceBase *e,Scheduler::Method m);
/**
Parse scheduling message provided as string @p s.
*/
- ScheduleMessage *parseScheduleMessage( Calendar *, const QString &s);
+ ScheduleMessage *parseScheduleMessage( Calendar *, const TQString &s);
/**
Parse FREEBUSY object.
*/
- FreeBusy *parseFreeBusy( const QString & );
+ FreeBusy *parseFreeBusy( const TQString & );
/**
Set id of used time zone and whether this time zone is UTC or not.
*/
- void setTimeZone( const QString &id, bool utc );
+ void setTimeZone( const TQString &id, bool utc );
/**
Return id string of timezone used.
*/
- QString timeZoneId() const;
+ TQString timeZoneId() const;
/**
Return true if timezone used is UTC, otherwise return false.
*/
@@ -129,13 +129,13 @@ class LIBKCAL_EXPORT ICalFormat : public CalFormat
a utf8 encoded string. This is an overload used for efficiency reading
to avoid utf8 conversions, which are expensive, when reading from disk.
*/
- bool fromRawString( Calendar * calendar, const QCString & );
+ bool fromRawString( Calendar * calendar, const TQCString & );
void setImplementation( ICalFormatImpl *impl );
private:
ICalFormatImpl *mImpl;
- QString mTimeZoneId;
+ TQString mTimeZoneId;
bool mUtc;
class Private;