- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Qt4/QtUIFactory.hpp
r08d042 r163110 17 17 #include "UIElements/UIFactory.hpp" 18 18 19 #include <boost/thread.hpp>20 #include <string>21 #include <vector>22 23 19 class QApplication; 24 20 … … 34 30 35 31 struct description : public UIFactory::factoryDescription { 36 description( int _argc, char **_argv);32 description(); 37 33 virtual ~description(); 38 34 39 35 virtual UIFactory* makeFactory(); 40 41 private: 42 int argc; 43 char **argv; 44 }; 36 }; 45 37 virtual std::string getUIName(){ return "Qt4"; } 46 38 47 static bool isTestMode(const char *_argument);48 49 39 protected: 50 QtUIFactory( int _argc, char **_argv);40 QtUIFactory(); 51 41 52 42 private: 53 54 void testrun(const std::vector<std::string> _scripts, const bool _singleLineStepping = false) const; 55 56 void testlauncher_sleep(const boost::posix_time::time_duration& _period) const; 57 58 private: 59 QApplication *app; 60 43 // faked command line arguments 61 44 int argc; 62 45 char **argv; 63 64 //!> internal flag to tell testlauncher_thread to stop 65 mutable bool testlauncher_Interrupted; 66 67 //!> internal thread to call Actions 68 boost::thread *testlauncher_thread; 46 QApplication *app; 69 47 }; 70 48
Note:
See TracChangeset
for help on using the changeset viewer.