diff options
Diffstat (limited to 'libkdepim/broadcaststatus.h')
-rw-r--r-- | libkdepim/broadcaststatus.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libkdepim/broadcaststatus.h b/libkdepim/broadcaststatus.h index e15ca87db..ad5c11bc1 100644 --- a/libkdepim/broadcaststatus.h +++ b/libkdepim/broadcaststatus.h @@ -11,8 +11,8 @@ #ifndef __kpim_broadcast_status_h #define __kpim_broadcast_status_h -#include <qobject.h> -#include <qmap.h> +#include <tqobject.h> +#include <tqmap.h> #include <kdepimmacros.h> @@ -41,9 +41,9 @@ public: static BroadcastStatus *instance(); /** Return the last status message from setStatusMsg() */ - QString statusMsg() const { return mStatusMsg; } + TQString statusMsg() const { return mStatusMsg; } /** Sets a status bar message with timestamp */ - void setStatusMsgWithTimestamp( const QString& message ); + void setStatusMsgWithTimestamp( const TQString& message ); /** Sets a transmission completed status bar message */ void setStatusMsgTransmissionCompleted( int numMessages, int numBytes = -1, @@ -51,7 +51,7 @@ public: int numBytesToRead = -1, bool mLeaveOnServer = false, KPIM::ProgressItem* progressItem = 0 ); // set the same status in this progress item - void setStatusMsgTransmissionCompleted( const QString& account, + void setStatusMsgTransmissionCompleted( const TQString& account, int numMessages, int numBytes = -1, int numBytesRead = -1, @@ -62,13 +62,13 @@ public: public slots: /** Emit an update status bar signal. It's a slot so it can be hooked up to other signals. */ - void setStatusMsg( const QString& message ); + void setStatusMsg( const TQString& message ); /** Set a status message that will go away again with the next call of reset(). */ - void setTransientStatusMsg( const QString& msg ); + void setTransientStatusMsg( const TQString& msg ); /** Reset the status message to what ever non-transient message was last active or has since been set. @@ -78,12 +78,12 @@ public slots: signals: /** Emitted when setStatusMsg is called. */ - void statusMsg( const QString& ); + void statusMsg( const TQString& ); protected: BroadcastStatus(); - QString mStatusMsg; + TQString mStatusMsg; bool mTransientActive; static BroadcastStatus* instance_; }; |