author | zautrix <zautrix> | 2004-10-30 17:07:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-30 17:07:04 (UTC) |
commit | 28df10a0eb5ff343191755a06391bc6ce2fd84b0 (patch) (side-by-side diff) | |
tree | 930882e7400006887d68fd434939e3a376b8631b /kmicromail/qpe | |
parent | c8662dc632987a317386b923e24acb9507859528 (diff) | |
download | kdepimpi-28df10a0eb5ff343191755a06391bc6ce2fd84b0.zip kdepimpi-28df10a0eb5ff343191755a06391bc6ce2fd84b0.tar.gz kdepimpi-28df10a0eb5ff343191755a06391bc6ce2fd84b0.tar.bz2 |
ompi fixes
-rw-r--r-- | kmicromail/qpe/qdialog.h | 8 | ||||
-rw-r--r-- | kmicromail/qpe/qdialog_hacked.cpp | 5 |
2 files changed, 6 insertions, 7 deletions
diff --git a/kmicromail/qpe/qdialog.h b/kmicromail/qpe/qdialog.h index d671e34..aafdf80 100644 --- a/kmicromail/qpe/qdialog.h +++ b/kmicromail/qpe/qdialog.h @@ -5,7 +5,8 @@ #define DEFINE_QDIALOG_HACK #warning call of include <qdialog.h> #warning including /usr/local/qt/include/qdialog.h -#warning if you get an compiling error please adjust your path her +#warning if you get a compiling error +#warning please adjust your path here! #include "/usr/local/qt/include/qdialog.h" class QDialog_hacked : public QDialog @@ -26,10 +27,7 @@ class QDialog_hacked : public QDialog #warning ****************************************** #warning ****************************************** #warning ****************************************** -#warning ****************************************** -#warning ****************************************** -#warning ****************************************** -#warning ****************************************** +#warning "/usr/local/qt/include/qdialog.h" for KDialog #include "/usr/local/qt/include/qdialog.h" #endif 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 @@ -7,13 +7,13 @@ #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 ); @@ -24,6 +24,7 @@ showExtension ( true ); connect ( ok, SIGNAL ( clicked()),this, SLOT (accept() ) ); connect ( cancel, SIGNAL ( clicked()),this, SLOT (reject() ) ); + //setWFlags(WStyle_MinMax ); } |