Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/QtUIFactory.hpp

    r08d042 r163110  
    1717#include "UIElements/UIFactory.hpp"
    1818
    19 #include <boost/thread.hpp>
    20 #include <string>
    21 #include <vector>
    22 
    2319class QApplication;
    2420
     
    3430
    3531  struct description : public UIFactory::factoryDescription {
    36     description(int _argc, char **_argv);
     32    description();
    3733    virtual ~description();
    3834
    3935    virtual UIFactory* makeFactory();
    40 
    41   private:
    42     int argc;
    43     char **argv;
    44  };
     36  };
    4537  virtual std::string getUIName(){  return "Qt4";  }
    4638
    47   static bool isTestMode(const char *_argument);
    48 
    4939protected:
    50   QtUIFactory(int _argc, char **_argv);
     40  QtUIFactory();
    5141
    5242private:
    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
    6144  int argc;
    6245  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;
    6947};
    7048
Note: See TracChangeset for help on using the changeset viewer.