summaryrefslogtreecommitdiffstats
path: root/plugins/kmail/bodypartformatter/text_calendar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kmail/bodypartformatter/text_calendar.cpp')
-rw-r--r--plugins/kmail/bodypartformatter/text_calendar.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/kmail/bodypartformatter/text_calendar.cpp b/plugins/kmail/bodypartformatter/text_calendar.cpp
index 87d29875..d07e6cb1 100644
--- a/plugins/kmail/bodypartformatter/text_calendar.cpp
+++ b/plugins/kmail/bodypartformatter/text_calendar.cpp
@@ -344,16 +344,16 @@ class UrlHandler : public KMail::Interface::BodyPartURLHandler
TQString subject;
switch ( type ) {
case Answer:
- subject = i18n( "Answer: %1" ).arg( summary );
+ subject = i18n( "Answer: %1" ).tqarg( summary );
break;
case Delegation:
- subject = i18n( "Delegated: %1" ).arg( summary );
+ subject = i18n( "Delegated: %1" ).tqarg( summary );
break;
case Forward:
- subject = i18n( "Forwarded: %1" ).arg( summary );
+ subject = i18n( "Forwarded: %1" ).tqarg( summary );
break;
case DeclineCounter:
- subject = i18n( "Declined Counter Proposal: %1" ).arg( summary );
+ subject = i18n( "Declined Counter Proposal: %1" ).tqarg( summary );
break;
}
@@ -434,13 +434,13 @@ class UrlHandler : public KMail::Interface::BodyPartURLHandler
Q_ASSERT( event );
if ( !event->doesFloat() ) {
if ( event->dtEnd() < now ) {
- warnStr = i18n( "\"%1\" occurred already." ).arg( event->summary() );
+ warnStr = i18n( "\"%1\" occurred already." ).tqarg( event->summary() );
} else if ( event->dtStart() <= now && now <= event->dtEnd() ) {
- warnStr = i18n( "\"%1\" is currently in-progress." ).arg( event->summary() );
+ warnStr = i18n( "\"%1\" is currently in-progress." ).tqarg( event->summary() );
}
} else {
if ( event->dtEnd().date() < today ) {
- warnStr = i18n( "\"%1\" occurred already." ).arg( event->summary() );
+ warnStr = i18n( "\"%1\" occurred already." ).tqarg( event->summary() );
} else if ( event->dtStart().date() <= today && today <= event->dtEnd().date() ) {
warnStr = i18n( "\"%1\", happening all day today, is currently in-progress." ).
arg( event->summary() );
@@ -451,19 +451,19 @@ class UrlHandler : public KMail::Interface::BodyPartURLHandler
if ( !todo->doesFloat() ) {
if ( todo->hasDueDate() ) {
if ( todo->dtDue() < now ) {
- warnStr = i18n( "\"%1\" is past due." ).arg( todo->summary() );
+ warnStr = i18n( "\"%1\" is past due." ).tqarg( todo->summary() );
} else if ( todo->hasStartDate() && todo->dtStart() <= now && now <= todo->dtDue() ) {
- warnStr = i18n( "\"%1\" is currently in-progress." ).arg( todo->summary() );
+ warnStr = i18n( "\"%1\" is currently in-progress." ).tqarg( todo->summary() );
}
} else if ( todo->hasStartDate() ) {
if ( todo->dtStart() < now ) {
- warnStr = i18n( "\"%1\" has already started." ).arg( todo->summary() );
+ warnStr = i18n( "\"%1\" has already started." ).tqarg( todo->summary() );
}
}
} else {
if ( todo->hasDueDate() ) {
if ( todo->dtDue().date() < today) {
- warnStr = i18n( "\"%1\" is past due." ).arg( todo->summary() );
+ warnStr = i18n( "\"%1\" is past due." ).tqarg( todo->summary() );
} else if ( todo->hasStartDate() &&
todo->dtStart().date() <= today && today <= todo->dtDue().date() ) {
warnStr = i18n( "\"%1\", happening all-day today, is currently in-progress." ).
@@ -526,12 +526,12 @@ class UrlHandler : public KMail::Interface::BodyPartURLHandler
} else if ( path.startsWith( "ATTACH:" ) ) {
return false;
} else {
- queryStr = i18n( "%1?" ).arg( path );
+ queryStr = i18n( "%1?" ).tqarg( path );
}
if ( KMessageBox::warningYesNo(
0,
- i18n( "%1\n%2" ).arg( warnStr ).arg( queryStr ) ) == KMessageBox::No ) {
+ i18n( "%1\n%2" ).tqarg( warnStr ).tqarg( queryStr ) ) == KMessageBox::No ) {
return true;
}
}
@@ -820,7 +820,7 @@ class UrlHandler : public KMail::Interface::BodyPartURLHandler
case KMessageBox::No: // means "send email"
summary = incidence->summary();
if ( !summary.isEmpty() ) {
- summary = i18n( "Re: %1" ).arg( summary );
+ summary = i18n( "Re: %1" ).tqarg( summary );
}
KApplication::kApplication()->invokeMailer( incidence->organizer().email(), summary );