summaryrefslogtreecommitdiffstats
path: root/libkcal/scheduler.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/scheduler.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/scheduler.cpp')
-rw-r--r--libkcal/scheduler.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/libkcal/scheduler.cpp b/libkcal/scheduler.cpp
index 5a29ad8c..802c977f 100644
--- a/libkcal/scheduler.cpp
+++ b/libkcal/scheduler.cpp
@@ -43,7 +43,7 @@ ScheduleMessage::ScheduleMessage(IncidenceBase *incidence,int method,ScheduleMes
mStatus = status;
}
-QString ScheduleMessage::statusName(ScheduleMessage::Status status)
+TQString ScheduleMessage::statusName(ScheduleMessage::Status status)
{
switch (status) {
case PublishUpdate:
@@ -57,7 +57,7 @@ QString ScheduleMessage::statusName(ScheduleMessage::Status status)
case RequestUpdate:
return i18n("Updated Request");
default:
- return i18n("Unknown Status: %1").arg(QString::number(status));
+ return i18n("Unknown Status: %1").arg(TQString::number(status));
}
}
@@ -123,31 +123,31 @@ bool Scheduler::acceptTransaction(IncidenceBase *incidence,Method method,Schedul
return false;
}
-QString Scheduler::methodName(Method method)
+TQString Scheduler::methodName(Method method)
{
switch (method) {
case Publish:
- return QString::fromLatin1("Publish");
+ return TQString::fromLatin1("Publish");
case Request:
- return QString::fromLatin1("Request");
+ return TQString::fromLatin1("Request");
case Refresh:
- return QString::fromLatin1("Refresh");
+ return TQString::fromLatin1("Refresh");
case Cancel:
- return QString::fromLatin1("Cancel");
+ return TQString::fromLatin1("Cancel");
case Add:
- return QString::fromLatin1("Add");
+ return TQString::fromLatin1("Add");
case Reply:
- return QString::fromLatin1("Reply");
+ return TQString::fromLatin1("Reply");
case Counter:
- return QString::fromLatin1("Counter");
+ return TQString::fromLatin1("Counter");
case Declinecounter:
- return QString::fromLatin1("Decline Counter");
+ return TQString::fromLatin1("Decline Counter");
default:
- return QString::fromLatin1("Unknown");
+ return TQString::fromLatin1("Unknown");
}
}
-QString Scheduler::translatedMethodName(Method method)
+TQString Scheduler::translatedMethodName(Method method)
{
switch (method) {
case Publish:
@@ -338,7 +338,7 @@ bool Scheduler::acceptReply(IncidenceBase *incidence,ScheduleMessage::Status /*
bool attendeeAdded = false;
for ( Attendee::List::ConstIterator it = attendeesNew.constBegin(); it != attendeesNew.constEnd(); ++it ) {
Attendee* attNew = *it;
- QString msg = i18n("%1 wants to attend %2 but was not invited.").arg( attNew->fullName() )
+ TQString msg = i18n("%1 wants to attend %2 but was not invited.").arg( attNew->fullName() )
.arg( ev ? ev->summary() : to->summary() );
if ( !attNew->delegator().isEmpty() )
msg = i18n("%1 wants to attend %2 on behalf of %3.").arg( attNew->fullName() )