diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-04-12 13:21:35 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-04-12 16:31:22 (GMT) |
commit | 80c3790501df2ce3a8edf022e469317bc6f66246 (patch) | |
tree | 49af67ebb865701db9b46e500505fd16bca11318 /src/plugins/platforms/vnc/main.cpp | |
parent | 1d768c1deb98a8e32cdbd7790186e1d6a81acc29 (diff) | |
download | Qt-80c3790501df2ce3a8edf022e469317bc6f66246.zip Qt-80c3790501df2ce3a8edf022e469317bc6f66246.tar.gz Qt-80c3790501df2ce3a8edf022e469317bc6f66246.tar.bz2 |
Make the VNC plugin compile and largely work
Diffstat (limited to 'src/plugins/platforms/vnc/main.cpp')
-rw-r--r-- | src/plugins/platforms/vnc/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/platforms/vnc/main.cpp b/src/plugins/platforms/vnc/main.cpp index f10748a..9de33eb 100644 --- a/src/plugins/platforms/vnc/main.cpp +++ b/src/plugins/platforms/vnc/main.cpp @@ -39,17 +39,17 @@ ** ****************************************************************************/ -#include <private/qgraphicssystemplugin_p.h> #include "qgraphicssystem_vnc.h" #include <qstringlist.h> +#include <QtGui/QPlatformIntegrationPlugin> QT_BEGIN_NAMESPACE -class QVNCGraphicsSystemPlugin : public QGraphicsSystemPlugin +class QVNCGraphicsSystemPlugin : public QPlatformIntegrationPlugin { public: QStringList keys() const; - QGraphicsSystem *create(const QString&); + QPlatformIntegration *create(const QString&); }; QStringList QVNCGraphicsSystemPlugin::keys() const @@ -59,7 +59,7 @@ QStringList QVNCGraphicsSystemPlugin::keys() const return list; } -QGraphicsSystem* QVNCGraphicsSystemPlugin::create(const QString& system) +QPlatformIntegration* QVNCGraphicsSystemPlugin::create(const QString& system) { if (system.toLower() == "vnc") return new QVNCGraphicsSystem; |