mainwindow_moc.h 711 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * mainwindow_moc.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include <QMainWindow>
  12. #include <QStringList>
  13. namespace Ui
  14. {
  15. class MainWindow;
  16. const QString teamName = "VCMI Team";
  17. const QString appName = "VCMI Launcher";
  18. }
  19. class QTableWidgetItem;
  20. class MainWindow : public QMainWindow
  21. {
  22. Q_OBJECT
  23. private:
  24. Ui::MainWindow * ui;
  25. void load();
  26. #ifndef Q_OS_IOS
  27. void startExecutable(QString name);
  28. #endif
  29. public:
  30. explicit MainWindow(QWidget * parent = 0);
  31. ~MainWindow();
  32. private slots:
  33. void on_startGameButton_clicked();
  34. };