mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
47 lines
852 B
C
47 lines
852 B
C
|
#ifndef MAINWINDOW_H
|
||
|
#define MAINWINDOW_H
|
||
|
|
||
|
#define VERSION "0.81"
|
||
|
|
||
|
#include <QMainWindow>
|
||
|
#include "ui_MainWindow.h"
|
||
|
|
||
|
class Scene;
|
||
|
class QSettings;
|
||
|
class QMessageBox;
|
||
|
class QLabel;
|
||
|
class Highscore;
|
||
|
class Speichern_frage;
|
||
|
|
||
|
class MainWindow : public QMainWindow, private Ui::MainWindow
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
MainWindow(QWidget *parent = 0);
|
||
|
virtual ~MainWindow();
|
||
|
|
||
|
private slots:
|
||
|
void neues_spiel();
|
||
|
void about();
|
||
|
void restliche_einstellungen_laden();
|
||
|
void einstellungen_speichern();
|
||
|
void gewonnen(int, long);
|
||
|
void aktualisiere_punktelabel(int);
|
||
|
void aktualisiere_spielzeit(long);
|
||
|
void eine_ziehen();
|
||
|
void drei_ziehen();
|
||
|
|
||
|
private:
|
||
|
Scene *scene;
|
||
|
QSettings *einstellungen;
|
||
|
QMessageBox *siegmeldung, *sicherheitsfrage;
|
||
|
QLabel *punktelabel, *zeitlabel;
|
||
|
Highscore *highscore;
|
||
|
Speichern_frage *speichern_frage;
|
||
|
|
||
|
virtual void closeEvent(QCloseEvent*);
|
||
|
};
|
||
|
|
||
|
#endif
|