- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Qt4/QtUIFactory.hpp
r163110 r08d042 17 17 #include "UIElements/UIFactory.hpp" 18 18 19 #include <boost/thread.hpp> 20 #include <string> 21 #include <vector> 22 19 23 class QApplication; 20 24 … … 30 34 31 35 struct description : public UIFactory::factoryDescription { 32 description( );36 description(int _argc, char **_argv); 33 37 virtual ~description(); 34 38 35 39 virtual UIFactory* makeFactory(); 36 }; 40 41 private: 42 int argc; 43 char **argv; 44 }; 37 45 virtual std::string getUIName(){ return "Qt4"; } 38 46 47 static bool isTestMode(const char *_argument); 48 39 49 protected: 40 QtUIFactory( );50 QtUIFactory(int _argc, char **_argv); 41 51 42 52 private: 43 // faked command line arguments 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 44 61 int argc; 45 62 char **argv; 46 QApplication *app; 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; 47 69 }; 48 70
Note:
See TracChangeset
for help on using the changeset viewer.