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

#include <QtDragAndDrop.hxx>

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

Public Member Functions

 QtDragSource ()
 
virtual ~QtDragSource () override
 
virtual sal_Bool SAL_CALL isDragImageSupported () override
 
virtual sal_Int32 SAL_CALL getDefaultCursor (sal_Int8 dragAction) override
 
virtual void SAL_CALL startDrag (const css::datatransfer::dnd::DragGestureEvent &trigger, sal_Int8 sourceActions, sal_Int32 cursor, sal_Int32 image, const css::uno::Reference< css::datatransfer::XTransferable > &transferable, const css::uno::Reference< css::datatransfer::dnd::XDragSourceListener > &listener) override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArguments) override
 
void deinitialize ()
 
OUString SAL_CALL getImplementationName () override
 
sal_Bool SAL_CALL supportsService (OUString const &ServiceName) override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
void fire_dragEnd (sal_Int8 nAction, bool bSuccessful)
 

Private Attributes

osl::Mutex m_aMutex
 
QtFramem_pFrame
 
css::uno::Reference< css::datatransfer::dnd::XDragSourceListener > m_xListener
 

Detailed Description

Definition at line 21 of file qt5/QtDragAndDrop.hxx.

Constructor & Destructor Documentation

◆ QtDragSource()

QtDragSource::QtDragSource ( )
inline

Definition at line 30 of file qt5/QtDragAndDrop.hxx.

◆ ~QtDragSource()

virtual QtDragSource::~QtDragSource ( )
overridevirtual

Member Function Documentation

◆ deinitialize()

void QtDragSource::deinitialize ( )

◆ fire_dragEnd()

void QtDragSource::fire_dragEnd ( sal_Int8  nAction,
bool  bSuccessful 
)

◆ getDefaultCursor()

virtual sal_Int32 SAL_CALL QtDragSource::getDefaultCursor ( sal_Int8  dragAction)
overridevirtual

◆ getImplementationName()

OUString SAL_CALL QtDragSource::getImplementationName ( )
override

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL QtDragSource::getSupportedServiceNames ( )
override

◆ initialize()

virtual void SAL_CALL QtDragSource::initialize ( const css::uno::Sequence< css::uno::Any > &  rArguments)
overridevirtual

◆ isDragImageSupported()

virtual sal_Bool SAL_CALL QtDragSource::isDragImageSupported ( )
overridevirtual

◆ startDrag()

virtual void SAL_CALL QtDragSource::startDrag ( const css::datatransfer::dnd::DragGestureEvent &  trigger,
sal_Int8  sourceActions,
sal_Int32  cursor,
sal_Int32  image,
const css::uno::Reference< css::datatransfer::XTransferable > &  transferable,
const css::uno::Reference< css::datatransfer::dnd::XDragSourceListener > &  listener 
)
overridevirtual

◆ supportsService()

sal_Bool SAL_CALL QtDragSource::supportsService ( OUString const &  ServiceName)
override

Member Data Documentation

◆ m_aMutex

osl::Mutex QtDragSource::m_aMutex
private

Definition at line 25 of file qt5/QtDragAndDrop.hxx.

◆ m_pFrame

QtFrame* QtDragSource::m_pFrame
private

Definition at line 26 of file qt5/QtDragAndDrop.hxx.

◆ m_xListener

css::uno::Reference<css::datatransfer::dnd::XDragSourceListener> QtDragSource::m_xListener
private

Definition at line 27 of file qt5/QtDragAndDrop.hxx.


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