summaryrefslogtreecommitdiffstats
path: root/krandr/libkrandr.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-23 22:48:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-23 22:48:56 +0000
commitaf3a602ab34a4d1c0d146f6fe4696b1acdbd9f0d (patch)
tree763198931ddf6d639ad255e851add08ebc4beff5 /krandr/libkrandr.h
parent2eb906099dece64705e51f4e79bfef0ac1c54843 (diff)
downloadtdelibs-af3a602ab34a4d1c0d146f6fe4696b1acdbd9f0d.tar.gz
tdelibs-af3a602ab34a4d1c0d146f6fe4696b1acdbd9f0d.zip
Large improvements to libkrandr
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1249188 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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