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 & GetTransferrable () 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 ( )
inline

Definition at line 196 of file gtkinst.hxx.

virtual GtkInstDragSource::~GtkInstDragSource ( )
overridevirtual

Member Function Documentation

void GtkInstDragSource::deinitialize ( )
void GtkInstDragSource::dragDataGet ( GtkSelectionData *  data,
guint  info 
)
void GtkInstDragSource::dragDelete ( )
void GtkInstDragSource::dragEnd ( GdkDragContext *  context)
void GtkInstDragSource::dragFailed ( )
std::vector<GtkTargetEntry> GtkInstDragSource::FormatsToGtk ( const css::uno::Sequence< css::datatransfer::DataFlavor > &  rFormats)
virtual sal_Int32 SAL_CALL GtkInstDragSource::getDefaultCursor ( sal_Int8  dragAction)
overridevirtual
OUString SAL_CALL GtkInstDragSource::getImplementationName ( )
override
css::uno::Sequence<OUString> SAL_CALL GtkInstDragSource::getSupportedServiceNames ( )
override
css::uno::Reference<css::datatransfer::XTransferable> const& GtkInstDragSource::GetTransferrable ( ) const
inline

Definition at line 243 of file gtkinst.hxx.

References m_xTrans.

virtual void SAL_CALL GtkInstDragSource::initialize ( const css::uno::Sequence< css::uno::Any > &  rArguments)
overridevirtual
virtual sal_Bool SAL_CALL GtkInstDragSource::isDragImageSupported ( )
overridevirtual
void GtkInstDragSource::set_datatransfer ( const css::uno::Reference< css::datatransfer::XTransferable > &  rTrans,
const css::uno::Reference< css::datatransfer::dnd::XDragSourceListener > &  rListener 
)
void GtkInstDragSource::setActiveDragSource ( )
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
sal_Bool SAL_CALL GtkInstDragSource::supportsService ( OUString const &  ServiceName)
override

Member Data Documentation

GtkInstDragSource* GtkInstDragSource::g_ActiveDragSource
static

Definition at line 242 of file gtkinst.hxx.

VclToGtkHelper GtkInstDragSource::m_aConversionHelper
private

Definition at line 194 of file gtkinst.hxx.

osl::Mutex GtkInstDragSource::m_aMutex
private

Definition at line 190 of file gtkinst.hxx.

GtkSalFrame* GtkInstDragSource::m_pFrame
private

Definition at line 191 of file gtkinst.hxx.

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

Definition at line 192 of file gtkinst.hxx.

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

Definition at line 193 of file gtkinst.hxx.

Referenced by GetTransferrable().


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