summaryrefslogtreecommitdiff
path: root/vcl/qt5/Qt5Instance.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qt5/Qt5Instance.cxx')
-rw-r--r--vcl/qt5/Qt5Instance.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcl/qt5/Qt5Instance.cxx b/vcl/qt5/Qt5Instance.cxx
index 71e9883416f1..f780860dccc5 100644
--- a/vcl/qt5/Qt5Instance.cxx
+++ b/vcl/qt5/Qt5Instance.cxx
@@ -25,6 +25,7 @@
#include <Qt5Bitmap.hxx>
#include <Qt5Clipboard.hxx>
#include <Qt5Data.hxx>
+#include <Qt5DragAndDrop.hxx>
#include <Qt5FilePicker.hxx>
#include <Qt5Frame.hxx>
#include <Qt5Menu.hxx>
@@ -241,6 +242,16 @@ Qt5Instance::CreateClipboard(const css::uno::Sequence<css::uno::Any>& arguments)
return xClipboard;
}
+Reference<XInterface> Qt5Instance::CreateDragSource()
+{
+ return Reference<XInterface>(static_cast<cppu::OWeakObject*>(new Qt5DragSource()));
+}
+
+Reference<XInterface> Qt5Instance::CreateDropTarget()
+{
+ return Reference<XInterface>(static_cast<cppu::OWeakObject*>(new Qt5DropTarget()));
+}
+
extern "C" {
VCLPLUG_QT5_PUBLIC SalInstance* create_SalInstance()
{