summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qgraphicssystem_p.h
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2009-11-19 14:15:17 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2009-11-19 14:15:17 (GMT)
commit19689dd51a93668fda2273472985114e86a9b8d5 (patch)
tree7c57c52827c6a5c038efec93bcb8c86f7a0f40e0 /src/gui/painting/qgraphicssystem_p.h
parentc357ab6fbb673f75e9f2ccb2da5d3a938eaadf1f (diff)
downloadQt-19689dd51a93668fda2273472985114e86a9b8d5.zip
Qt-19689dd51a93668fda2273472985114e86a9b8d5.tar.gz
Qt-19689dd51a93668fda2273472985114e86a9b8d5.tar.bz2
Report cursor movement to QApplicationPrivate::handleMouseEvent() directly
We had this running through qvnccursor -> QVNCGraphicsSystemScreen -> QApplicationPrivate, but that doesn't work with the generic Linux input plugin.
Diffstat (limited to 'src/gui/painting/qgraphicssystem_p.h')
-rw-r--r--src/gui/painting/qgraphicssystem_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/painting/qgraphicssystem_p.h b/src/gui/painting/qgraphicssystem_p.h
index 1bfca58..0b0dfb5 100644
--- a/src/gui/painting/qgraphicssystem_p.h
+++ b/src/gui/painting/qgraphicssystem_p.h
@@ -56,6 +56,8 @@
#include "private/qpixmapdata_p.h"
#include "private/qwindowsurface_p.h"
+#include <qdebug.h>
+
QT_BEGIN_NAMESPACE
class QPixmapFilter;
@@ -73,8 +75,7 @@ public:
virtual int depth() const = 0;
virtual QImage::Format format() const = 0;
virtual QSize physicalSize() const = 0;
- virtual void setDirty(QRect) { }
- virtual void pointerEvent(QMouseEvent &) { }
+ virtual void setDirty(const QRect &) {}
virtual QWidget *topLevelAt(const QPoint &point) const;
};
#endif // Q_WS_LITE