-rw-r--r-- | kmicromail/qpe/global.cpp | 6 | ||||
-rw-r--r-- | kmicromail/qpe/qdialog.h | 4 | ||||
-rw-r--r-- | kmicromail/qpe/qdialog_hacked.cpp | 6 |
3 files changed, 5 insertions, 11 deletions
diff --git a/kmicromail/qpe/global.cpp b/kmicromail/qpe/global.cpp index f4c6f60..8314f23 100644 --- a/kmicromail/qpe/global.cpp +++ b/kmicromail/qpe/global.cpp | |||
@@ -1,11 +1,13 @@ | |||
1 | 1 | ||
2 | #include "global.h" | 2 | #include "global.h" |
3 | 3 | #include <qstatusbar.h> | |
4 | QStatusBar* globalSstatusBarMainWindow = 0; | ||
4 | namespace Global{ | 5 | namespace Global{ |
5 | 6 | ||
6 | void statusMessage(QString message) | 7 | void statusMessage(QString message) |
7 | { | 8 | { |
8 | 9 | if ( globalSstatusBarMainWindow ) | |
10 | globalSstatusBarMainWindow->message( message,15000 ); | ||
9 | qDebug("statusMessage %s ", message.latin1()); | 11 | qDebug("statusMessage %s ", message.latin1()); |
10 | } | 12 | } |
11 | } | 13 | } |
diff --git a/kmicromail/qpe/qdialog.h b/kmicromail/qpe/qdialog.h index aafdf80..c63133d 100644 --- a/kmicromail/qpe/qdialog.h +++ b/kmicromail/qpe/qdialog.h | |||
@@ -23,10 +23,6 @@ class QDialog_hacked : public QDialog | |||
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | #else | 25 | #else |
26 | #warning ****************************************** | ||
27 | #warning ****************************************** | ||
28 | #warning ****************************************** | ||
29 | #warning ****************************************** | ||
30 | #warning "/usr/local/qt/include/qdialog.h" for KDialog | 26 | #warning "/usr/local/qt/include/qdialog.h" for KDialog |
31 | #include "/usr/local/qt/include/qdialog.h" | 27 | #include "/usr/local/qt/include/qdialog.h" |
32 | 28 | ||
diff --git a/kmicromail/qpe/qdialog_hacked.cpp b/kmicromail/qpe/qdialog_hacked.cpp index 3669312..0a34cec 100644 --- a/kmicromail/qpe/qdialog_hacked.cpp +++ b/kmicromail/qpe/qdialog_hacked.cpp | |||
@@ -9,11 +9,7 @@ | |||
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, f) | 10 | : QDialog( parent,name,modal, f) |
11 | { | 11 | { |
12 | qDebug("******************** "); | 12 | qDebug("New hacked QDialog for ompi desktop"); |
13 | qDebug("******************** "); | ||
14 | qDebug("******************** "); | ||
15 | qDebug("******************** "); | ||
16 | qDebug("New hacked QDialog for ompi "); | ||
17 | //QTimer::singleShot( 1, this,SLOT(addaddbuttons()) ); | 13 | //QTimer::singleShot( 1, this,SLOT(addaddbuttons()) ); |
18 | 14 | ||
19 | setOrientation ( Vertical ); | 15 | setOrientation ( Vertical ); |