sneedmc/application/KonamiCode.h
Petr Mrázek 303842a19e NOISSUE Add Konami Code
Fun little thing for hiding extra debug options in the future.
2018-03-15 09:27:45 +01:00

18 lines
215 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;
};