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:
Collaboration diagram for FmRecordCountListener:

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, voidm_lnkWhoWantsToKnow
css::uno::Reference< css::beans::XPropertySet > m_xListening

Detailed Description

Definition at line 74 of file fmsrcimp.hxx.

Constructor & Destructor Documentation

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

Definition at line 97 of file fmsrcimp.cxx.

Member Function Documentation

void FmRecordCountListener::DisConnect ( )

Definition at line 103 of file fmsrcimp.cxx.

References FM_PROP_ROWCOUNT, and m_xListening.

Referenced by disposing().

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

Definition at line 111 of file fmsrcimp.cxx.

References DBG_ASSERT, DisConnect(), and m_xListening.

void FmRecordCountListener::NotifyCurrentCount ( )

Definition at line 118 of file fmsrcimp.cxx.

References DBG_ASSERT, FM_PROP_ROWCOUNT, m_lnkWhoWantsToKnow, and m_xListening.

Referenced by propertyChange(), and SetPropChangeHandler().

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

Definition at line 129 of file fmsrcimp.cxx.

References NotifyCurrentCount().

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

Definition at line 88 of file fmsrcimp.cxx.

References m_lnkWhoWantsToKnow, m_xListening, and NotifyCurrentCount().

Member Data Documentation

Link<sal_Int32,void> FmRecordCountListener::m_lnkWhoWantsToKnow

Definition at line 77 of file fmsrcimp.hxx.

Referenced by NotifyCurrentCount(), and SetPropChangeHandler().

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

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