summaryrefslogtreecommitdiff
path: root/src/desktopinfo.h
diff options
context:
space:
mode:
authorMateusz Łukasik <mati75@linuxmint.pl>2016-08-14 15:17:04 +0200
committerMateusz Łukasik <mati75@linuxmint.pl>2016-08-14 15:17:04 +0200
commit029acf6821f034583700c26b013ffc67ad7690f7 (patch)
treefe65dfdc621b61036af67ea03b37aba0534bb485 /src/desktopinfo.h
parent7b04f55feb0d50e03d013b2be0ec555d363a40b2 (diff)
Imported Upstream version 16.8.0~ds0
Diffstat (limited to 'src/desktopinfo.h')
-rw-r--r--src/desktopinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/desktopinfo.h b/src/desktopinfo.h
index a0e932e..ce77abe 100644
--- a/src/desktopinfo.h
+++ b/src/desktopinfo.h
@@ -21,6 +21,7 @@
#define DESKTOPINFO_H
#include <QSize>
+#include <QPoint>
class QWidget;
@@ -32,6 +33,8 @@ public:
//! Returns true if the widget is inside the current screen
static bool isInsideScreen(QWidget *w);
+
+ static QPoint topLeftPrimaryScreen();
};
#endif