summaryrefslogtreecommitdiffstats
path: root/libtdepim/broadcaststatus.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /libtdepim/broadcaststatus.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'libtdepim/broadcaststatus.cpp')
-rw-r--r--libtdepim/broadcaststatus.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/libtdepim/broadcaststatus.cpp b/libtdepim/broadcaststatus.cpp
index a9e8a207a..1c1613795 100644
--- a/libtdepim/broadcaststatus.cpp
+++ b/libtdepim/broadcaststatus.cpp
@@ -57,9 +57,9 @@ void BroadcastStatus::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 BroadcastStatus::seStatusMsgTransmissionCompleted( int numMessages,
@@ -78,13 +78,13 @@ void BroadcastStatus::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.",
@@ -96,7 +96,7 @@ void BroadcastStatus::seStatusMsgTransmissionCompleted( int numMessages,
seStatusMsgWithTimestamp( statusMsg );
if ( item )
- item->seStatus( statusMsg );
+ item->setqStatus( statusMsg );
}
void BroadcastStatus::seStatusMsgTransmissionCompleted( const TQString& account,
@@ -118,17 +118,17 @@ void BroadcastStatus::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,15 +136,15 @@ void BroadcastStatus::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 )
- item->seStatus( statusMsg );
+ item->setqStatus( statusMsg );
}
void BroadcastStatus::setTransienStatusMsg( const TQString& msg )