mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 14:52:28 -04:00
added patience plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
024e7f4b44
commit
0b78ed6ff8
430 changed files with 7336 additions and 0 deletions
46
plugins/patience_plugin/Patience/MainWindow.h
Normal file
46
plugins/patience_plugin/Patience/MainWindow.h
Normal file
|
@ -0,0 +1,46 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue