summaryrefslogtreecommitdiffstats
path: root/krandr/libkrandr.h
diff options
context:
space:
mode:
Diffstat (limited to 'krandr/libkrandr.h')
-rw-r--r--krandr/libkrandr.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/krandr/libkrandr.h b/krandr/libkrandr.h
index d4e9fbea8..352d821c0 100644
--- a/krandr/libkrandr.h
+++ b/krandr/libkrandr.h
@@ -165,8 +165,9 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay
/**
* Saves the systemwide display configuration screenInfoArray to the specified profile
* If profilename is empty, the default profile is utilized
+ * If enable is set to true, the default profile will be applied at system startup
*/
- void saveSystemwideDisplayConfiguration(TQString profilename, TQString kde_confdir, TQPtrList<SingleScreenData> screenInfoArray);
+ void saveSystemwideDisplayConfiguration(bool enable, TQString profilename, TQString kde_confdir, TQPtrList<SingleScreenData> screenInfoArray);
/**
* Reads the systemwide display configuration screenInfoArray from the specified profile
@@ -176,6 +177,12 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay
TQPtrList<SingleScreenData> loadSystemwideDisplayConfiguration(TQString profilename, TQString kde_confdir);
/**
+ * Applies the systemwide display configuration screenInfoArray from the specified profile
+ * If profilename is empty, the default profile is utilized
+ */
+ void applySystemwideDisplayConfiguration(TQString profilename, TQString kde_confdir);
+
+ /**
* Applies the systemwide display configuration screenInfoArray to the hardware
* If test is true, the new configuration will be loaded for a short period of time, then reverted automatically
* Returns true if configuration was accepted; false if not