Some checks failed
CodeQL Code Scanning / CodeQL (push) Has been cancelled
Build Application / Build Debug (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-13, x86_64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-14, aarch64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04, x86_64-linux) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04-arm, aarch64-linux) (push) Has been cancelled
Update Flake Lockfile / update-flake (push) Has been cancelled
17 lines
239 B
C++
Executable File
17 lines
239 B
C++
Executable File
#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;
|
|
};
|