LibreOffice Module sfx2 (master) 1
|
#include <statcach.hxx>
Public Member Functions | |
BindDispatch_Impl (css::uno::Reference< css::frame::XDispatch > xDisp, css::util::URL aURL, SfxStateCache *pStateCache, const SfxSlot *pSlot) | |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &Event) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
const css::frame::FeatureStateEvent & | GetStatus () const |
sal_Int16 | Dispatch (const css::uno::Sequence< css::beans::PropertyValue > &aProps, bool bForceSynchron) |
void | Release () |
Private Attributes | |
css::uno::Reference< css::frame::XDispatch > | xDisp |
css::util::URL | aURL |
css::frame::FeatureStateEvent | aStatus |
SfxStateCache * | pCache |
const SfxSlot * | pSlot |
Friends | |
class | SfxStateCache |
Definition at line 37 of file statcach.hxx.
BindDispatch_Impl::BindDispatch_Impl | ( | css::uno::Reference< css::frame::XDispatch > | xDisp, |
css::util::URL | aURL, | ||
SfxStateCache * | pStateCache, | ||
const SfxSlot * | pSlot | ||
) |
Definition at line 51 of file statcach.cxx.
References aStatus, aURL, DBG_ASSERT, pCache, pS, and pSlot.
sal_Int16 BindDispatch_Impl::Dispatch | ( | const css::uno::Sequence< css::beans::PropertyValue > & | aProps, |
bool | bForceSynchron | ||
) |
|
overridevirtual |
Definition at line 61 of file statcach.cxx.
|
inline |
Definition at line 55 of file statcach.hxx.
References aStatus.
void BindDispatch_Impl::Release | ( | ) |
Definition at line 145 of file statcach.cxx.
References aURL, pCache, TOOLS_WARN_EXCEPTION, and xDisp.
|
overridevirtual |
Definition at line 70 of file statcach.cxx.
References aStatus, SfxType::CreateItem(), SfxStateCache::GetId(), SfxControllerItem::GetItemLink(), SfxStateCache::GetItemLink(), SfxSlot::GetType(), SfxStateCache::Invalidate(), nId, pCache, and pSlot.
|
friend |
Definition at line 39 of file statcach.hxx.
|
private |
Definition at line 42 of file statcach.hxx.
Referenced by BindDispatch_Impl(), Dispatch(), GetStatus(), and statusChanged().
|
private |
Definition at line 41 of file statcach.hxx.
Referenced by Dispatch(), disposing(), and Release().
|
private |
Definition at line 43 of file statcach.hxx.
Referenced by BindDispatch_Impl(), Release(), and statusChanged().
|
private |
Definition at line 44 of file statcach.hxx.
Referenced by BindDispatch_Impl(), and statusChanged().
|
private |
Definition at line 40 of file statcach.hxx.
Referenced by Dispatch(), disposing(), and Release().