summaryrefslogtreecommitdiffstats
path: root/libkcal/attendee.cpp
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/attendee.cpp
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/attendee.cpp')
-rw-r--r--libkcal/attendee.cpp26
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 );