summaryrefslogtreecommitdiffstats
path: root/kxkb/kxkb.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2024-11-13 00:07:36 +0200
committerMavridis Philippe <[email protected]>2024-11-13 00:07:36 +0200
commit7478f48dc40bdc142a5962b3ded09903bec8495a (patch)
treef6b6dc3f74c7d34f25c764ee775baee2aed2d3e0 /kxkb/kxkb.h
parent753873e6d73ffcf00199d31e084e6a96b9eb84e0 (diff)
downloadtdebase-7478f48dc40bdc142a5962b3ded09903bec8495a.tar.gz
tdebase-7478f48dc40bdc142a5962b3ded09903bec8495a.zip
Kxkb: reapply Xkb settings when a keyboard device changes state
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kxkb/kxkb.h')
-rw-r--r--kxkb/kxkb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kxkb/kxkb.h b/kxkb/kxkb.h
index 143b68301..5708efd48 100644
--- a/kxkb/kxkb.h
+++ b/kxkb/kxkb.h
@@ -32,6 +32,7 @@ DESCRIPTION
#include <tqptrqueue.h>
#include <kuniqueapplication.h>
+#include <tdegenericdevice.h>
#include "kxkbtraywindow.h"
#include "kxkbconfig.h"
@@ -78,6 +79,12 @@ protected slots:
void showLayoutNotification();
void showErrorNotification(TQString layout);
+ void hardwareAdded(TDEGenericDevice *dev);
+ void hardwareRemoved(TDEGenericDevice *dev);
+ void hardwareUpdated(TDEGenericDevice *dev);
+
+ void applySettings();
+
protected:
// Read settings, and apply them.
bool settingsRead();