summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr/krandrtray.h
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/randr/krandrtray.h')
-rw-r--r--kcontrol/randr/krandrtray.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kcontrol/randr/krandrtray.h b/kcontrol/randr/krandrtray.h
index 9387f8cad..9ce8fe993 100644
--- a/kcontrol/randr/krandrtray.h
+++ b/kcontrol/randr/krandrtray.h
@@ -43,6 +43,9 @@ public:
void configChanged();
+signals:
+ void screenSizeChanged(int x, int y);
+
protected slots:
void slotScreenActivated();
void slotResolutionChanged(int parameter);
@@ -61,6 +64,7 @@ private:
void populateMenu(KPopupMenu* menu);
void addOutputMenu(KPopupMenu* menu);
int GetDefaultResolutionParameter();
+ int GetHackResolutionParameter();
void findPrimaryDisplay();
bool m_popupUp;
@@ -70,6 +74,9 @@ private:
Display *randr_display;
ScreenInfo *randr_screen_info;
QWidget* my_parent;
+
+ int last_known_x;
+ int last_known_y;
};
#endif