summaryrefslogtreecommitdiffstats
path: root/src/tdepowersave.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-23 23:02:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-24 08:53:50 +0900
commit5e7bdf8cacc30b19979620cd3cb92a3e1b7a7012 (patch)
treeecdeb7dbf7165bed4042cb6df735f44ed103de56 /src/tdepowersave.h
parent431f2c2113833b3ca45b114fbb6f64e3db16583e (diff)
downloadtdepowersave-5e7bdf8cacc30b19979620cd3cb92a3e1b7a7012.tar.gz
tdepowersave-5e7bdf8cacc30b19979620cd3cb92a3e1b7a7012.zip
Extend DCOP interface with new brightnessSet method
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5ae13039bcb5e5d863d59de6d14904977c5ecedb)
Diffstat (limited to 'src/tdepowersave.h')
-rw-r--r--src/tdepowersave.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tdepowersave.h b/src/tdepowersave.h
index e63342c..af4780e 100644
--- a/src/tdepowersave.h
+++ b/src/tdepowersave.h
@@ -444,6 +444,8 @@ k_dcop:
bool currentSchemeManagesDPMS();
//! dcop funtion to get the current brightness level
int brightnessGet();
+ //! dcop funtion to set the brightness level
+ void brightnessSet(int percentage);
//! dcop function to return the name of the current scheme
TQString currentScheme ();