diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /libkdepim/broadcaststatus.h | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/broadcaststatus.h')
-rw-r--r-- | libkdepim/broadcaststatus.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libkdepim/broadcaststatus.h b/libkdepim/broadcaststatus.h index ad5c11bc1..11eacd3e6 100644 --- a/libkdepim/broadcaststatus.h +++ b/libkdepim/broadcaststatus.h @@ -29,29 +29,29 @@ class ProgressItem; */ -class KDE_EXPORT BroadcastStatus : public QObject +class KDE_EXPORT BroadcasStatus : public QObject { Q_OBJECT public: - virtual ~BroadcastStatus(); + virtual ~BroadcasStatus(); /** Return the instance of the singleton object for this class */ - static BroadcastStatus *instance(); + static BroadcasStatus *instance(); - /** Return the last status message from setStatusMsg() */ + /** Return the last status message from seStatusMsg() */ TQString statusMsg() const { return mStatusMsg; } /** Sets a status bar message with timestamp */ - void setStatusMsgWithTimestamp( const TQString& message ); + void seStatusMsgWithTimestamp( const TQString& message ); /** Sets a transmission completed status bar message */ - void setStatusMsgTransmissionCompleted( int numMessages, + void seStatusMsgTransmissionCompleted( int numMessages, int numBytes = -1, int numBytesRead = -1, int numBytesToRead = -1, bool mLeaveOnServer = false, KPIM::ProgressItem* progressItem = 0 ); // set the same status in this progress item - void setStatusMsgTransmissionCompleted( const TQString& account, + void seStatusMsgTransmissionCompleted( 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 TQString& message ); + void seStatusMsg( const TQString& message ); /** Set a status message that will go away again with the next call of reset(). */ - void setTransientStatusMsg( const TQString& msg ); + void setTransienStatusMsg( const TQString& msg ); /** Reset the status message to what ever non-transient message was last active or has since been set. @@ -77,15 +77,15 @@ public slots: signals: - /** Emitted when setStatusMsg is called. */ + /** Emitted when seStatusMsg is called. */ void statusMsg( const TQString& ); protected: - BroadcastStatus(); + BroadcasStatus(); TQString mStatusMsg; bool mTransientActive; - static BroadcastStatus* instance_; + static BroadcasStatus* instance_; }; |