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

#include <vclstatuslistener.hxx>

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

Public Member Functions

 VclStatusListener (T *widget, const css::uno::Reference< css::frame::XFrame > &rFrame, const OUString &aCommand)
 
void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &rEvent) override
 
void SAL_CALL disposing (const css::lang::EventObject &) override
 
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 23 of file vclstatuslistener.hxx.

Constructor & Destructor Documentation

◆ VclStatusListener()

template<class T >
VclStatusListener< T >::VclStatusListener ( T *  widget,
const css::uno::Reference< css::frame::XFrame > &  rFrame,
const OUString &  aCommand 
)

Definition at line 47 of file vclstatuslistener.hxx.

References aCommand, and VclStatusListener< T >::maCommandURL.

Member Function Documentation

◆ dispose()

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

Definition at line 82 of file vclstatuslistener.hxx.

References mxDispatch.

◆ disposing()

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

Definition at line 76 of file vclstatuslistener.hxx.

References mxDispatch.

◆ startListening()

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

Definition at line 58 of file vclstatuslistener.hxx.

References mxDispatch.

◆ statusChanged()

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

Definition at line 70 of file vclstatuslistener.hxx.

Member Data Documentation

◆ maCommandURL

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

Definition at line 33 of file vclstatuslistener.hxx.

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

◆ mWidget

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

Definition at line 29 of file vclstatuslistener.hxx.

◆ mxDispatch

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 32 of file vclstatuslistener.hxx.

◆ mxFrame

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

Definition at line 34 of file vclstatuslistener.hxx.


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