kwave
18.07.70
|
#include <ConfirmCancelProxy.h>
Public Slots | |
void | cancel () |
Signals | |
void | canceled () |
Public Member Functions | |
ConfirmCancelProxy (QWidget *widget, QObject *sender, const char *signal, QObject *receiver, const char *slot) | |
virtual | ~ConfirmCancelProxy () |
Private Attributes | |
QWidget * | m_widget |
Definition at line 32 of file ConfirmCancelProxy.h.
Kwave::ConfirmCancelProxy::ConfirmCancelProxy | ( | QWidget * | widget, |
QObject * | sender, | ||
const char * | signal, | ||
QObject * | receiver, | ||
const char * | slot | ||
) |
Constructor.
widget | a QWidget used as parent for the confirmation message box |
sender | object that emits a cancelled signal, normally something like a QProgressDialog. Can be null, in this case the signal parameter is ignored and the cancel() method has to be called manually. |
signal | emitted signal, e.g. SIGNAL(cancelled()) |
receiver | object that receives the cancel signal if a cancel has been received and the user confirmed |
slot | receiver's cancel slot, e.g. SLOT(cancel()) |
Definition at line 29 of file ConfirmCancelProxy.cpp.
References cancel(), canceled(), and Kwave::connect().
|
virtual |
|
slot |
will be connected to the sender of the cancel
Definition at line 47 of file ConfirmCancelProxy.cpp.
References canceled(), m_widget, and Kwave::MessageBox::questionYesNo().
Referenced by ConfirmCancelProxy().
|
signal |
emitted if cancel was received and user confirmed
Referenced by cancel(), and ConfirmCancelProxy().
|
private |
widget used for the confirm message
Definition at line 70 of file ConfirmCancelProxy.h.
Referenced by cancel().