From af3a602ab34a4d1c0d146f6fe4696b1acdbd9f0d Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 23 Aug 2011 22:48:56 +0000 Subject: Large improvements to libkrandr git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1249188 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krandr/libkrandr.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'krandr/libkrandr.h') 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 screenInfoArray); + void saveSystemwideDisplayConfiguration(bool enable, TQString profilename, TQString kde_confdir, TQPtrList screenInfoArray); /** * Reads the systemwide display configuration screenInfoArray from the specified profile @@ -175,6 +176,12 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay */ TQPtrList 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 -- cgit v1.2.1