diff options
author | deva <deva> | 2006-03-06 10:44:07 +0000 |
---|---|---|
committer | deva <deva> | 2006-03-06 10:44:07 +0000 |
commit | c9bfc4db72b84292f541c795993abde98e22121f (patch) | |
tree | 687411dce72a70dc0f4c337c8e496607308f8ab4 /client/info_gui.h | |
parent | c629a137b5f91097004f1a267d1433393e5cc512 (diff) |
*** empty log message ***
Diffstat (limited to 'client/info_gui.h')
-rw-r--r-- | client/info_gui.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/client/info_gui.h b/client/info_gui.h index a4f5135..a607c0f 100644 --- a/client/info_gui.h +++ b/client/info_gui.h @@ -38,8 +38,9 @@ #include "miav_config.h" -#include <qwidget.h> -#include <qapplication.h> +#include <QWidget> +#include <QApplication> +#include <QEvent> #include <pthread.h> #include <semaphore.h> @@ -48,11 +49,13 @@ #define TYPE_SHOW_MESSAGEBOX 65432 -class ShowMessageEvent : public QCustomEvent { +class ShowMessageEvent : public QEvent { public: - ShowMessageEvent( MessageBox* msgbox ) - : QCustomEvent( TYPE_SHOW_MESSAGEBOX ), m( msgbox ) {} + ShowMessageEvent( MessageBox* msgbox ) : + QEvent((QEvent::Type)TYPE_SHOW_MESSAGEBOX), + m( msgbox ) {} MessageBox *messagebox() const { return m; } + // Type type() const { return TYPE_SHOW_MESSAGEBOX; } private: MessageBox *m;; }; |