summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxscreen.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer.qnx@kdab.com>2012-05-21 11:19:14 +0100
committerQt by Nokia <qt-info@nokia.com>2012-05-21 16:02:06 +0200
commit9be17aa4686e208fe03debd2595d6da86b42aef8 (patch)
tree82c122a3a2770731e1a47a54f5fd94de507e570f /src/plugins/platforms/qnx/qqnxscreen.h
parent39c5bad574ab9db7f4127d433d54dcc33f57465b (diff)
QNX: Implement the QPlatformScreen::orientation() function
Also removed some invalid TODO comments. Change-Id: I470a9a6538ce10a3a14df14faa641d7be7f18a74 Reviewed-by: Kevin Ottens <kevin.ottens.qnx@kdab.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxscreen.h')
-rw-r--r--src/plugins/platforms/qnx/qqnxscreen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxscreen.h b/src/plugins/platforms/qnx/qqnxscreen.h
index 4a13946ec3..e7866b5136 100644
--- a/src/plugins/platforms/qnx/qqnxscreen.h
+++ b/src/plugins/platforms/qnx/qqnxscreen.h
@@ -68,6 +68,8 @@ public:
QImage::Format format() const { return (depth() == 32) ? QImage::Format_RGB32 : QImage::Format_RGB16; }
QSizeF physicalSize() const { return m_currentPhysicalSize; }
+ Qt::ScreenOrientation orientation() const;
+
bool isPrimaryScreen() const { return m_primaryScreen; }
int rotation() const { return m_currentRotation; }