LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
VclStatusListener< T > Class Template Reference

#include <toolbox.hxx>

Inheritance diagram for VclStatusListener< T >:
[legend]
Collaboration diagram for VclStatusListener< T >:
[legend]

Public Member Functions

 VclStatusListener (T *widget, const OUString &aCommand)
 
void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &rEvent) override
 
void SAL_CALL disposing (const css::lang::EventObject &) override
 
const css::uno::Reference< css::frame::XFrame > & getFrame ()
 
void startListening ()
 
void dispose ()
 

Private Attributes

VclPtr< T > mWidget
 
css::uno::Reference< css::frame::XDispatch > mxDispatch
 The widget on which actions are performed. More...
 
css::util::URL maCommandURL
 
css::uno::Reference< css::frame::XFrame > mxFrame
 

Detailed Description

template<class T>
class VclStatusListener< T >

Definition at line 36 of file toolbox.hxx.

Constructor & Destructor Documentation

template<class T >
VclStatusListener< T >::VclStatusListener ( T *  widget,
const OUString &  aCommand 
)

Definition at line 50 of file vclstatuslistener.hxx.

References xFrame.

Member Function Documentation

template<class T >
void VclStatusListener< T >::dispose ( void  )

Definition at line 95 of file vclstatuslistener.hxx.

template<class T >
void VclStatusListener< T >::disposing ( const css::lang::EventObject &  )
override

Definition at line 89 of file vclstatuslistener.hxx.

template<class T>
const css::uno::Reference<css::frame::XFrame>& VclStatusListener< T >::getFrame ( )
inline

Definition at line 42 of file vclstatuslistener.hxx.

References VclStatusListener< T >::mxFrame.

template<class T >
void VclStatusListener< T >::startListening ( )

Definition at line 68 of file vclstatuslistener.hxx.

template<class T >
void VclStatusListener< T >::statusChanged ( const css::frame::FeatureStateEvent &  rEvent)
override

Definition at line 83 of file vclstatuslistener.hxx.

Member Data Documentation

template<class T>
css::util::URL VclStatusListener< T >::maCommandURL
private

Definition at line 34 of file vclstatuslistener.hxx.

template<class T>
VclPtr<T> VclStatusListener< T >::mWidget
private

Definition at line 30 of file vclstatuslistener.hxx.

template<class T>
css::uno::Reference<css::frame::XDispatch> VclStatusListener< T >::mxDispatch
private

The widget on which actions are performed.

Dispatcher. Need to keep a reference to it as long as this StatusListener exists.

Definition at line 33 of file vclstatuslistener.hxx.

template<class T>
css::uno::Reference<css::frame::XFrame> VclStatusListener< T >::mxFrame
private

Definition at line 35 of file vclstatuslistener.hxx.

Referenced by VclStatusListener< T >::getFrame().


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