summaryrefslogtreecommitdiffstats
path: root/src/control/controlobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/controlobject.h')
-rw-r--r--src/control/controlobject.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/control/controlobject.h b/src/control/controlobject.h
index 0f511183be..d36b2add69 100644
--- a/src/control/controlobject.h
+++ b/src/control/controlobject.h
@@ -53,6 +53,16 @@ class ControlObject : public QObject {
}
}
+ void setKbdRepeatable(bool enable) {
+ if (m_pControl) {
+ m_pControl->setKbdRepeatable(enable);
+ }
+ }
+
+ bool getKbdRepeatable() const {
+ return m_pControl ? m_pControl->getKbdRepeatable() : false;
+ }
+
// Return the key of the object
inline ConfigKey getKey() const {
return m_key;