mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 09:26:18 -05:00
0b78ed6ff8
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
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
|