mainwindow_moc.h 755 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #include "main.h"
  14. namespace Ui
  15. {
  16. class MainWindow;
  17. const QString teamName = "VCMI Team";
  18. const QString appName = "VCMI Launcher";
  19. }
  20. class QTableWidgetItem;
  21. class MainWindow : public QMainWindow
  22. {
  23. Q_OBJECT
  24. private:
  25. Ui::MainWindow * ui;
  26. void load();
  27. #ifndef Q_OS_IOS
  28. void startExecutable(QString name, const QStringList & args);
  29. #endif
  30. public:
  31. explicit MainWindow(QWidget * parent = 0);
  32. ~MainWindow();
  33. public slots:
  34. void on_startGameButton_clicked();
  35. };