16 : KGlobalAccelInterface(parent)
34 qFatal(
"This plugin is intended to be used with KWin and this is not KWin, exiting now");
36 if (!m_inputDestroyedConnection) {
37 m_inputDestroyedConnection = connect(s_input, &QObject::destroyed,
this, [
this] {
38 m_shuttingDown =
true;
47 return keyPressed(keyQt);
52 return keyReleased(keyQt);
55#include "moc_kglobalaccel_plugin.cpp"
bool checkKeyReleased(int keyQt)
bool grabKey(int key, bool grab) override
bool checkKeyPressed(int keyQt)
~KGlobalAccelImpl() override
KGlobalAccelImpl(QObject *parent=nullptr)
void setEnabled(bool) override