kspread

KSpread::Region::Element Class Reference

Base class for region elements, which can be points or ranges. More...

#include <Region.h>

Inheritance diagram for KSpread::Region::Element:

List of all members.

Public Types

enum  Type { Undefined, Point, Range }

Public Member Functions

 Element ()
virtual ~Element ()
virtual bool contains (const QRect &) const
virtual bool contains (const QPoint &) const
virtual bool isAll () const
virtual bool isBottomFixed () const
virtual bool isColumn () const
virtual bool isColumnFixed () const
virtual bool isLeftFixed () const
virtual bool isRightFixed () const
virtual bool isRow () const
virtual bool isRowFixed () const
virtual bool isTopFixed () const
virtual bool isValid () const
virtual QString name (Sheet *=0) const
virtual QRect rect () const
void setSheet (Sheet *sheet)
Sheetsheet () const
virtual Type type () const

Protected Attributes

Sheetm_sheet

Detailed Description

Base class for region elements, which can be points or ranges.

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

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

Definition at line 405 of file Region.h.


Member Enumeration Documentation

Enumerator:
Undefined 
Point 
Range 

Definition at line 408 of file Region.h.


Constructor & Destructor Documentation

KSpread::Region::Element::Element (  ) 

Definition at line 1062 of file Region.cpp.

KSpread::Region::Element::~Element (  )  [virtual]

Definition at line 1067 of file Region.cpp.


Member Function Documentation

virtual bool KSpread::Region::Element::contains ( const QRect  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 420 of file Region.h.

virtual bool KSpread::Region::Element::contains ( const QPoint  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 419 of file Region.h.

virtual bool KSpread::Region::Element::isAll (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 417 of file Region.h.

virtual bool KSpread::Region::Element::isBottomFixed (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 429 of file Region.h.

virtual bool KSpread::Region::Element::isColumn (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 415 of file Region.h.

virtual bool KSpread::Region::Element::isColumnFixed (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 425 of file Region.h.

virtual bool KSpread::Region::Element::isLeftFixed (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 428 of file Region.h.

virtual bool KSpread::Region::Element::isRightFixed (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 430 of file Region.h.

virtual bool KSpread::Region::Element::isRow (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 416 of file Region.h.

virtual bool KSpread::Region::Element::isRowFixed (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 426 of file Region.h.

virtual bool KSpread::Region::Element::isTopFixed (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 427 of file Region.h.

virtual bool KSpread::Region::Element::isValid (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 414 of file Region.h.

virtual QString KSpread::Region::Element::name ( Sheet = 0  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 422 of file Region.h.

virtual QRect KSpread::Region::Element::rect (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 423 of file Region.h.

void KSpread::Region::Element::setSheet ( Sheet sheet  )  [inline]

Definition at line 433 of file Region.h.

Sheet* KSpread::Region::Element::sheet (  )  const [inline]

Definition at line 432 of file Region.h.

virtual Type KSpread::Region::Element::type (  )  const [inline, virtual]

Reimplemented in KSpread::Region::Point, and KSpread::Region::Range.

Definition at line 413 of file Region.h.


Member Data Documentation

Definition at line 440 of file Region.h.


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