summaryrefslogtreecommitdiffstats
path: root/kresources/kolab/kcal/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/kolab/kcal/event.h')
-rw-r--r--kresources/kolab/kcal/event.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kresources/kolab/kcal/event.h b/kresources/kolab/kcal/event.h
index ad33db520..879bda2da 100644
--- a/kresources/kolab/kcal/event.h
+++ b/kresources/kolab/kcal/event.h
@@ -53,47 +53,47 @@ class Event : public Incidence {
public:
/// Use this to parse an xml string to a event entry
/// The caller is responsible for deleting the returned event
- static KCal::Event* xmlToEvent( const QString& xml, const QString& tz, KCal::ResourceKolab* res = 0,
- const QString& subResource = QString::null, Q_UINT32 sernum = 0 );
+ static KCal::Event* xmlToEvent( const TQString& xml, const TQString& tz, KCal::ResourceKolab* res = 0,
+ const TQString& subResource = TQString::null, Q_UINT32 sernum = 0 );
/// Use this to get an xml string describing this event entry
- static QString eventToXML( KCal::Event*, const QString& tz );
+ static TQString eventToXML( KCal::Event*, const TQString& tz );
/// Create a event object and
- explicit Event( KCal::ResourceKolab *res, const QString &subResource, Q_UINT32 sernum,
- const QString& tz, KCal::Event* event = 0 );
+ explicit Event( KCal::ResourceKolab *res, const TQString &subResource, Q_UINT32 sernum,
+ const TQString& tz, KCal::Event* event = 0 );
virtual ~Event();
void saveTo( KCal::Event* event );
- virtual QString type() const { return "Event"; }
+ virtual TQString type() const { return "Event"; }
virtual void setTransparency( KCal::Event::Transparency transparency );
virtual KCal::Event::Transparency transparency() const;
- virtual void setEndDate( const QDateTime& date );
- virtual void setEndDate( const QDate& date );
- virtual void setEndDate( const QString& date );
- virtual QDateTime endDate() const;
+ virtual void setEndDate( const TQDateTime& date );
+ virtual void setEndDate( const TQDate& date );
+ virtual void setEndDate( const TQString& date );
+ virtual TQDateTime endDate() const;
// Load the attributes of this class
- virtual bool loadAttribute( QDomElement& );
+ virtual bool loadAttribute( TQDomElement& );
// Save the attributes of this class
- virtual bool saveAttributes( QDomElement& ) const;
+ virtual bool saveAttributes( TQDomElement& ) const;
// Load this event by reading the XML file
- virtual bool loadXML( const QDomDocument& xml );
+ virtual bool loadXML( const TQDomDocument& xml );
// Serialize this event to an XML string
- virtual QString saveXML() const;
+ virtual TQString saveXML() const;
protected:
// Read all known fields from this ical incidence
void setFields( const KCal::Event* );
KCal::Event::Transparency mShowTimeAs;
- QDateTime mEndDate;
+ TQDateTime mEndDate;
bool mHasEndDate;
};