KSpread::CellBinding Class Reference

#include <kspread_sheet.h>

Inherits TQObject.

Inherited by KSpread::ChartBinding.

Signals

void changed (Cell *_obj)
 

Public Member Functions

 CellBinding (Sheet *_sheet, const TQRect &_area)
 
bool contains (int _x, int _y)
 
virtual void cellChanged (Cell *_obj)
 
virtual void setIgnoreChanges (bool _ignore)
 
virtual TQRect & dataArea ()
 
virtual void setDataArea (const TQRect _rect)
 
Sheet * sheet () const
 

Protected Attributes

TQRect m_rctDataArea
 
Sheet * m_pSheet
 
bool m_bIgnoreChanges
 

Detailed Description

This is an abstract base class only.

Definition at line 93 of file kspread_sheet.h.

Constructor & Destructor Documentation

◆ CellBinding()

KSpread::CellBinding::CellBinding ( Sheet *  _sheet,
const TQRect &  _area 
)

Definition at line 102 of file kspread_sheet.cpp.

◆ ~CellBinding()

KSpread::CellBinding::~CellBinding ( )
virtual

Definition at line 112 of file kspread_sheet.cpp.

Member Function Documentation

◆ cellChanged()

void KSpread::CellBinding::cellChanged ( Cell *  _obj)
virtual

Call this function if one of the cells covered by this binding (.

See also
#rect ) has changed. This will in turn force for example a chart to update.
Parameters
_objmay by 0L. In this case all cells may have changed.

Definition at line 117 of file kspread_sheet.cpp.

◆ contains()

bool KSpread::CellBinding::contains ( int  _x,
int  _y 
)

Definition at line 125 of file kspread_sheet.cpp.

◆ dataArea()

virtual TQRect & KSpread::CellBinding::dataArea ( )
inlinevirtual

Definition at line 112 of file kspread_sheet.h.

◆ setDataArea()

virtual void KSpread::CellBinding::setDataArea ( const TQRect  _rect)
inlinevirtual

Definition at line 113 of file kspread_sheet.h.

◆ setIgnoreChanges()

virtual void KSpread::CellBinding::setIgnoreChanges ( bool  _ignore)
inlinevirtual

Definition at line 110 of file kspread_sheet.h.

◆ sheet()

Sheet * KSpread::CellBinding::sheet ( ) const
inline

Definition at line 115 of file kspread_sheet.h.

Member Data Documentation

◆ m_bIgnoreChanges

bool KSpread::CellBinding::m_bIgnoreChanges
protected

Definition at line 123 of file kspread_sheet.h.

◆ m_pSheet

Sheet* KSpread::CellBinding::m_pSheet
protected

Definition at line 122 of file kspread_sheet.h.

◆ m_rctDataArea

TQRect KSpread::CellBinding::m_rctDataArea
protected

Definition at line 121 of file kspread_sheet.h.


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