summaryrefslogtreecommitdiffstats
path: root/krandr/randr.h
diff options
context:
space:
mode:
Diffstat (limited to 'krandr/randr.h')
-rw-r--r--krandr/randr.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/krandr/randr.h b/krandr/randr.h
index b2832ef60..b4c830f02 100644
--- a/krandr/randr.h
+++ b/krandr/randr.h
@@ -29,12 +29,33 @@
class KTimerDialog;
class RandRScreenPrivate;
-class SingleScreenData {
+class KRANDR_EXPORT HotPlugRule {
+ public:
+ enum states {
+ AnyState = 0,
+ Connected = 1,
+ Disconnected = 2
+ };
+
+ public:
+ HotPlugRule();
+ virtual ~HotPlugRule();
+
+ public:
+ TQStringList outputs;
+ TQValueList< int > states;
+ TQString profileName;
+};
+
+typedef TQValueList< HotPlugRule > HotPlugRulesList;
+
+class KRANDR_EXPORT SingleScreenData {
public:
SingleScreenData();
virtual ~SingleScreenData();
public:
+ TQString screenUniqueName;
TQString screenFriendlyName;
bool generic_screen_detected;
bool screen_connected;