summaryrefslogtreecommitdiffstats
path: root/libtdepim/broadcaststatus.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
commit716a5de8870d7c02bb4d0aed72f30291b17b763a (patch)
tree29e58b213ead28151ccf7eb33d12c968ea844120 /libtdepim/broadcaststatus.cpp
parent0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (diff)
downloadtdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.tar.gz
tdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'libtdepim/broadcaststatus.cpp')
-rw-r--r--libtdepim/broadcaststatus.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/libtdepim/broadcaststatus.cpp b/libtdepim/broadcaststatus.cpp
index f87503f97..c48d7f414 100644
--- a/libtdepim/broadcaststatus.cpp
+++ b/libtdepim/broadcaststatus.cpp
@@ -46,23 +46,23 @@ BroadcastStatus::~BroadcastStatus()
instance_ = 0;
}
-void BroadcastStatus::seStatusMsg( const TQString& message )
+void BroadcastStatus::setStatusMsg( const TQString& message )
{
mStatusMsg = message;
if( !mTransientActive )
emit statusMsg( message );
}
-void BroadcastStatus::seStatusMsgWithTimestamp( const TQString& message )
+void BroadcastStatus::setStatusMsgWithTimestamp( const TQString& message )
{
KLocale* locale = KGlobal::locale();
- seStatusMsg( i18n( "%1 is a time, %2 is a status message", "[%1] %2" )
- .tqarg( locale->formatTime( TQTime::currentTime(),
+ setStatusMsg( i18n( "%1 is a time, %2 is a status message", "[%1] %2" )
+ .arg( locale->formatTime( TQTime::currentTime(),
true /* with seconds */ ) )
- .tqarg( message ) );
+ .arg( message ) );
}
-void BroadcastStatus::seStatusMsgTransmissionCompleted( int numMessages,
+void BroadcastStatus::setStatusMsgTransmissionCompleted( int numMessages,
int numBytes,
int numBytesRead,
int numBytesToRead,
@@ -78,13 +78,13 @@ void BroadcastStatus::seStatusMsgTransmissionCompleted( int numMessages,
"Transmission complete. %n new messages in %1 KB "
"(%2 KB remaining on the server).",
numMessages )
- .tqarg( numBytesRead / 1024 )
- .tqarg( numBytes / 1024 );
+ .arg( numBytesRead / 1024 )
+ .arg( numBytes / 1024 );
else
statusMsg = i18n( "Transmission complete. %n message in %1 KB.",
"Transmission complete. %n messages in %1 KB.",
numMessages )
- .tqarg( numBytesRead / 1024 );
+ .arg( numBytesRead / 1024 );
}
else
statusMsg = i18n( "Transmission complete. %n new message.",
@@ -94,12 +94,12 @@ void BroadcastStatus::seStatusMsgTransmissionCompleted( int numMessages,
else
statusMsg = i18n( "Transmission complete. No new messages." );
- seStatusMsgWithTimestamp( statusMsg );
+ setStatusMsgWithTimestamp( statusMsg );
if ( item )
- item->seStatus( statusMsg );
+ item->setStatus( statusMsg );
}
-void BroadcastStatus::seStatusMsgTransmissionCompleted( const TQString& account,
+void BroadcastStatus::setStatusMsgTransmissionCompleted( const TQString& account,
int numMessages,
int numBytes,
int numBytesRead,
@@ -118,17 +118,17 @@ void BroadcastStatus::seStatusMsgTransmissionCompleted( const TQString& account,
"%n new messages in %1 KB "
"(%2 KB remaining on the server).",
numMessages )
- .tqarg( numBytesRead / 1024 )
- .tqarg( numBytes / 1024 )
- .tqarg( account );
+ .arg( numBytesRead / 1024 )
+ .arg( numBytes / 1024 )
+ .arg( 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 )
- .tqarg( numBytesRead / 1024 )
- .tqarg( account );
+ .arg( numBytesRead / 1024 )
+ .arg( 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 )
- .tqarg( account );
+ .arg( account );
}
else
statusMsg = i18n( "Transmission for account %1 complete. No new messages.")
- .tqarg( account );
+ .arg( account );
- seStatusMsgWithTimestamp( statusMsg );
+ setStatusMsgWithTimestamp( statusMsg );
if ( item )
- item->seStatus( statusMsg );
+ item->setStatus( statusMsg );
}
void BroadcastStatus::setTransienStatusMsg( const TQString& msg )