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

split from the main class since it needs different ref-counting mana More...

Inheritance diagram for NotebookBarContextChangeEventListener:
Collaboration diagram for NotebookBarContextChangeEventListener:

Public Member Functions

 NotebookBarContextChangeEventListener (NotebookBar *p, css::uno::Reference< css::frame::XFrame > xFrame)
void setupFrameListener (bool bListen)
void setupListener (bool bListen)
virtual void SAL_CALL notifyContextChangeEvent (const css::ui::ContextChangeEventObject &rEvent) override
virtual void SAL_CALL frameAction (const css::frame::FrameActionEvent &rEvent) override
virtual void SAL_CALL disposing (const ::css::lang::EventObject &) override

Private Attributes

bool mbActive
VclPtr< NotebookBarmpParent
css::uno::Reference< css::frame::XFrame > mxFrame

Detailed Description

split from the main class since it needs different ref-counting mana

Definition at line 48 of file notebookbar.cxx.

Constructor & Destructor Documentation

◆ NotebookBarContextChangeEventListener()

NotebookBarContextChangeEventListener::NotebookBarContextChangeEventListener ( NotebookBar p,
css::uno::Reference< css::frame::XFrame >  xFrame 

Definition at line 54 of file notebookbar.cxx.

References p, and xFrame.

Member Function Documentation

◆ disposing()

void SAL_CALL NotebookBarContextChangeEventListener::disposing ( const ::css::lang::EventObject &  )

Definition at line 297 of file notebookbar.cxx.

References VclPtr< reference_type >::clear(), and mpParent.

◆ frameAction()

void SAL_CALL NotebookBarContextChangeEventListener::frameAction ( const css::frame::FrameActionEvent &  rEvent)

Definition at line 274 of file notebookbar.cxx.

References mbActive, and setupListener().

◆ notifyContextChangeEvent()

void SAL_CALL NotebookBarContextChangeEventListener::notifyContextChangeEvent ( const css::ui::ContextChangeEventObject &  rEvent)

◆ setupFrameListener()

void NotebookBarContextChangeEventListener::setupFrameListener ( bool  bListen)

Definition at line 266 of file notebookbar.cxx.

References mxFrame.

◆ setupListener()

void NotebookBarContextChangeEventListener::setupListener ( bool  bListen)

Definition at line 243 of file notebookbar.cxx.

References comphelper::LibreOfficeKit::isActive(), mbActive, and mxFrame.

Referenced by frameAction().

Member Data Documentation

◆ mbActive

bool NotebookBarContextChangeEventListener::mbActive

Definition at line 50 of file notebookbar.cxx.

Referenced by frameAction(), and setupListener().

◆ mpParent

VclPtr<NotebookBar> NotebookBarContextChangeEventListener::mpParent

Definition at line 51 of file notebookbar.cxx.

Referenced by disposing(), and notifyContextChangeEvent().

◆ mxFrame

css::uno::Reference<css::frame::XFrame> NotebookBarContextChangeEventListener::mxFrame

Definition at line 52 of file notebookbar.cxx.

Referenced by setupFrameListener(), and setupListener().

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