summaryrefslogtreecommitdiffstats
path: root/ktnef/ktnef/ktnefwriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'ktnef/ktnef/ktnefwriter.h')
-rw-r--r--ktnef/ktnef/ktnefwriter.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/ktnef/ktnef/ktnefwriter.h b/ktnef/ktnef/ktnefwriter.h
index ab04c0b3..29828c1f 100644
--- a/ktnef/ktnef/ktnefwriter.h
+++ b/ktnef/ktnef/ktnefwriter.h
@@ -30,12 +30,12 @@ public:
KTNEFWriter();
~KTNEFWriter();
- void addProperty( int tag, int type, const QVariant& value );
+ void addProperty( int tag, int type, const TQVariant& value );
- bool writeFile( QIODevice &file );
- bool writeFile( QDataStream &stream );
+ bool writeFile( TQIODevice &file );
+ bool writeFile( TQDataStream &stream );
- bool writeProperty( QDataStream &stream, int &bytes, int type);
+ bool writeProperty( TQDataStream &stream, int &bytes, int type);
enum MessageType {
Appointment, MeetingCancelled, MeetingRequest,
@@ -64,24 +64,24 @@ public:
};
// This set of functions sets all properties on the file you want to save
- void setSender(const QString &name, const QString &email);
+ void setSender(const TQString &name, const TQString &email);
void setMessageType(MessageType m);
void setMethod( Method m );
void clearAttendees();
- void addAttendee( const QString& cn, Role r, PartStat p, bool rsvp,
- const QString& mailto );
- void setOrganizer( const QString& organizer ); // Is that the same as sender???
- void setDtStart( const QDateTime& dtStart );
- void setDtEnd( const QDateTime& dtEnd );
- void setLocation( const QString& location );
- void setUID( const QString& uid );
- void setDtStamp( const QDateTime& dtStamp );
- void setCategories( const QStringList& );
- void setDescription( const QString& );
- void setSummary( const QString& );
+ void addAttendee( const TQString& cn, Role r, PartStat p, bool rsvp,
+ const TQString& mailto );
+ void setOrganizer( const TQString& organizer ); // Is that the same as sender???
+ void setDtStart( const TQDateTime& dtStart );
+ void setDtEnd( const TQDateTime& dtEnd );
+ void setLocation( const TQString& location );
+ void setUID( const TQString& uid );
+ void setDtStamp( const TQDateTime& dtStamp );
+ void setCategories( const TQStringList& );
+ void setDescription( const TQString& );
+ void setSummary( const TQString& );
void setPriority( Priority p );
- void setAlarm( const QString& description, AlarmAction action,
- const QDateTime& wakeBefore );
+ void setAlarm( const TQString& description, AlarmAction action,
+ const TQDateTime& wakeBefore );
private:
class PrivateData;