LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
Qt5DropTarget Class Reference

#include <Qt5DragAndDrop.hxx>

Inheritance diagram for Qt5DropTarget:
[legend]
Collaboration diagram for Qt5DropTarget:
[legend]

Public Member Functions

 Qt5DropTarget ()
 
virtual ~Qt5DropTarget () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArgs) override
 
void deinitialize ()
 
virtual void SAL_CALL addDropTargetListener (const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &) override
 
virtual void SAL_CALL removeDropTargetListener (const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &) override
 
virtual sal_Bool SAL_CALL isActive () override
 
virtual void SAL_CALL setActive (sal_Bool active) override
 
virtual sal_Int8 SAL_CALL getDefaultActions () override
 
virtual void SAL_CALL setDefaultActions (sal_Int8 actions) override
 
virtual void SAL_CALL acceptDrag (sal_Int8 dragOperation) override
 
virtual void SAL_CALL rejectDrag () override
 
virtual void SAL_CALL acceptDrop (sal_Int8 dropOperation) override
 
virtual void SAL_CALL rejectDrop () override
 
virtual void SAL_CALL dropComplete (sal_Bool success) override
 
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)
 
void fire_dragOver (const css::datatransfer::dnd::DropTargetDragEnterEvent &dtde)
 
void fire_drop (const css::datatransfer::dnd::DropTargetDropEvent &dtde)
 
sal_Int8 proposedDragAction () const
 

Private Attributes

osl::Mutex m_aMutex
 
Qt5Framem_pFrame
 
sal_Int8 mnDragAction
 
sal_Int8 mnDropAction
 
bool m_bActive
 
sal_Int8 m_nDefaultActions
 
std::vector< css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > > m_aListeners
 

Detailed Description

Definition at line 71 of file Qt5DragAndDrop.hxx.

Constructor & Destructor Documentation

Qt5DropTarget::Qt5DropTarget ( )
virtual Qt5DropTarget::~Qt5DropTarget ( )
overridevirtual

Member Function Documentation

virtual void SAL_CALL Qt5DropTarget::acceptDrag ( sal_Int8  dragOperation)
overridevirtual
virtual void SAL_CALL Qt5DropTarget::acceptDrop ( sal_Int8  dropOperation)
overridevirtual
virtual void SAL_CALL Qt5DropTarget::addDropTargetListener ( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &  )
overridevirtual
void Qt5DropTarget::deinitialize ( )
virtual void SAL_CALL Qt5DropTarget::dropComplete ( sal_Bool  success)
overridevirtual
void Qt5DropTarget::fire_dragEnter ( const css::datatransfer::dnd::DropTargetDragEnterEvent &  dtde)
void Qt5DropTarget::fire_dragOver ( const css::datatransfer::dnd::DropTargetDragEnterEvent &  dtde)
void Qt5DropTarget::fire_drop ( const css::datatransfer::dnd::DropTargetDropEvent &  dtde)
virtual sal_Int8 SAL_CALL Qt5DropTarget::getDefaultActions ( )
overridevirtual
OUString SAL_CALL Qt5DropTarget::getImplementationName ( )
override
css::uno::Sequence<OUString> SAL_CALL Qt5DropTarget::getSupportedServiceNames ( )
override
virtual void SAL_CALL Qt5DropTarget::initialize ( const css::uno::Sequence< css::uno::Any > &  rArgs)
overridevirtual
virtual sal_Bool SAL_CALL Qt5DropTarget::isActive ( )
overridevirtual
sal_Int8 Qt5DropTarget::proposedDragAction ( ) const
inline

Definition at line 121 of file Qt5DragAndDrop.hxx.

References mnDragAction.

virtual void SAL_CALL Qt5DropTarget::rejectDrag ( )
overridevirtual
virtual void SAL_CALL Qt5DropTarget::rejectDrop ( )
overridevirtual
virtual void SAL_CALL Qt5DropTarget::removeDropTargetListener ( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &  )
overridevirtual
virtual void SAL_CALL Qt5DropTarget::setActive ( sal_Bool  active)
overridevirtual
virtual void SAL_CALL Qt5DropTarget::setDefaultActions ( sal_Int8  actions)
overridevirtual
sal_Bool SAL_CALL Qt5DropTarget::supportsService ( OUString const &  ServiceName)
override

Member Data Documentation

std::vector<css::uno::Reference<css::datatransfer::dnd::XDropTargetListener> > Qt5DropTarget::m_aListeners
private

Definition at line 83 of file Qt5DragAndDrop.hxx.

osl::Mutex Qt5DropTarget::m_aMutex
private

Definition at line 77 of file Qt5DragAndDrop.hxx.

bool Qt5DropTarget::m_bActive
private

Definition at line 81 of file Qt5DragAndDrop.hxx.

sal_Int8 Qt5DropTarget::m_nDefaultActions
private

Definition at line 82 of file Qt5DragAndDrop.hxx.

Qt5Frame* Qt5DropTarget::m_pFrame
private

Definition at line 78 of file Qt5DragAndDrop.hxx.

sal_Int8 Qt5DropTarget::mnDragAction
private

Definition at line 79 of file Qt5DragAndDrop.hxx.

Referenced by proposedDragAction().

sal_Int8 Qt5DropTarget::mnDropAction
private

Definition at line 80 of file Qt5DragAndDrop.hxx.


The documentation for this class was generated from the following file: