diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-14 20:16:30 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-14 20:16:30 +0000 |
commit | 1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch) | |
tree | f2defe163a805a9e34a2142dfde4cdb5e49241e7 /libkdepim/broadcaststatus.cpp | |
parent | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff) | |
download | tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip |
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect.
A third and final kdepim commit will repair Qt3 compilation shortly.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/broadcaststatus.cpp')
-rw-r--r-- | libkdepim/broadcaststatus.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libkdepim/broadcaststatus.cpp b/libkdepim/broadcaststatus.cpp index 68900936a..e3f16c32d 100644 --- a/libkdepim/broadcaststatus.cpp +++ b/libkdepim/broadcaststatus.cpp @@ -57,9 +57,9 @@ void BroadcastqStatus::seStatusMsgWithTimestamp( const TQString& message ) { KLocale* locale = KGlobal::locale(); seStatusMsg( i18n( "%1 is a time, %2 is a status message", "[%1] %2" ) - .arg( locale->formatTime( TQTime::currentTime(), + .tqarg( locale->formatTime( TQTime::currentTime(), true /* with seconds */ ) ) - .arg( message ) ); + .tqarg( message ) ); } void BroadcastqStatus::seStatusMsgTransmissionCompleted( int numMessages, @@ -78,13 +78,13 @@ void BroadcastqStatus::seStatusMsgTransmissionCompleted( int numMessages, "Transmission complete. %n new messages in %1 KB " "(%2 KB remaining on the server).", numMessages ) - .arg( numBytesRead / 1024 ) - .arg( numBytes / 1024 ); + .tqarg( numBytesRead / 1024 ) + .tqarg( numBytes / 1024 ); else statusMsg = i18n( "Transmission complete. %n message in %1 KB.", "Transmission complete. %n messages in %1 KB.", numMessages ) - .arg( numBytesRead / 1024 ); + .tqarg( numBytesRead / 1024 ); } else statusMsg = i18n( "Transmission complete. %n new message.", @@ -118,17 +118,17 @@ void BroadcastqStatus::seStatusMsgTransmissionCompleted( const TQString& account "%n new messages in %1 KB " "(%2 KB remaining on the server).", numMessages ) - .arg( numBytesRead / 1024 ) - .arg( numBytes / 1024 ) - .arg( account ); + .tqarg( numBytesRead / 1024 ) + .tqarg( numBytes / 1024 ) + .tqarg( account ); else statusMsg = i18n( "Transmission for account %2 complete. " "%n message in %1 KB.", "Transmission for account %2 complete. " "%n messages in %1 KB.", numMessages ) - .arg( numBytesRead / 1024 ) - .arg( account ); + .tqarg( numBytesRead / 1024 ) + .tqarg( account ); } else statusMsg = i18n( "Transmission for account %1 complete. " @@ -136,11 +136,11 @@ void BroadcastqStatus::seStatusMsgTransmissionCompleted( const TQString& account "Transmission for account %1 complete. " "%n new messages.", numMessages ) - .arg( account ); + .tqarg( account ); } else statusMsg = i18n( "Transmission for account %1 complete. No new messages.") - .arg( account ); + .tqarg( account ); seStatusMsgWithTimestamp( statusMsg ); if ( item ) |