summaryrefslogtreecommitdiffstats
path: root/libkdepim/broadcaststatus.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 /libkdepim/broadcaststatus.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 'libkdepim/broadcaststatus.cpp')
-rw-r--r--libkdepim/broadcaststatus.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdepim/broadcaststatus.cpp b/libkdepim/broadcaststatus.cpp
index 5d0af0d13..b566bd4b2 100644
--- a/libkdepim/broadcaststatus.cpp
+++ b/libkdepim/broadcaststatus.cpp
@@ -14,7 +14,7 @@
#include <config.h>
#endif
-#include <qdatetime.h>
+#include <tqdatetime.h>
#include <klocale.h>
#include <kglobal.h>
@@ -46,18 +46,18 @@ BroadcastStatus::~BroadcastStatus()
instance_ = 0;
}
-void BroadcastStatus::setStatusMsg( const QString& message )
+void BroadcastStatus::setStatusMsg( const TQString& message )
{
mStatusMsg = message;
if( !mTransientActive )
emit statusMsg( message );
}
-void BroadcastStatus::setStatusMsgWithTimestamp( const QString& message )
+void BroadcastStatus::setStatusMsgWithTimestamp( const TQString& message )
{
KLocale* locale = KGlobal::locale();
setStatusMsg( i18n( "%1 is a time, %2 is a status message", "[%1] %2" )
- .arg( locale->formatTime( QTime::currentTime(),
+ .arg( locale->formatTime( TQTime::currentTime(),
true /* with seconds */ ) )
.arg( message ) );
}
@@ -69,7 +69,7 @@ void BroadcastStatus::setStatusMsgTransmissionCompleted( int numMessages,
bool mLeaveOnServer,
KPIM::ProgressItem* item )
{
- QString statusMsg;
+ TQString statusMsg;
if( numMessages > 0 ) {
if( numBytes != -1 ) {
if( ( numBytesToRead != numBytes ) && mLeaveOnServer )
@@ -99,7 +99,7 @@ void BroadcastStatus::setStatusMsgTransmissionCompleted( int numMessages,
item->setStatus( statusMsg );
}
-void BroadcastStatus::setStatusMsgTransmissionCompleted( const QString& account,
+void BroadcastStatus::setStatusMsgTransmissionCompleted( const TQString& account,
int numMessages,
int numBytes,
int numBytesRead,
@@ -107,7 +107,7 @@ void BroadcastStatus::setStatusMsgTransmissionCompleted( const QString& account,
bool mLeaveOnServer,
KPIM::ProgressItem* item )
{
- QString statusMsg;
+ TQString statusMsg;
if( numMessages > 0 ) {
if( numBytes != -1 ) {
if( ( numBytesToRead != numBytes ) && mLeaveOnServer )
@@ -147,7 +147,7 @@ void BroadcastStatus::setStatusMsgTransmissionCompleted( const QString& account,
item->setStatus( statusMsg );
}
-void BroadcastStatus::setTransientStatusMsg( const QString& msg )
+void BroadcastStatus::setTransientStatusMsg( const TQString& msg )
{
mTransientActive = true;
emit statusMsg( msg );