Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / tests / QtReactor_Test.h
blob21d124208c078f572f8d1b81e09d4c78100d76f8
1 /* -*- C++ -*- */
2 #ifndef QTREACTOR_TEST_H
3 #define QTREACTOR_TEST_H
5 #ifdef ACE_HAS_QT5
6 #include /**/ <QtWidgets/QApplication>
7 #else
8 #include /**/ <QtGui/QApplication>
9 #endif
11 #include <QtCore/qtimer.h>
13 class QTestApplication: public QApplication
15 Q_OBJECT
16 public:
17 typedef QApplication inherited;
18 public:
19 QTestApplication( int argc, char *argv[] );
20 virtual void exec( int msec = 0 );
21 public slots:
22 virtual void finishTest(); //!< slot to finish the test, connected to finishTimer_
23 private:
24 QTimer finishTimer_; //!< timer to finish the test
27 #endif /*QTREACTOR_TEST_H*/