libkcal

KCal::Duration Class Reference

This class represents a duration. More...

#include <duration.h>

List of all members.


Public Member Functions

int asSeconds () const
 Duration (int seconds)
 Duration (const QDateTime &start, const QDateTime &end)
 Duration ()
QDateTime end (const QDateTime &start) const

Detailed Description

This class represents a duration.

Definition at line 33 of file duration.h.


Constructor & Destructor Documentation

Duration::Duration (  ) 

Definition at line 29 of file duration.cpp.

Duration::Duration ( const QDateTime start,
const QDateTime end 
)

Definition at line 34 of file duration.cpp.

Duration::Duration ( int  seconds  ) 

Definition at line 39 of file duration.cpp.


Member Function Documentation

int Duration::asSeconds (  )  const

Definition at line 57 of file duration.cpp.

QDateTime Duration::end ( const QDateTime start  )  const

Definition at line 52 of file duration.cpp.


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