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

#include <gtkinst.hxx>

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

Public Member Functions

 GtkDropTarget ()
 
virtual ~GtkDropTarget () 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 signalDragDrop (GtkWidget *pWidget, GdkDragContext *context, gint x, gint y, guint time)
 
gboolean signalDragMotion (GtkWidget *pWidget, GdkDragContext *context, gint x, gint y, guint time)
 
void signalDragDropReceived (GtkWidget *pWidget, GdkDragContext *context, gint x, gint y, GtkSelectionData *data, guint ttype, guint time)
 
void signalDragLeave (GtkWidget *pWidget, GdkDragContext *context, 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 88 of file gtkinst.hxx.

Constructor & Destructor Documentation

GtkDropTarget::GtkDropTarget ( )
virtual GtkDropTarget::~GtkDropTarget ( )
overridevirtual

Member Function Documentation

virtual void SAL_CALL GtkDropTarget::addDropTargetListener ( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &  )
overridevirtual
void GtkDropTarget::deinitialize ( )
void GtkDropTarget::fire_dragEnter ( const css::datatransfer::dnd::DropTargetDragEnterEvent &  dtdee)
void GtkDropTarget::fire_dragExit ( const css::datatransfer::dnd::DropTargetEvent &  dte)
void GtkDropTarget::fire_dragOver ( const css::datatransfer::dnd::DropTargetDragEvent &  dtde)
void GtkDropTarget::fire_drop ( const css::datatransfer::dnd::DropTargetDropEvent &  dtde)
virtual sal_Int8 SAL_CALL GtkDropTarget::getDefaultActions ( )
overridevirtual
OUString SAL_CALL GtkDropTarget::getImplementationName ( )
override
css::uno::Sequence<OUString> SAL_CALL GtkDropTarget::getSupportedServiceNames ( )
override
virtual void SAL_CALL GtkDropTarget::initialize ( const css::uno::Sequence< css::uno::Any > &  rArgs)
overridevirtual
virtual sal_Bool SAL_CALL GtkDropTarget::isActive ( )
overridevirtual
virtual void SAL_CALL GtkDropTarget::removeDropTargetListener ( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &  )
overridevirtual
virtual void SAL_CALL GtkDropTarget::setActive ( sal_Bool  active)
overridevirtual
virtual void SAL_CALL GtkDropTarget::setDefaultActions ( sal_Int8  actions)
overridevirtual
void GtkDropTarget::SetFormatConversionRequest ( GtkDnDTransferable *  pRequest)
inline

Definition at line 126 of file gtkinst.hxx.

gboolean GtkDropTarget::signalDragDrop ( GtkWidget *  pWidget,
GdkDragContext *  context,
gint  x,
gint  y,
guint  time 
)
void GtkDropTarget::signalDragDropReceived ( GtkWidget *  pWidget,
GdkDragContext *  context,
gint  x,
gint  y,
GtkSelectionData *  data,
guint  ttype,
guint  time 
)
void GtkDropTarget::signalDragLeave ( GtkWidget *  pWidget,
GdkDragContext *  context,
guint  time 
)
gboolean GtkDropTarget::signalDragMotion ( GtkWidget *  pWidget,
GdkDragContext *  context,
gint  x,
gint  y,
guint  time 
)
sal_Bool SAL_CALL GtkDropTarget::supportsService ( OUString const &  ServiceName)
override

Member Data Documentation

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

Definition at line 98 of file gtkinst.hxx.

osl::Mutex GtkDropTarget::m_aMutex
private

Definition at line 92 of file gtkinst.hxx.

bool GtkDropTarget::m_bActive
private

Definition at line 95 of file gtkinst.hxx.

bool GtkDropTarget::m_bInDrag
private

Definition at line 96 of file gtkinst.hxx.

sal_Int8 GtkDropTarget::m_nDefaultActions
private

Definition at line 97 of file gtkinst.hxx.

GtkDnDTransferable* GtkDropTarget::m_pFormatConversionRequest
private

Definition at line 94 of file gtkinst.hxx.

GtkSalFrame* GtkDropTarget::m_pFrame
private

Definition at line 93 of file gtkinst.hxx.


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