KonsoleKalendar
#include <konsolekalendar.h>
Public Member Functions | |
KonsoleKalendar (KonsoleKalendarVariables *variables) | |
~KonsoleKalendar () | |
bool | addEvent () |
bool | changeEvent () |
bool | createCalendar () |
bool | deleteEvent () |
bool | importCalendar () |
bool | isEvent (const QDateTime &startdate, const QDateTime &enddate, const QString &summary) |
bool | printCalendarList () |
bool | showInstance () |
Detailed Description
The base class of the project.
Definition at line 50 of file konsolekalendar.h.
Constructor & Destructor Documentation
|
explicit |
Constructs a KonsoleKalendar object from command line arguments.
- Parameters
-
variables is a pointer to a KonsoleKalendarVariables object containing all the command line arguments.
Definition at line 64 of file konsolekalendar.cpp.
KonsoleKalendar::~KonsoleKalendar | ( | ) |
Destructor.
Definition at line 69 of file konsolekalendar.cpp.
Member Function Documentation
bool KonsoleKalendar::addEvent | ( | ) |
Add event to calendar.
Definition at line 404 of file konsolekalendar.cpp.
bool KonsoleKalendar::changeEvent | ( | ) |
Change event.
Definition at line 414 of file konsolekalendar.cpp.
bool KonsoleKalendar::createCalendar | ( | ) |
Creates calendar file (If it doesn't exists)
Definition at line 136 of file konsolekalendar.cpp.
bool KonsoleKalendar::deleteEvent | ( | ) |
Delete event.
Definition at line 425 of file konsolekalendar.cpp.
bool KonsoleKalendar::importCalendar | ( | ) |
Imports calendar file.
Definition at line 73 of file konsolekalendar.cpp.
bool KonsoleKalendar::isEvent | ( | const QDateTime & | startdate, |
const QDateTime & | enddate, | ||
const QString & | summary | ||
) |
Detect if event already exists.
- Parameters
-
startdate Starting date enddate Ending date summary Which summary event should have have
Definition at line 435 of file konsolekalendar.cpp.
bool KonsoleKalendar::printCalendarList | ( | ) |
Prints the available calendars.
Definition at line 81 of file konsolekalendar.cpp.
bool KonsoleKalendar::showInstance | ( | ) |
Visualize what we need.
Definition at line 161 of file konsolekalendar.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.