-rw-r--r-- | kmicromail/qpe/qdialog.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/kmicromail/qpe/qdialog.h b/kmicromail/qpe/qdialog.h new file mode 100644 index 0000000..d671e34 --- a/dev/null +++ b/kmicromail/qpe/qdialog.h @@ -0,0 +1,35 @@ + +#ifndef MINIKDE_KDIALOG_H + +#ifndef DEFINE_QDIALOG_HACK +#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 + +#include "/usr/local/qt/include/qdialog.h" +class QDialog_hacked : public QDialog +{ + //Q__OBJECT + + public: + QDialog_hacked ( QWidget * parent=0, const char * name=0, bool modal=true, WFlags f=0 ); + +}; + +#define QDialog QDialog_hacked + +#endif + +#else +#warning ****************************************** +#warning ****************************************** +#warning ****************************************** +#warning ****************************************** +#warning ****************************************** +#warning ****************************************** +#warning ****************************************** +#warning ****************************************** +#include "/usr/local/qt/include/qdialog.h" + +#endif |