summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbdrag.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbdrag.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbdrag.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/plugins/platforms/xcb/qxcbdrag.h b/src/plugins/platforms/xcb/qxcbdrag.h
index 82d634d592..ce0f8faa54 100644
--- a/src/plugins/platforms/xcb/qxcbdrag.h
+++ b/src/plugins/platforms/xcb/qxcbdrag.h
@@ -42,10 +42,10 @@
#ifndef QXCBDRAG_H
#define QXCBDRAG_H
-#include <qlist.h>
#include <qplatformdrag_qpa.h>
-#include <qnamespace.h>
+#include <qxcbobject.h>
#include <xcb/xcb.h>
+#include <qlist.h>
#include <qpoint.h>
#include <qrect.h>
#include <qsharedpointer.h>
@@ -61,7 +61,7 @@ class QDropData;
class QXcbScreen;
class QDrag;
-class QXcbDrag : public QObject, public QPlatformDrag
+class QXcbDrag : public QObject, public QXcbObject, public QPlatformDrag
{
public:
QXcbDrag(QXcbConnection *c);
@@ -88,8 +88,6 @@ public:
bool dndEnable(QXcbWindow *win, bool on);
- QXcbConnection *connection() const { return m_connection; }
-
protected:
void timerEvent(QTimerEvent* e);
@@ -108,7 +106,6 @@ private:
QWeakPointer<QWindow> currentWindow;
QPoint currentPosition;
- QXcbConnection *m_connection;
QDropData *dropData;
QWindow *desktop_proxy;