summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/vnc/qvncintegration.h
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2010-06-11 10:50:27 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2010-06-11 10:50:27 (GMT)
commita498db43a02972e90df5f1cdd73e90260471f5f8 (patch)
tree1d8fe5409fe68eaf898ad54de87ce814669c836a /src/plugins/platforms/vnc/qvncintegration.h
parent28547949cc78d25884a76bf3c2112a6217ba5b66 (diff)
downloadQt-a498db43a02972e90df5f1cdd73e90260471f5f8.zip
Qt-a498db43a02972e90df5f1cdd73e90260471f5f8.tar.gz
Qt-a498db43a02972e90df5f1cdd73e90260471f5f8.tar.bz2
litehouse multiscreen support
This commit adds QPlatformIntegration::moveToScreen(), which requests that a widget be moved to another screen. The default implementation ignores the request. The VNC plugin has been updated accordingly. It currently only supports non-virtual desktops. Review by: Jørgen
Diffstat (limited to 'src/plugins/platforms/vnc/qvncintegration.h')
-rw-r--r--src/plugins/platforms/vnc/qvncintegration.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/vnc/qvncintegration.h b/src/plugins/platforms/vnc/qvncintegration.h
index dcb5419..3436e51 100644
--- a/src/plugins/platforms/vnc/qvncintegration.h
+++ b/src/plugins/platforms/vnc/qvncintegration.h
@@ -55,6 +55,7 @@ class QVNCScreenPrivate;
class QVNCScreen : public QFbScreen
{
+ Q_OBJECT
public:
QVNCScreen(QRect screenSize, int screenId);
@@ -68,6 +69,7 @@ public:
private:
QVNCServer *server;
QRegion doRedraw();
+ friend class QVNCIntegration;
};
class QVNCIntegrationPrivate;
@@ -84,6 +86,7 @@ public:
QList<QPlatformScreen *> screens() const { return mScreens; }
+ void moveToScreen(QWidget *window, int screen);
private:
QVNCScreen *mPrimaryScreen;