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

#include <gtkinst.hxx>

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

Public Member Functions

 GtkInstDropTarget ()
 
virtual ~GtkInstDropTarget () 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
 
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 &dtdee)
 
void fire_dragOver (const css::datatransfer::dnd::DropTargetDragEvent &dtde)
 
void fire_drop (const css::datatransfer::dnd::DropTargetDropEvent &dtde)
 
void fire_dragExit (const css::datatransfer::dnd::DropTargetEvent &dte)
 
void SetFormatConversionRequest (GtkDnDTransferable *pRequest)
 
gboolean signalDragMotion (GtkWidget *pWidget, GdkDragContext *context, gint x, gint y, guint time)
 
gboolean signalDragDrop (GtkWidget *pWidget, GdkDragContext *context, gint x, gint y, guint time)
 
void signalDragLeave (GtkWidget *pWidget)
 
void signalDragDropReceived (GtkWidget *pWidget, GdkDragContext *context, gint x, gint y, GtkSelectionData *data, guint ttype, guint time)
 

Private Attributes

osl::Mutex m_aMutex
 
GtkSalFramem_pFrame
 
GtkDnDTransferable * m_pFormatConversionRequest
 
bool m_bActive
 
bool m_bInDrag
 
sal_Int8 m_nDefaultActions
 
std::vector< css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > > m_aListeners
 

Detailed Description

Definition at line 128 of file gtkinst.hxx.

Constructor & Destructor Documentation

◆ GtkInstDropTarget()

GtkInstDropTarget::GtkInstDropTarget ( )

◆ ~GtkInstDropTarget()

virtual GtkInstDropTarget::~GtkInstDropTarget ( )
overridevirtual

Member Function Documentation

◆ addDropTargetListener()

virtual void SAL_CALL GtkInstDropTarget::addDropTargetListener ( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &  )
overridevirtual

◆ deinitialize()

void GtkInstDropTarget::deinitialize ( )

◆ fire_dragEnter()

void GtkInstDropTarget::fire_dragEnter ( const css::datatransfer::dnd::DropTargetDragEnterEvent &  dtdee)

◆ fire_dragExit()

void GtkInstDropTarget::fire_dragExit ( const css::datatransfer::dnd::DropTargetEvent &  dte)

◆ fire_dragOver()

void GtkInstDropTarget::fire_dragOver ( const css::datatransfer::dnd::DropTargetDragEvent &  dtde)

◆ fire_drop()

void GtkInstDropTarget::fire_drop ( const css::datatransfer::dnd::DropTargetDropEvent &  dtde)

◆ getDefaultActions()

virtual sal_Int8 SAL_CALL GtkInstDropTarget::getDefaultActions ( )
overridevirtual

◆ getImplementationName()

OUString SAL_CALL GtkInstDropTarget::getImplementationName ( )
override

◆ getSupportedServiceNames()

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

◆ initialize()

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

◆ isActive()

virtual sal_Bool SAL_CALL GtkInstDropTarget::isActive ( )
overridevirtual

◆ removeDropTargetListener()

virtual void SAL_CALL GtkInstDropTarget::removeDropTargetListener ( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &  )
overridevirtual

◆ setActive()

virtual void SAL_CALL GtkInstDropTarget::setActive ( sal_Bool  active)
overridevirtual

◆ setDefaultActions()

virtual void SAL_CALL GtkInstDropTarget::setDefaultActions ( sal_Int8  actions)
overridevirtual

◆ SetFormatConversionRequest()

void GtkInstDropTarget::SetFormatConversionRequest ( GtkDnDTransferable *  pRequest)
inline

Definition at line 166 of file gtkinst.hxx.

References m_pFormatConversionRequest.

◆ signalDragDrop()

gboolean GtkInstDropTarget::signalDragDrop ( GtkWidget pWidget,
GdkDragContext *  context,
gint  x,
gint  y,
guint  time 
)

◆ signalDragDropReceived()

void GtkInstDropTarget::signalDragDropReceived ( GtkWidget pWidget,
GdkDragContext *  context,
gint  x,
gint  y,
GtkSelectionData *  data,
guint  ttype,
guint  time 
)

◆ signalDragLeave()

void GtkInstDropTarget::signalDragLeave ( GtkWidget pWidget)

◆ signalDragMotion()

gboolean GtkInstDropTarget::signalDragMotion ( GtkWidget pWidget,
GdkDragContext *  context,
gint  x,
gint  y,
guint  time 
)

◆ supportsService()

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

Member Data Documentation

◆ m_aListeners

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

Definition at line 138 of file gtkinst.hxx.

◆ m_aMutex

osl::Mutex GtkInstDropTarget::m_aMutex
private

Definition at line 132 of file gtkinst.hxx.

◆ m_bActive

bool GtkInstDropTarget::m_bActive
private

Definition at line 135 of file gtkinst.hxx.

◆ m_bInDrag

bool GtkInstDropTarget::m_bInDrag
private

Definition at line 136 of file gtkinst.hxx.

◆ m_nDefaultActions

sal_Int8 GtkInstDropTarget::m_nDefaultActions
private

Definition at line 137 of file gtkinst.hxx.

◆ m_pFormatConversionRequest

GtkDnDTransferable* GtkInstDropTarget::m_pFormatConversionRequest
private

Definition at line 134 of file gtkinst.hxx.

Referenced by SetFormatConversionRequest().

◆ m_pFrame

GtkSalFrame* GtkInstDropTarget::m_pFrame
private

Definition at line 133 of file gtkinst.hxx.


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