KCal::Event Class Reference
#include <event.h>
Inheritance diagram for KCal::Event:

Public Types | |
enum | Transparency { Opaque, Transparent } |
typedef ListBase< Event > | List |
Public Member Functions | |
Event (const Event &) | |
Event & | operator= (const Event &e) |
bool | operator== (const Event &) const |
TQCString | type () const |
Event * | clone () |
void | setDtEnd (const TQDateTime &dtEnd) |
virtual TQDateTime | dtEnd () const |
TQDate | dateEnd () const |
TQString KDE_DEPRECATED | dtEndTimeStr () const |
TQString KDE_DEPRECATED | dtEndDateStr (bool shortfmt=true) const |
TQString KDE_DEPRECATED | dtEndStr () const |
void | setHasEndDate (bool) |
bool | hasEndDate () const |
bool | isMultiDay () const |
void | setTransparency (Transparency transparency) |
Transparency | transparency () const |
void | setDuration (int seconds) |
Protected Member Functions | |
virtual TQDateTime | endDateRecurrenceBase () const |
Detailed Description
Member Enumeration Documentation
Member Function Documentation
Event * Event::clone | ( | ) | [virtual] |
TQDate Event::dateEnd | ( | ) | const |
TQDateTime Event::dtEnd | ( | ) | const [virtual] |
Return end date and time.
Reimplemented from KCal::Incidence.
TQString Event::dtEndDateStr | ( | bool | shortfmt = true | ) | const |
Return end date as string formatted according to the users locale settings.
- Parameters:
-
shortfmt if true return string in short format, if false return long format
- Deprecated:
- use IncidenceFormatter::dateToString()
TQString Event::dtEndStr | ( | ) | const |
Return end date and time as string formatted according to the users locale settings.
- Deprecated:
- use IncidenceFormatter::dateTimeToString()
TQString Event::dtEndTimeStr | ( | ) | const |
Return end time as string formatted according to the users locale settings.
- Deprecated:
- use IncidenceFormatter::timeToString()
virtual TQDateTime KCal::Event::endDateRecurrenceBase | ( | ) | const [inline, protected, virtual] |
Return the end date/time of the base incidence.
Reimplemented from KCal::Incidence.
bool Event::hasEndDate | ( | ) | const |
bool Event::isMultiDay | ( | ) | const |
void Event::setDtEnd | ( | const TQDateTime & | dtEnd | ) |
void Event::setDuration | ( | int | seconds | ) | [virtual] |
Set duration of this event.
Reimplemented from KCal::IncidenceBase.
void Event::setHasEndDate | ( | bool | b | ) |
void Event::setTransparency | ( | Event::Transparency | transparency | ) |
Event::Transparency Event::transparency | ( | ) | const |
The documentation for this class was generated from the following files: