Diffstat (limited to 'kmicromail/qpe/qdialog_hacked.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kmicromail/qpe/qdialog_hacked.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kmicromail/qpe/qdialog_hacked.cpp b/kmicromail/qpe/qdialog_hacked.cpp index e2ce21a..3669312 100644 --- a/kmicromail/qpe/qdialog_hacked.cpp +++ b/kmicromail/qpe/qdialog_hacked.cpp @@ -1,30 +1,31 @@ #include <qdialog.h> #include <qhbox.h> #include <qpushbutton.h> #include <klocale.h> #ifdef QDialog #undef QDialog #endif QDialog_hacked::QDialog_hacked ( QWidget * parent, const char * name, bool modal, WFlags f ) - : QDialog( parent,name,modal) + : QDialog( parent,name,modal, f) { qDebug("******************** "); qDebug("******************** "); qDebug("******************** "); qDebug("******************** "); - qDebug("New hacked QDialog == KDialogBase "); + qDebug("New hacked QDialog for ompi "); //QTimer::singleShot( 1, this,SLOT(addaddbuttons()) ); setOrientation ( Vertical ); QHBox * hb = new QHBox ( this ); QPushButton *ok = new QPushButton( i18n("OK"), hb ); QPushButton *cancel = new QPushButton( i18n("Cancel"), hb ); setExtension ( hb ); showExtension ( true ); connect ( ok, SIGNAL ( clicked()),this, SLOT (accept() ) ); connect ( cancel, SIGNAL ( clicked()),this, SLOT (reject() ) ); + //setWFlags(WStyle_MinMax ); } |