/* * QTUIFactory.hpp * * Created on: Jan 14, 2010 * Author: crueger */ #ifndef QTUIFACTORY_HPP_ #define QTUIFACTORY_HPP_ #include "UIElements/UIFactory.hpp" class QApplication; class QTUIFactory : public UIFactory { friend class UIFactory; public: virtual ~QTUIFactory(); virtual Dialog* makeDialog(); virtual MainWindow* makeMainWindow(menuPopulaters,MoleculeListClass *, config *, periodentafel *, char *); struct description : public UIFactory::factoryDescription { description(); virtual ~description(); virtual UIFactory* makeFactory(); }; protected: QTUIFactory(); private: // faked command line arguments int argc; char **argv; QApplication *app; }; #endif /* QTUIFACTORY_HPP_ */