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

class FmRecordCountListener - utility class for FmSearchEngine, listens at a certain cursor and provides the differences in RecordCount More...

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

Detailed Description

class FmRecordCountListener - utility class for FmSearchEngine, listens at a certain cursor and provides the differences in RecordCount

Definition at line 71 of file fmsrcimp.hxx.

Constructor & Destructor Documentation

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

Definition at line 104 of file fmsrcimp.cxx.

Member Function Documentation

void FmRecordCountListener::DisConnect ( )

Definition at line 110 of file fmsrcimp.cxx.

References FM_PROP_ROWCOUNT, and m_xListening.

Referenced by disposing().

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

Definition at line 118 of file fmsrcimp.cxx.

References DBG_ASSERT, DisConnect(), and m_xListening.

void FmRecordCountListener::NotifyCurrentCount ( )
private

Definition at line 125 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)
overridevirtual

Definition at line 136 of file fmsrcimp.cxx.

References NotifyCurrentCount().

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

Definition at line 95 of file fmsrcimp.cxx.

References m_lnkWhoWantsToKnow, m_xListening, and NotifyCurrentCount().

Member Data Documentation

Link<sal_Int32,void> FmRecordCountListener::m_lnkWhoWantsToKnow
private

Definition at line 74 of file fmsrcimp.hxx.

Referenced by NotifyCurrentCount(), and SetPropChangeHandler().

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

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