LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SfxDeleteListener Class Referencefinal

#include <deletelistener.hxx>

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

Public Member Functions

 SfxDeleteListener (SfxBroadcaster &rNotifier)
 
virtual void Notify (SfxBroadcaster &, const SfxHint &rHint) override
 
bool WasDeleted () const
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Attributes

bool m_bObjectDeleted
 

Detailed Description

Definition at line 71 of file deletelistener.hxx.

Constructor & Destructor Documentation

◆ SfxDeleteListener()

SfxDeleteListener::SfxDeleteListener ( SfxBroadcaster rNotifier)
inlineexplicit

Definition at line 77 of file deletelistener.hxx.

References SfxListener::StartListening().

Member Function Documentation

◆ Notify()

virtual void SfxDeleteListener::Notify ( SfxBroadcaster ,
const SfxHint rHint 
)
inlineoverridevirtual

Reimplemented from SfxListener.

Definition at line 83 of file deletelistener.hxx.

References SfxHint::GetId(), and m_bObjectDeleted.

◆ WasDeleted()

bool SfxDeleteListener::WasDeleted ( ) const
inline

Definition at line 89 of file deletelistener.hxx.

References m_bObjectDeleted.

Member Data Documentation

◆ m_bObjectDeleted

bool SfxDeleteListener::m_bObjectDeleted
private

Definition at line 74 of file deletelistener.hxx.

Referenced by Notify(), and WasDeleted().


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