-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 @@ | |||
5 | #define DEFINE_QDIALOG_HACK | 5 | #define DEFINE_QDIALOG_HACK |
6 | #warning call of include <qdialog.h> | 6 | #warning call of include <qdialog.h> |
7 | #warning including /usr/local/qt/include/qdialog.h | 7 | #warning including /usr/local/qt/include/qdialog.h |
8 | #warning if you get an compiling error please adjust your path her | 8 | #warning if you get a compiling error |
9 | #warning please adjust your path here! | ||
9 | 10 | ||
10 | #include "/usr/local/qt/include/qdialog.h" | 11 | #include "/usr/local/qt/include/qdialog.h" |
11 | class QDialog_hacked : public QDialog | 12 | class QDialog_hacked : public QDialog |
@@ -26,10 +27,7 @@ class QDialog_hacked : public QDialog | |||
26 | #warning ****************************************** | 27 | #warning ****************************************** |
27 | #warning ****************************************** | 28 | #warning ****************************************** |
28 | #warning ****************************************** | 29 | #warning ****************************************** |
29 | #warning ****************************************** | 30 | #warning "/usr/local/qt/include/qdialog.h" for KDialog |
30 | #warning ****************************************** | ||
31 | #warning ****************************************** | ||
32 | #warning ****************************************** | ||
33 | #include "/usr/local/qt/include/qdialog.h" | 31 | #include "/usr/local/qt/include/qdialog.h" |
34 | 32 | ||
35 | #endif | 33 | #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 @@ | |||
7 | #undef QDialog | 7 | #undef QDialog |
8 | #endif | 8 | #endif |
9 | QDialog_hacked::QDialog_hacked ( QWidget * parent, const char * name, bool modal, WFlags f ) | 9 | QDialog_hacked::QDialog_hacked ( QWidget * parent, const char * name, bool modal, WFlags f ) |
10 | : QDialog( parent,name,modal) | 10 | : QDialog( parent,name,modal, f) |
11 | { | 11 | { |
12 | qDebug("******************** "); | 12 | qDebug("******************** "); |
13 | qDebug("******************** "); | 13 | qDebug("******************** "); |
14 | qDebug("******************** "); | 14 | qDebug("******************** "); |
15 | qDebug("******************** "); | 15 | qDebug("******************** "); |
16 | qDebug("New hacked QDialog == KDialogBase "); | 16 | qDebug("New hacked QDialog for ompi "); |
17 | //QTimer::singleShot( 1, this,SLOT(addaddbuttons()) ); | 17 | //QTimer::singleShot( 1, this,SLOT(addaddbuttons()) ); |
18 | 18 | ||
19 | setOrientation ( Vertical ); | 19 | setOrientation ( Vertical ); |
@@ -24,6 +24,7 @@ | |||
24 | showExtension ( true ); | 24 | showExtension ( true ); |
25 | connect ( ok, SIGNAL ( clicked()),this, SLOT (accept() ) ); | 25 | connect ( ok, SIGNAL ( clicked()),this, SLOT (accept() ) ); |
26 | connect ( cancel, SIGNAL ( clicked()),this, SLOT (reject() ) ); | 26 | connect ( cancel, SIGNAL ( clicked()),this, SLOT (reject() ) ); |
27 | //setWFlags(WStyle_MinMax ); | ||
27 | 28 | ||
28 | } | 29 | } |
29 | 30 | ||