X-Git-Url: http://git.maemo.org/git/?p=qmemory;a=blobdiff_plain;f=mainwindow.h;fp=mainwindow.h;h=fa4bd1a0e86e25e6f804283e10c03cf617337473;hp=0000000000000000000000000000000000000000;hb=06a7dabc6c41f79397c03f4cc67a07beb7f20f80;hpb=82bd63ece2c1e1660ccaa12b46b54202725641d3;ds=sidebyside diff --git a/mainwindow.h b/mainwindow.h new file mode 100644 index 0000000..fa4bd1a --- /dev/null +++ b/mainwindow.h @@ -0,0 +1,42 @@ +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include +#include "testThread.h" + +namespace Ui { + class MainWindow; +} + +class MainWindow : public QMainWindow { + Q_OBJECT +public: + MainWindow(QWidget *parent = 0); + ~MainWindow(); +public slots: + void cliccaBottone(int id); + void clickA(); + void clickB(); + void clickC(); + void clickD(); + void clickE(); + void clickF(); + void clickG(); + void clickH(); + void clickI(); + void sbagliato(int); + void disableAll(); + void enableAll(); + + +signals: + void cliccatoIlBottone(int button); +protected: + void changeEvent(QEvent *e); + + Ui::MainWindow *ui; + QList sequenza; + TestThread tread; +}; + +#endif // MAINWINDOW_H