KMBroadcastStatus Class Reference
When KMail is running it is possible to have multiple KMMainWin open at the same time. More...
#include <kmbroadcaststatus.h>
Public Slots | |
void | requestAbort () |
Signals | |
void | statusMsg (const QString &) |
void | statusProgressEnable (bool) |
void | statusProgressPercent (unsigned long) |
void | resetRequested () |
void | signalAbortRequested () |
void | signalUsingSSL (bool) |
Public Member Functions | |
void | setStatusMsg (const QString &) |
void | setStatusMsgWithTimestamp (const QString &message) |
void | setStatusMsgTransmissionCompleted (int numMessages, int numBytes=-1, int numBytesRead=-1, int numBytesToRead=-1, bool mLeaveOnServer=false) |
void | setStatusMsgTransmissionCompleted (const QString &account, int numMessages, int numBytes=-1, int numBytesRead=-1, int numBytesToRead=-1, bool mLeaveOnServer=false) |
void | setStatusProgressEnable (const QString &, bool) |
void | setStatusProgressPercent (const QString &, unsigned long) |
void | setUsingSSL (bool) |
bool | abortRequested () |
void | reset () |
Static Public Member Functions | |
KMBroadcastStatus * | instance () |
Protected Attributes | |
bool | abortRequested_ |
QMap< QString, unsigned long > | ids |
Static Protected Attributes | |
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.
Definition at line 32 of file kmbroadcaststatus.h.
Member Function Documentation
|
Return the instance of the singleton object for this class.
Definition at line 35 of file kmbroadcaststatus.cpp. Referenced by KMHeaders::setFolderInfoStatus(), KMAcctExpPop::slotData(), KMAcctExpPop::slotJobFinished(), and KMAcctExpPop::startJob(). |
|
Emit an update status bar signal.
Definition at line 52 of file kmbroadcaststatus.cpp. References setStatusMsg(), and statusMsg(). Referenced by KMHeaders::setFolderInfoStatus(), setStatusMsg(), setStatusMsgWithTimestamp(), KMAcctExpPop::slotData(), and KMAcctExpPop::startJob(). |
|
Sets a status bar message with timestamp.
Definition at line 57 of file kmbroadcaststatus.cpp. References setStatusMsg(), and setStatusMsgWithTimestamp(). Referenced by setStatusMsgTransmissionCompleted(), and setStatusMsgWithTimestamp(). |
|
Sets a transmission completed status bar message.
Definition at line 66 of file kmbroadcaststatus.cpp. References setStatusMsgTransmissionCompleted(), setStatusMsgWithTimestamp(), and statusMsg(). Referenced by setStatusMsgTransmissionCompleted(), and KMAcctExpPop::slotJobFinished(). |
|
Emit an enable progress widget(s) in status bar(s) signal.
Definition at line 145 of file kmbroadcaststatus.cpp. References setStatusProgressEnable(), setStatusProgressPercent(), and statusProgressEnable(). Referenced by setStatusProgressEnable(), KMAcctExpPop::slotJobFinished(), and KMAcctExpPop::startJob(). |
|
Emit an update progress widget(s) percent completed signal.
Definition at line 157 of file kmbroadcaststatus.cpp. References setStatusProgressPercent(), and statusProgressPercent(). Referenced by setStatusProgressEnable(), setStatusProgressPercent(), KMAcctExpPop::slotData(), and KMAcctExpPop::slotJobFinished(). |
|
Set if the acccount checking is using ssl.
Definition at line 47 of file kmbroadcaststatus.cpp. References setUsingSSL(). Referenced by setUsingSSL(). |
|
Returns true IFF the user has requested the current operation (the one whose progress is being shown) should be aborted. Needs to be periodically polled in the implementation of the operation. Definition at line 178 of file kmbroadcaststatus.cpp. Referenced by KMAcctExpPop::slotJobFinished(). |
|
Set the state of the abort requested variable to false.
Definition at line 171 of file kmbroadcaststatus.cpp. References resetRequested(). Referenced by KMAcctExpPop::slotJobFinished(), and KMAcctExpPop::startJob(). |
|
Emitted when setStatusMsg is called.
Referenced by setStatusMsg(), and setStatusMsgTransmissionCompleted(). |
|
Emitted when setStatusProgressEnable is called.
Referenced by setStatusProgressEnable(). |
|
Emitted when setStatusProgressPercent is called.
Referenced by setStatusProgressPercent(). |
|
Emitted when reset is called.
Referenced by reset(). |
|
Emitted when user wants to abort the connection.
Referenced by requestAbort(). |
|
Set the state of the abort requested variable to return.
Definition at line 183 of file kmbroadcaststatus.cpp. References signalAbortRequested(). |
The documentation for this class was generated from the following files: