KGantt::Span

Search for usage in LXR

KGantt::Span Class Reference

#include <KGanttGlobal>

Public Member Functions

 Span (const Span &other)
 
 Span (qreal start, qreal length)
 
qreal end () const
 
bool equals (const Span &other) const
 
Span expandedTo (const Span &other) const
 
bool isValid () const
 
qreal length () const
 
Spanoperator= (const Span &other)
 
void setEnd (qreal end)
 
void setLength (qreal length)
 
void setStart (qreal start)
 
qreal start () const
 

Detailed Description

A class representing a start point and a length.

Constructor & Destructor Documentation

◆ Span() [1/3]

KGantt::Span::Span ( )
inline

Definition at line 244 of file kganttglobal.h.

◆ Span() [2/3]

KGantt::Span::Span ( qreal start,
qreal length )
inline

Definition at line 245 of file kganttglobal.h.

◆ Span() [3/3]

KGantt::Span::Span ( const Span & other)
inline

Definition at line 246 of file kganttglobal.h.

Member Function Documentation

◆ end()

qreal KGantt::Span::end ( ) const
inline

Definition at line 253 of file kganttglobal.h.

◆ equals()

bool KGantt::Span::equals ( const Span & other) const
inline

Definition at line 260 of file kganttglobal.h.

◆ expandedTo()

Span KGantt::Span::expandedTo ( const Span & other) const
inline

Definition at line 263 of file kganttglobal.h.

◆ isValid()

bool KGantt::Span::isValid ( ) const
inline

Definition at line 258 of file kganttglobal.h.

◆ length()

qreal KGantt::Span::length ( ) const
inline

Definition at line 256 of file kganttglobal.h.

◆ operator=()

Span & KGantt::Span::operator= ( const Span & other)
inline

Definition at line 248 of file kganttglobal.h.

◆ setEnd()

void KGantt::Span::setEnd ( qreal end)
inline

Definition at line 252 of file kganttglobal.h.

◆ setLength()

void KGantt::Span::setLength ( qreal length)
inline

Definition at line 255 of file kganttglobal.h.

◆ setStart()

void KGantt::Span::setStart ( qreal start)
inline

Definition at line 250 of file kganttglobal.h.

◆ start()

qreal KGantt::Span::start ( ) const
inline

Definition at line 251 of file kganttglobal.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.