mirror of
https://git.code.sf.net/p/newrpl/sources
synced 2024-11-16 19:51:25 +01:00
32 lines
559 B
C
32 lines
559 B
C
|
#ifndef MAINWINDOW_H
|
||
|
#define MAINWINDOW_H
|
||
|
|
||
|
#include <QMainWindow>
|
||
|
#include "rplthread.h"
|
||
|
namespace Ui {
|
||
|
class MainWindow;
|
||
|
}
|
||
|
|
||
|
class MainWindow : public QMainWindow
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
QTimer *screentmr,*maintmr;
|
||
|
RPLThread rpl;
|
||
|
public:
|
||
|
explicit MainWindow(QWidget *parent = 0);
|
||
|
~MainWindow();
|
||
|
protected:
|
||
|
virtual void keyPressEvent(QKeyEvent *ev);
|
||
|
virtual void keyReleaseEvent(QKeyEvent *ev);
|
||
|
|
||
|
private slots:
|
||
|
void on_EmuScreen_destroyed();
|
||
|
public slots:
|
||
|
void domaintimer();
|
||
|
private:
|
||
|
Ui::MainWindow *ui;
|
||
|
};
|
||
|
|
||
|
#endif // MAINWINDOW_H
|