QPEDialogListener Class Reference
Listen on QCOP messages to accept/reject a dialog. More...
#include <qpedialog.h>
Inheritance diagram for QPEDialogListener:


Public Member Functions | |
| QPEDialogListener (QDialog *di) | |
| This is the only c'tor. | |
| ~QPEDialogListener () | |
| d'tor | |
Detailed Description
Listen on QCOP messages to accept/reject a dialog.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.
Constructor & Destructor Documentation
|
|
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 49 of file qpedialog.cpp. References QObject::connect(). |
|
|
d'tor
Definition at line 60 of file qpedialog.cpp. |
The documentation for this class was generated from the following files:
