konsolekalendar
KCal::KonsoleKalendarExports Class Reference
Class to manage the Export functionality. More...
#include <konsolekalendarexports.h>
Public Member Functions | |
bool | exportAsCSV (QTextStream *ts, Event *event, QDate date) |
bool | exportAsTxt (QTextStream *ts, Event *event, QDate date) |
bool | exportAsTxtShort (QTextStream *ts, Event *event, QDate date, bool sameday) |
KonsoleKalendarExports (KonsoleKalendarVariables *vars=0) | |
~KonsoleKalendarExports () |
Detailed Description
Class to manage the Export functionality.
Definition at line 47 of file konsolekalendarexports.h.
Constructor & Destructor Documentation
KonsoleKalendarExports::KonsoleKalendarExports | ( | KonsoleKalendarVariables * | vars = 0 |
) |
Constructs a KonsoleKalendarChange object from command line arguments.
- Parameters:
-
vars is a KonsoleKalendarVariable object with Event information.
Definition at line 50 of file konsolekalendarexports.cpp.
KonsoleKalendarExports::~KonsoleKalendarExports | ( | ) |
Member Function Documentation
bool KonsoleKalendarExports::exportAsCSV | ( | QTextStream * | ts, | |
Event * | event, | |||
QDate | date | |||
) |
Export the Event in Comma-Separated Values (CSV) Mode.
- Parameters:
-
ts pointer to the output QTextStream. event pointer to the Event to export. date is the QDate to be exported for.
Definition at line 213 of file konsolekalendarexports.cpp.
bool KonsoleKalendarExports::exportAsTxt | ( | QTextStream * | ts, | |
Event * | event, | |||
QDate | date | |||
) |
Export the Event in Text Mode.
- Parameters:
-
ts pointer to the output QTextStream. event pointer to the Event to export. date is the QDate to be exported for.
Definition at line 61 of file konsolekalendarexports.cpp.
bool KonsoleKalendarExports::exportAsTxtShort | ( | QTextStream * | ts, | |
Event * | event, | |||
QDate | date, | |||
bool | sameday | |||
) |
Export the Event in Short Text Mode.
- Parameters:
-
ts pointer to the output QTextStream. event pointer to the Event to export. date is the QDate to be exported for. sameday flags that this Event is on the same date as the previously exported Event.
Definition at line 147 of file konsolekalendarexports.cpp.
The documentation for this class was generated from the following files: