c9fb116464
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
30 lines
445 B
C++
30 lines
445 B
C++
#ifndef QAPPLE_H
|
|
#define QAPPLE_H
|
|
|
|
#include "ui_qapple.h"
|
|
|
|
class Emulator;
|
|
|
|
class QApple : public QMainWindow, private Ui::QApple
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit QApple(QWidget *parent = 0);
|
|
|
|
protected:
|
|
virtual void timerEvent(QTimerEvent *event);
|
|
|
|
private slots:
|
|
void on_actionStart_triggered();
|
|
|
|
void on_actionPause_triggered();
|
|
|
|
private:
|
|
Emulator * myEmulator;
|
|
|
|
int myMSGap;
|
|
int myTimerID;
|
|
};
|
|
|
|
#endif // QAPPLE_H
|