GlobalShortcutsBackendKGlobalAccel: Add globalShortcutRepeated signal

This commit is contained in:
bastimeyer
2025-11-28 15:13:16 +01:00
committed by Jonas Kvinge
parent afe6967c46
commit 5bce0ae87f
2 changed files with 6 additions and 0 deletions

View File

@@ -120,6 +120,7 @@ void GlobalShortcutsBackendKGlobalAccel::RegisterFinished(QDBusPendingCallWatche
}
QObject::connect(component_, &org::kde::kglobalaccel::Component::globalShortcutPressed, this, &GlobalShortcutsBackendKGlobalAccel::GlobalShortcutPressed, Qt::UniqueConnection);
QObject::connect(component_, &org::kde::kglobalaccel::Component::globalShortcutRepeated, this, &GlobalShortcutsBackendKGlobalAccel::GlobalShortcutPressed, Qt::UniqueConnection);
qLog(Debug) << "Registered.";

View File

@@ -8,6 +8,11 @@
<arg name="actionUnique" type="s" direction="out"/>
<arg name="timestamp" type="x" direction="out"/>
</signal>
<signal name="globalShortcutRepeated">
<arg name="componentUnique" type="s" direction="out"/>
<arg name="actionUnique" type="s" direction="out"/>
<arg name="timestamp" type="x" direction="out"/>
</signal>
<method name="cleanUp">
<arg type="b" direction="out"/>
</method>