pollymc/launcher/KonamiCode.h

18 lines
230 B
C
Raw Normal View History

#pragma once
#include <QKeyEvent>
class KonamiCode : public QObject
{
2018-07-15 18:21:05 +05:30
Q_OBJECT
public:
2018-07-15 18:21:05 +05:30
KonamiCode(QObject *parent = 0);
void input(QEvent *event);
signals:
2018-07-15 18:21:05 +05:30
void triggered();
private:
2018-07-15 18:21:05 +05:30
int m_progress = 0;
};