#include </home/clem/local/src/opie/library/qpedialog.h>
Public Member Functions | |
| QPEDialogListener (QDialog *di) | |
| This is the only c'tor. | |
| ~QPEDialogListener () | |
Private Slots | |
| void | appMessage (const QCString &msg, const QByteArray &data) |
Private Attributes | |
| QDialog * | dialog |
| QPEDialogListenerData * | d |
If you want your dialog to be acceptables/rejectable by QCOP You need to create a QPEDialogListener with your Dialog as Argument.
This feature is at least use with the first use support of Opie
Definition at line 35 of file qpedialog.h.
|
|
This is the only c'tor. The parent of this Listener is the Dialog you pass. This means once the dialog is deleted this listener will be deleted too. This Listener listens on QPEApplication::appMessage signal and implements accept() and reject().
QDialog *dialog = new YourDialog(); (void)new QPEDialogListener(dialog); if( QPEApplication::execDialog(dialog) == QDialog::Accept ){ // do some stuff } delete dialog;
Definition at line 56 of file qpedialog.cpp. References appMessage(), dialog, and qApp. |
|
|
d'tor Definition at line 67 of file qpedialog.cpp. |
|
||||||||||||
|
For internal use only.
Definition at line 72 of file qpedialog.cpp. References HackedPrivateQDialog::accept(), dialog, and HackedPrivateQDialog::reject(). Referenced by QPEDialogListener(). |
|
|
Definition at line 48 of file qpedialog.h. |
|
|
Definition at line 47 of file qpedialog.h. Referenced by appMessage(), and QPEDialogListener(). |
1.4.2