KSpread::Region::Point Class Reference

#include <region.h>

Inheritance diagram for KSpread::Region::Point:
KSpread::Region::Element

Public Member Functions

 Point (const TQPoint &)
 
 Point (const TQString &)
 
virtual Type type () const
 
virtual bool isValid () const
 
virtual bool isColumn () const
 
virtual bool isRow () const
 
virtual bool contains (const TQPoint &) const
 
virtual bool contains (const TQRect &) const
 
virtual TQString name (Sheet *originSheet=0) const
 
virtual TQRect rect () const
 
TQPoint pos () const
 
- Public Member Functions inherited from KSpread::Region::Element
virtual const TQColor & color () const
 
Sheet * sheet () const
 
void setSheet (Sheet *sheet)
 

Additional Inherited Members

- Public Types inherited from KSpread::Region::Element
enum  Type { Undefined , Point , Range }
 
- Protected Attributes inherited from KSpread::Region::Element
Sheet * m_sheet
 

Detailed Description

A point in a region.

This class is used by KSpread::Region and could not be used outside of it.

Size: m_sheet: 4 bytes vtable: 4 bytes m_point: 8 bytes sum: 16 bytes

Definition at line 370 of file region.h.

Constructor & Destructor Documentation

◆ Point() [1/2]

KSpread::Region::Point::Point ( const TQPoint &  point)

Definition at line 758 of file region.cpp.

◆ Point() [2/2]

KSpread::Region::Point::Point ( const TQString &  sCell)

Definition at line 764 of file region.cpp.

◆ ~Point()

KSpread::Region::Point::~Point ( )
virtual

Definition at line 874 of file region.cpp.

Member Function Documentation

◆ contains() [1/2]

bool KSpread::Region::Point::contains ( const TQPoint &  point) const
virtual

Reimplemented from KSpread::Region::Element.

Definition at line 888 of file region.cpp.

◆ contains() [2/2]

bool KSpread::Region::Point::contains ( const TQRect &  range) const
virtual

Reimplemented from KSpread::Region::Element.

Definition at line 893 of file region.cpp.

◆ isColumn()

virtual bool KSpread::Region::Point::isColumn ( ) const
inlinevirtual

Reimplemented from KSpread::Region::Element.

Definition at line 379 of file region.h.

◆ isRow()

virtual bool KSpread::Region::Point::isRow ( ) const
inlinevirtual

Reimplemented from KSpread::Region::Element.

Definition at line 380 of file region.h.

◆ isValid()

virtual bool KSpread::Region::Point::isValid ( ) const
inlinevirtual

Reimplemented from KSpread::Region::Element.

Definition at line 378 of file region.h.

◆ name()

TQString KSpread::Region::Point::name ( Sheet *  originSheet = 0) const
virtual

Reimplemented from KSpread::Region::Element.

Definition at line 878 of file region.cpp.

◆ pos()

TQPoint KSpread::Region::Point::pos ( ) const
inline

Definition at line 389 of file region.h.

◆ rect()

virtual TQRect KSpread::Region::Point::rect ( ) const
inlinevirtual

Reimplemented from KSpread::Region::Element.

Definition at line 387 of file region.h.

◆ type()

virtual Type KSpread::Region::Point::type ( ) const
inlinevirtual

Reimplemented from KSpread::Region::Element.

Definition at line 377 of file region.h.


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