summaryrefslogtreecommitdiffstats
path: root/libkdepim/broadcaststatus.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkdepim/broadcaststatus.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/broadcaststatus.cpp')
-rw-r--r--libkdepim/broadcaststatus.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/libkdepim/broadcaststatus.cpp b/libkdepim/broadcaststatus.cpp
index fb48f05ca..68900936a 100644
--- a/libkdepim/broadcaststatus.cpp
+++ b/libkdepim/broadcaststatus.cpp
@@ -23,37 +23,37 @@
#include "broadcaststatus.h"
#include "progressmanager.h"
-KPIM::BroadcasStatus* KPIM::BroadcasStatus::instance_ = 0;
-static KStaticDeleter<KPIM::BroadcasStatus> broadcasStatusDeleter;
+KPIM::BroadcastqStatus* KPIM::BroadcastqStatus::instance_ = 0;
+static KStaticDeleter<KPIM::BroadcastqStatus> broadcasStatusDeleter;
namespace KPIM {
-BroadcasStatus* BroadcasStatus::instance()
+BroadcastqStatus* BroadcastqStatus::instance()
{
if (!instance_)
- broadcasStatusDeleter.setObject( instance_, new BroadcasStatus() );
+ broadcasStatusDeleter.setObject( instance_, new BroadcastqStatus() );
return instance_;
}
-BroadcasStatus::BroadcasStatus()
+BroadcastqStatus::BroadcastqStatus()
:mTransientActive( false )
{
}
-BroadcasStatus::~BroadcasStatus()
+BroadcastqStatus::~BroadcastqStatus()
{
instance_ = 0;
}
-void BroadcasStatus::seStatusMsg( const TQString& message )
+void BroadcastqStatus::seStatusMsg( const TQString& message )
{
mStatusMsg = message;
if( !mTransientActive )
emit statusMsg( message );
}
-void BroadcasStatus::seStatusMsgWithTimestamp( const TQString& message )
+void BroadcastqStatus::seStatusMsgWithTimestamp( const TQString& message )
{
KLocale* locale = KGlobal::locale();
seStatusMsg( i18n( "%1 is a time, %2 is a status message", "[%1] %2" )
@@ -62,7 +62,7 @@ void BroadcasStatus::seStatusMsgWithTimestamp( const TQString& message )
.arg( message ) );
}
-void BroadcasStatus::seStatusMsgTransmissionCompleted( int numMessages,
+void BroadcastqStatus::seStatusMsgTransmissionCompleted( int numMessages,
int numBytes,
int numBytesRead,
int numBytesToRead,
@@ -96,10 +96,10 @@ void BroadcasStatus::seStatusMsgTransmissionCompleted( int numMessages,
seStatusMsgWithTimestamp( statusMsg );
if ( item )
- item->seStatus( statusMsg );
+ item->setqStatus( statusMsg );
}
-void BroadcasStatus::seStatusMsgTransmissionCompleted( const TQString& account,
+void BroadcastqStatus::seStatusMsgTransmissionCompleted( const TQString& account,
int numMessages,
int numBytes,
int numBytesRead,
@@ -144,16 +144,16 @@ void BroadcasStatus::seStatusMsgTransmissionCompleted( const TQString& account,
seStatusMsgWithTimestamp( statusMsg );
if ( item )
- item->seStatus( statusMsg );
+ item->setqStatus( statusMsg );
}
-void BroadcasStatus::setTransienStatusMsg( const TQString& msg )
+void BroadcastqStatus::setTransienStatusMsg( const TQString& msg )
{
mTransientActive = true;
emit statusMsg( msg );
}
-void BroadcasStatus::reset()
+void BroadcastqStatus::reset()
{
mTransientActive = false;
// restore