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

#include <fmsrcimp.hxx>

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

Public Member Functions

void SetPropChangeHandler (const Link< sal_Int32, void > &lnk)
 
 FmRecordCountListener (const css::uno::Reference< css::sdbc::XResultSet > &dbcCursor)
 
virtual ~FmRecordCountListener () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) override
 
void DisConnect ()
 

Private Member Functions

void NotifyCurrentCount ()
 

Private Attributes

Link< sal_Int32, void > m_lnkWhoWantsToKnow
 
css::uno::Reference< css::beans::XPropertySet > m_xListening
 

Detailed Description

Definition at line 74 of file fmsrcimp.hxx.

Constructor & Destructor Documentation

◆ FmRecordCountListener()

FmRecordCountListener::FmRecordCountListener ( const css::uno::Reference< css::sdbc::XResultSet > &  dbcCursor)

Definition at line 71 of file fmsrcimp.cxx.

References FM_PROP_ROWCOUNT, FM_PROP_ROWCOUNTFINAL, and m_xListening.

◆ ~FmRecordCountListener()

FmRecordCountListener::~FmRecordCountListener ( )
overridevirtual

Definition at line 98 of file fmsrcimp.cxx.

Member Function Documentation

◆ DisConnect()

void FmRecordCountListener::DisConnect ( )

Definition at line 104 of file fmsrcimp.cxx.

References FM_PROP_ROWCOUNT, and m_xListening.

Referenced by disposing().

◆ disposing()

void SAL_CALL FmRecordCountListener::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 112 of file fmsrcimp.cxx.

References DBG_ASSERT, DisConnect(), and m_xListening.

◆ NotifyCurrentCount()

void FmRecordCountListener::NotifyCurrentCount ( )
private

◆ propertyChange()

void FmRecordCountListener::propertyChange ( const css::beans::PropertyChangeEvent &  evt)
overridevirtual

Definition at line 130 of file fmsrcimp.cxx.

References NotifyCurrentCount().

◆ SetPropChangeHandler()

void FmRecordCountListener::SetPropChangeHandler ( const Link< sal_Int32, void > &  lnk)

Definition at line 89 of file fmsrcimp.cxx.

References m_lnkWhoWantsToKnow, m_xListening, and NotifyCurrentCount().

Member Data Documentation

◆ m_lnkWhoWantsToKnow

Link<sal_Int32,void> FmRecordCountListener::m_lnkWhoWantsToKnow
private

Definition at line 77 of file fmsrcimp.hxx.

Referenced by NotifyCurrentCount(), and SetPropChangeHandler().

◆ m_xListening

css::uno::Reference< css::beans::XPropertySet > FmRecordCountListener::m_xListening
private

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