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

#include <gtkinst.hxx>

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

Public Member Functions

 GtkInstDragSource ()
 
void set_datatransfer (const css::uno::Reference< css::datatransfer::XTransferable > &rTrans, const css::uno::Reference< css::datatransfer::dnd::XDragSourceListener > &rListener)
 
std::vector< GtkTargetEntry > FormatsToGtk (const css::uno::Sequence< css::datatransfer::DataFlavor > &rFormats)
 
void setActiveDragSource ()
 
virtual ~GtkInstDragSource () 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 dragFailed ()
 
void dragDelete ()
 
void dragEnd (GdkDragContext *context)
 
void dragDataGet (GtkSelectionData *data, guint info)
 
css::uno::Reference< css::datatransfer::XTransferable > const & GetTransferable () const
 

Static Public Attributes

static GtkInstDragSourceg_ActiveDragSource
 

Private Attributes

osl::Mutex m_aMutex
 
GtkSalFramem_pFrame
 
css::uno::Reference< css::datatransfer::dnd::XDragSourceListener > m_xListener
 
css::uno::Reference< css::datatransfer::XTransferable > m_xTrans
 
VclToGtkHelper m_aConversionHelper
 

Detailed Description

Definition at line 186 of file gtkinst.hxx.

Constructor & Destructor Documentation

◆ GtkInstDragSource()

GtkInstDragSource::GtkInstDragSource ( )
inline

Definition at line 196 of file gtkinst.hxx.

◆ ~GtkInstDragSource()

virtual GtkInstDragSource::~GtkInstDragSource ( )
overridevirtual

Member Function Documentation

◆ deinitialize()

void GtkInstDragSource::deinitialize ( )

◆ dragDataGet()

void GtkInstDragSource::dragDataGet ( GtkSelectionData *  data,
guint  info 
)

◆ dragDelete()

void GtkInstDragSource::dragDelete ( )

◆ dragEnd()

void GtkInstDragSource::dragEnd ( GdkDragContext *  context)

◆ dragFailed()

void GtkInstDragSource::dragFailed ( )

◆ FormatsToGtk()

std::vector< GtkTargetEntry > GtkInstDragSource::FormatsToGtk ( const css::uno::Sequence< css::datatransfer::DataFlavor > &  rFormats)

◆ getDefaultCursor()

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

◆ getImplementationName()

OUString SAL_CALL GtkInstDragSource::getImplementationName ( )
override

◆ getSupportedServiceNames()

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

◆ GetTransferable()

css::uno::Reference< css::datatransfer::XTransferable > const & GtkInstDragSource::GetTransferable ( ) const
inline

Definition at line 243 of file gtkinst.hxx.

References m_xTrans.

◆ initialize()

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

◆ isDragImageSupported()

virtual sal_Bool SAL_CALL GtkInstDragSource::isDragImageSupported ( )
overridevirtual

◆ set_datatransfer()

void GtkInstDragSource::set_datatransfer ( const css::uno::Reference< css::datatransfer::XTransferable > &  rTrans,
const css::uno::Reference< css::datatransfer::dnd::XDragSourceListener > &  rListener 
)

◆ setActiveDragSource()

void GtkInstDragSource::setActiveDragSource ( )

◆ startDrag()

virtual void SAL_CALL GtkInstDragSource::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 GtkInstDragSource::supportsService ( OUString const &  ServiceName)
override

Member Data Documentation

◆ g_ActiveDragSource

GtkInstDragSource* GtkInstDragSource::g_ActiveDragSource
static

Definition at line 242 of file gtkinst.hxx.

◆ m_aConversionHelper

VclToGtkHelper GtkInstDragSource::m_aConversionHelper
private

Definition at line 194 of file gtkinst.hxx.

◆ m_aMutex

osl::Mutex GtkInstDragSource::m_aMutex
private

Definition at line 190 of file gtkinst.hxx.

◆ m_pFrame

GtkSalFrame* GtkInstDragSource::m_pFrame
private

Definition at line 191 of file gtkinst.hxx.

◆ m_xListener

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

Definition at line 192 of file gtkinst.hxx.

◆ m_xTrans

css::uno::Reference<css::datatransfer::XTransferable> GtkInstDragSource::m_xTrans
private

Definition at line 193 of file gtkinst.hxx.

Referenced by GetTransferable().


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