KMBroadcastStatus Class Reference
When KMail is running it is possible to have multiple KMMainWin open at the same time. More...
#include <kmbroadcaststatus.h>
Inherits QObject.
Signals
- void statusMsg (const QString &)
Public Member Functions
- void setStatusMsg (const QString &message)
- QString statusMsg () const
- void setStatusMsgWithTimestamp (const QString &message)
- void setStatusMsgTransmissionCompleted (int numMessages, int numBytes=-1, int numBytesRead=-1, int numBytesToRead=-1, bool mLeaveOnServer=false, KPIM::ProgressItem *progressItem=0)
- void setStatusMsgTransmissionCompleted (const QString &account, int numMessages, int numBytes=-1, int numBytesRead=-1, int numBytesToRead=-1, bool mLeaveOnServer=false, KPIM::ProgressItem *progressItem=0)
Static Public Member Functions
- static KMBroadcastStatus * instance ()
Protected Attributes
Static Protected Attributes
- static KMBroadcastStatus * instance_ = 0
Detailed Description
When KMail is running it is possible to have multiple KMMainWin open at the same time.We want certain messages/information to be displayed in all active KMMainWins. KMBroadcastStatus make this possible, it defines a singleton object that broadcasts status messages by emitting signals. All KMMainWins connect up these signals to appropriate slots for updating their status bar.
Member Function Documentation
|
Return the instance of the singleton object for this class.
|
|
Emit an update status bar signal.
|
|
Return the last status message from setStatusMsg().
|
|
Sets a status bar message with timestamp.
|
|
Sets a transmission completed status bar message.
|
|
Emitted when setStatusMsg is called.
|
The documentation for this class was generated from the following files:
- kmbroadcaststatus.h
- kmbroadcaststatus.cpp