1d468ac35a
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
17 lines
239 B
C++
17 lines
239 B
C++
#pragma once
|
|
|
|
#include <QKeyEvent>
|
|
|
|
class KonamiCode : public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
KonamiCode(QObject* parent = 0);
|
|
void input(QEvent* event);
|
|
|
|
signals:
|
|
void triggered();
|
|
|
|
private:
|
|
int m_progress = 0;
|
|
};
|