summaryrefslogtreecommitdiffstats
path: root/libkdepim/broadcaststatus.cpp
diff options
context:
space:
mode:
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 );