summaryrefslogtreecommitdiff
path: root/vcl/inc/qt5/Qt5DragAndDrop.hxx
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2018-10-15 14:44:29 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-10-19 10:05:00 +0200
commit5ebef042bd44e9babd58f53b4458616aa3215beb (patch)
tree2ba2ad7304390d6bcce33954e79d88cb406c0057 /vcl/inc/qt5/Qt5DragAndDrop.hxx
parent2c1b7e8d6a7fa22cb91919238418816671c3a497 (diff)
Kick-start beginning of drag event
Change-Id: Iaad25a7acdc7d64013bc3dd0d9410e7d2d5c6762 Reviewed-on: https://gerrit.libreoffice.org/61791 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'vcl/inc/qt5/Qt5DragAndDrop.hxx')
-rw-r--r--vcl/inc/qt5/Qt5DragAndDrop.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/qt5/Qt5DragAndDrop.hxx b/vcl/inc/qt5/Qt5DragAndDrop.hxx
index 733cf4d03570..424a1ba638e4 100644
--- a/vcl/inc/qt5/Qt5DragAndDrop.hxx
+++ b/vcl/inc/qt5/Qt5DragAndDrop.hxx
@@ -57,6 +57,10 @@ public:
css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
void dragFailed();
+ css::uno::Reference<css::datatransfer::XTransferable> const& GetTransferable() const
+ {
+ return m_xTrans;
+ }
};
class Qt5DropTarget
@@ -102,6 +106,8 @@ public:
OUString SAL_CALL getImplementationName() override;
sal_Bool SAL_CALL supportsService(OUString const& ServiceName) override;
css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+ void fire_dragEnter(const css::datatransfer::dnd::DropTargetDragEnterEvent& dtde);
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */