Inserimento README
[qmemory] / testThread.h
1 #ifndef TESTTHREAD_H
2 #define TESTTHREAD_H
3
4 #include <QThread>
5
6
7 class TestThread : public QThread
8 {
9     Q_OBJECT
10
11 public:
12     TestThread(QObject *parent = 0);
13     ~TestThread();
14 signals:
15     void generate(int a);
16     void exit(int);
17     void score(int);
18     void disableInterface();
19     void enableInterface();
20 protected:
21     void run();
22
23 public slots:
24     void updateCaption(int inputUser);
25     void genera(void);
26
27
28 private:
29     int colore;
30     int index;
31     int _score;
32     bool attendiInputUtente;
33     QList<int> sequenza;
34 };
35 #endif // TESTTHREAD_H