LibreOffice Module svtools (master) 1
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
WeldToolbarPopup Class Referenceabstract

#include <toolbarmenu.hxx>

Inheritance diagram for WeldToolbarPopup:
[legend]
Collaboration diagram for WeldToolbarPopup:
[legend]

Public Member Functions

 WeldToolbarPopup (css::uno::Reference< css::frame::XFrame > xFrame, weld::Widget *pParent, const OUString &rUIFile, const OUString &rId)
 
virtual ~WeldToolbarPopup ()
 
weld::ContainergetTopLevel ()
 
weld::ContainergetContainer ()
 
void AddStatusListener (const OUString &rCommandURL)
 
virtual void statusChanged (const css::frame::FeatureStateEvent &Event)
 
virtual void GrabFocus ()=0
 

Protected Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xTopLevel
 
std::unique_ptr< weld::Containerm_xContainer
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
rtl::Reference< svt::FrameStatusListenerm_xStatusListener
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (FocusHdl, weld::Widget &, void)
 

Detailed Description

Definition at line 34 of file toolbarmenu.hxx.

Constructor & Destructor Documentation

◆ WeldToolbarPopup()

WeldToolbarPopup::WeldToolbarPopup ( css::uno::Reference< css::frame::XFrame >  xFrame,
weld::Widget pParent,
const OUString &  rUIFile,
const OUString &  rId 
)

Definition at line 107 of file toolbarmenu.cxx.

References LINK, m_xContainer, m_xTopLevel, and xFrame.

◆ ~WeldToolbarPopup()

WeldToolbarPopup::~WeldToolbarPopup ( )
virtual

Definition at line 118 of file toolbarmenu.cxx.

References m_xStatusListener.

Member Function Documentation

◆ AddStatusListener()

void WeldToolbarPopup::AddStatusListener ( const OUString &  rCommandURL)

Definition at line 90 of file toolbarmenu.cxx.

References m_xFrame, and m_xStatusListener.

◆ DECL_DLLPRIVATE_LINK()

WeldToolbarPopup::DECL_DLLPRIVATE_LINK ( FocusHdl  ,
weld::Widget ,
void   
)
private

◆ getContainer()

weld::Container * WeldToolbarPopup::getContainer ( )
inline

Definition at line 51 of file toolbarmenu.hxx.

References m_xContainer.

◆ getTopLevel()

weld::Container * WeldToolbarPopup::getTopLevel ( )
inline

Definition at line 50 of file toolbarmenu.hxx.

◆ GrabFocus()

virtual void WeldToolbarPopup::GrabFocus ( )
pure virtual

Implemented in SvtLineListBox.

◆ statusChanged()

void WeldToolbarPopup::statusChanged ( const css::frame::FeatureStateEvent &  Event)
virtual
Exceptions
css::uno::RuntimeException

Definition at line 98 of file toolbarmenu.cxx.

Member Data Documentation

◆ m_xBuilder

std::unique_ptr<weld::Builder> WeldToolbarPopup::m_xBuilder
protected

Definition at line 40 of file toolbarmenu.hxx.

◆ m_xContainer

std::unique_ptr<weld::Container> WeldToolbarPopup::m_xContainer
protected

Definition at line 42 of file toolbarmenu.hxx.

◆ m_xFrame

css::uno::Reference<css::frame::XFrame> WeldToolbarPopup::m_xFrame
protected

Definition at line 43 of file toolbarmenu.hxx.

Referenced by AddStatusListener().

◆ m_xStatusListener

rtl::Reference<svt::FrameStatusListener> WeldToolbarPopup::m_xStatusListener
protected

Definition at line 44 of file toolbarmenu.hxx.

Referenced by AddStatusListener(), and ~WeldToolbarPopup().

◆ m_xTopLevel

std::unique_ptr<weld::Container> WeldToolbarPopup::m_xTopLevel
protected

Definition at line 41 of file toolbarmenu.hxx.

Referenced by SvtLineListBox::SvtLineListBox(), and WeldToolbarPopup().


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