konsolekalendar

KCal::KonsoleKalendar Class Reference

#include <konsolekalendar.h>

Public Member Functions

 KonsoleKalendar (KonsoleKalendarVariables *variables)
 
 ~KonsoleKalendar ()
 
bool showInstance ()
 
bool importCalendar ()
 
bool addEvent ()
 
bool changeEvent ()
 
bool deleteEvent ()
 
bool isEvent (TQDateTime startdate, TQDateTime enddate, TQString summary)
 
bool createCalendar ()
 

Detailed Description

The base class of the project.

Author
Tuukka Pasanen

Definition at line 52 of file konsolekalendar.h.

Constructor & Destructor Documentation

◆ KonsoleKalendar()

KonsoleKalendar::KonsoleKalendar ( KonsoleKalendarVariables variables)

Constructs a KonsoleKalendar object from command line arguments.

Definition at line 62 of file konsolekalendar.cpp.

◆ ~KonsoleKalendar()

KonsoleKalendar::~KonsoleKalendar ( )

Destructor.

Definition at line 67 of file konsolekalendar.cpp.

Member Function Documentation

◆ addEvent()

bool KonsoleKalendar::addEvent ( )

Add event to calendar.

Definition at line 374 of file konsolekalendar.cpp.

◆ changeEvent()

bool KonsoleKalendar::changeEvent ( )

Change event.

Definition at line 386 of file konsolekalendar.cpp.

◆ createCalendar()

bool KonsoleKalendar::createCalendar ( )

Creates calendar file (If it doesn't exists)

Definition at line 80 of file konsolekalendar.cpp.

◆ deleteEvent()

bool KonsoleKalendar::deleteEvent ( )

Delete event.

Definition at line 399 of file konsolekalendar.cpp.

◆ importCalendar()

bool KonsoleKalendar::importCalendar ( )

Imports calendar file.

Definition at line 71 of file konsolekalendar.cpp.

◆ isEvent()

bool KonsoleKalendar::isEvent ( TQDateTime  startdate,
TQDateTime  enddate,
TQString  summary 
)

Detect if event already exists.

Parameters
startdateStarting date
enddateEnding date
summaryWhich summary event should have have

Definition at line 411 of file konsolekalendar.cpp.

◆ showInstance()

bool KonsoleKalendar::showInstance ( )

Visualize what we need.

Definition at line 109 of file konsolekalendar.cpp.


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