diff options
Diffstat (limited to 'libkcal/attendee.cpp')
-rw-r--r-- | libkcal/attendee.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libkcal/attendee.cpp b/libkcal/attendee.cpp index 7594c8eb3..3cb2afedf 100644 --- a/libkcal/attendee.cpp +++ b/libkcal/attendee.cpp @@ -19,7 +19,7 @@ Boston, MA 02110-1301, USA. */ -#include <qstringlist.h> +#include <tqstringlist.h> #include <kdebug.h> #include <klocale.h> @@ -28,8 +28,8 @@ using namespace KCal; -Attendee::Attendee( const QString &name, const QString &email, bool _rsvp, - Attendee::PartStat s, Attendee::Role r, const QString &u) +Attendee::Attendee( const TQString &name, const TQString &email, bool _rsvp, + Attendee::PartStat s, Attendee::Role r, const TQString &u) : Person( name, email ) { mRSVP = _rsvp; @@ -63,12 +63,12 @@ Attendee::PartStat Attendee::status() const return mStatus; } -QString Attendee::statusStr() const +TQString Attendee::statusStr() const { return statusName( mStatus ); } -QString Attendee::statusName( Attendee::PartStat s ) +TQString Attendee::statusName( Attendee::PartStat s ) { switch ( s ) { default: @@ -96,9 +96,9 @@ QString Attendee::statusName( Attendee::PartStat s ) } } -QStringList Attendee::statusList() +TQStringList Attendee::statusList() { - QStringList list; + TQStringList list; list << statusName( NeedsAction ); list << statusName( Accepted ); list << statusName( Declined ); @@ -121,22 +121,22 @@ Attendee::Role Attendee::role() const return mRole; } -QString Attendee::roleStr() const +TQString Attendee::roleStr() const { return roleName( mRole ); } -void Attendee::setUid( const QString &uid ) +void Attendee::setUid( const TQString &uid ) { mUid = uid; } -QString Attendee::uid() const +TQString Attendee::uid() const { return mUid; } -QString Attendee::roleName( Attendee::Role r ) +TQString Attendee::roleName( Attendee::Role r ) { switch ( r ) { case Chair: @@ -155,9 +155,9 @@ QString Attendee::roleName( Attendee::Role r ) } } -QStringList Attendee::roleList() +TQStringList Attendee::roleList() { - QStringList list; + TQStringList list; list << roleName( ReqParticipant ); list << roleName( OptParticipant ); list << roleName( NonParticipant ); |