diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-03-09 12:16:40 (GMT) |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-03-09 12:16:40 (GMT) |
commit | 2b288ace6fb5747158609ac484268c29b30108e5 (patch) | |
tree | 7a05df68709986f9ebf5d9d2453e57e4d3b41e7a /src/gui/kernel/qwidget_p.h | |
parent | 3d946b24834973816b4f472828c03bc07b10b3ac (diff) | |
download | Qt-2b288ace6fb5747158609ac484268c29b30108e5.zip Qt-2b288ace6fb5747158609ac484268c29b30108e5.tar.gz Qt-2b288ace6fb5747158609ac484268c29b30108e5.tar.bz2 |
Multiple screen support for Symbian in QDeskopWidget.
When using TV-out, the TV display can be used as an independent screen.
By default the content shown there is a clone of the device screen,
however from now on parenting a widget to QDesktopWidget::screen(1)
and calling show() will turn off cloning and have the widget shown
instead. screenCount() and the screenCountChanged signal can be used
to detect the availability of the secondary display, just like on other
platforms.
Task-number: QT-830
Reviewed-by: Sami Merila
Reviewed-by: Jani Hautakangas
Diffstat (limited to 'src/gui/kernel/qwidget_p.h')
-rw-r--r-- | src/gui/kernel/qwidget_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_p.h b/src/gui/kernel/qwidget_p.h index 9f6ba6f..5235dc4 100644 --- a/src/gui/kernel/qwidget_p.h +++ b/src/gui/kernel/qwidget_p.h @@ -877,6 +877,7 @@ public: #elif defined(Q_OS_SYMBIAN) // <--------------------------------------------------------- SYMBIAN static QWidget *mouseGrabber; static QWidget *keyboardGrabber; + int symbianScreenNumber; // only valid for desktop widget and top-levels void s60UpdateIsOpaque(); void reparentChildren(); void registerTouchWindow(); |