summaryrefslogtreecommitdiffstats
path: root/kmilo/generic/generic_monitor.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-02 23:42:46 +0900
committerMichele Calgaro <[email protected]>2023-12-03 18:49:56 +0900
commit5ecef94fcb0ab49312273a1541025165499afa38 (patch)
treee953d1624a1ecc730b3b3376d129568436485113 /kmilo/generic/generic_monitor.h
parentdfb81fda2a1f149bacf303bda7f4b3821b4c96d4 (diff)
downloadtdeutils-5ecef94fcb0ab49312273a1541025165499afa38.tar.gz
tdeutils-5ecef94fcb0ab49312273a1541025165499afa38.zip
kmilo: after changing the screen brightness, allows a small delay before popping up the OSD feedback. This allows the underlying hardware to report the correct value. This resolves issue #68.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7589d48a4101244c3c7a27931293ee7924f78119)
Diffstat (limited to 'kmilo/generic/generic_monitor.h')
-rw-r--r--kmilo/generic/generic_monitor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kmilo/generic/generic_monitor.h b/kmilo/generic/generic_monitor.h
index 9ec3184..851277d 100644
--- a/kmilo/generic/generic_monitor.h
+++ b/kmilo/generic/generic_monitor.h
@@ -71,6 +71,9 @@ public slots:
void lightBulb();
void pmBattery();
+private slots:
+ void brightnessValueUpdate();
+
private:
void volumeChange(int direction, int percentage);
bool retrieveMute(bool &muted);