summaryrefslogtreecommitdiffstats
path: root/application/KonamiCode.h
blob: ad17f8be58f0c8eb8f8e4589df2e5c4d841e2c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
};