kspread

KSpread::Region::Range Class Reference

#include <region.h>

Inheritance diagram for KSpread::Region::Range:
KSpread::Region::Element

Public Member Functions

 Range (const TQRect &)
 Range (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
int width () const
int height () 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 range 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_range: 16 bytes sum: 24 bytes

Definition at line 410 of file region.h.

Constructor & Destructor Documentation

◆ Range() [1/2]

KSpread::Region::Range::Range ( const TQRect & rect)

Definition at line 903 of file region.cpp.

◆ Range() [2/2]

KSpread::Region::Range::Range ( const TQString & sRange)

Definition at line 909 of file region.cpp.

◆ ~Range()

KSpread::Region::Range::~Range ( )
virtual

Definition at line 931 of file region.cpp.

Member Function Documentation

◆ contains() [1/2]

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

Reimplemented from KSpread::Region::Element.

Definition at line 946 of file region.cpp.

◆ contains() [2/2]

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

Reimplemented from KSpread::Region::Element.

Definition at line 951 of file region.cpp.

◆ isColumn()

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

Reimplemented from KSpread::Region::Element.

Definition at line 419 of file region.h.

◆ isRow()

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

Reimplemented from KSpread::Region::Element.

Definition at line 420 of file region.h.

◆ isValid()

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

Reimplemented from KSpread::Region::Element.

Definition at line 418 of file region.h.

◆ name()

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

Reimplemented from KSpread::Region::Element.

Definition at line 935 of file region.cpp.

◆ rect()

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

Reimplemented from KSpread::Region::Element.

Definition at line 427 of file region.h.

◆ type()

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

Reimplemented from KSpread::Region::Element.

Definition at line 417 of file region.h.


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