LibreOffice Module vcl (master) 1
|
#include <weldutils.hxx>
Public Member Functions | |
WidgetStatusListener (weld::Widget *widget, const OUString &rCommand) | |
SAL_DLLPRIVATE void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &rEvent) override |
SAL_DLLPRIVATE void SAL_CALL | disposing (const css::lang::EventObject &) override |
const css::uno::Reference< css::frame::XFrame > & | getFrame () const |
void | startListening () |
void | dispose () |
Private Attributes | |
weld::Widget * | 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 |
Definition at line 179 of file weldutils.hxx.
weld::WidgetStatusListener::WidgetStatusListener | ( | weld::Widget * | widget, |
const OUString & | rCommand | ||
) |
Definition at line 501 of file weldutils.cxx.
References aCommand, maCommandURL, mxFrame, and xFrame.
void weld::WidgetStatusListener::dispose | ( | void | ) |
Definition at line 545 of file weldutils.cxx.
References maCommandURL, mWidget, mxDispatch, and mxFrame.
|
override |
Definition at line 540 of file weldutils.cxx.
References mxDispatch.
|
inline |
Definition at line 198 of file weldutils.hxx.
void weld::WidgetStatusListener::startListening | ( | ) |
Definition at line 520 of file weldutils.cxx.
References maCommandURL, mxDispatch, and mxFrame.
|
override |
Definition at line 535 of file weldutils.cxx.
References mWidget, and weld::Widget::set_sensitive().
|
private |
Definition at line 189 of file weldutils.hxx.
Referenced by dispose(), startListening(), and WidgetStatusListener().
|
private |
Definition at line 185 of file weldutils.hxx.
Referenced by dispose(), and statusChanged().
|
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 188 of file weldutils.hxx.
Referenced by dispose(), disposing(), and startListening().
|
private |
Definition at line 190 of file weldutils.hxx.
Referenced by dispose(), startListening(), and WidgetStatusListener().