summaryrefslogtreecommitdiffstats
path: root/tderandr/libtderandr.h
diff options
context:
space:
mode:
Diffstat (limited to 'tderandr/libtderandr.h')
-rw-r--r--tderandr/libtderandr.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/tderandr/libtderandr.h b/tderandr/libtderandr.h
index 0e07ad96e..106821f85 100644
--- a/tderandr/libtderandr.h
+++ b/tderandr/libtderandr.h
@@ -32,14 +32,9 @@
#include <tqfile.h>
#include <tdeconfig.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdelibs_export.h>
-#define ROTATION_0_DEGREES_STRING "0 degrees"
-#define ROTATION_90_DEGREES_STRING "90 degrees"
-#define ROTATION_180_DEGREES_STRING "180 degrees"
-#define ROTATION_270_DEGREES_STRING "270 degrees"
-
/**
* Simple API covering most of the uses of libtderandr.
*
@@ -258,7 +253,7 @@ class TDERANDR_EXPORT KRandrSimpleAPI : public RandRDisplay
* 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
*/
- bool applyDisplayConfiguration(TQPtrList<SingleScreenData> screenInfoArray, bool test=TRUE, TQString kde_confdir="");
+ bool applyDisplayConfiguration(TQPtrList<SingleScreenData> screenInfoArray, bool test=true, TQString kde_confdir="");
/**
* Applies the gamma contained within the systemwide display configuration screenInfoArray to the hardware