• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

KonsoleKalendar

KonsoleKalendarExports Class Reference

#include <konsolekalendarexports.h>

List of all members.


Detailed Description

Class to manage the Export functionality.

Author:
Tuukka Pasanen

Allen Winter

Definition at line 46 of file konsolekalendarexports.h.


Public Member Functions

bool exportAsCSV (QTextStream *ts, Event *event, const QDate &date)
bool exportAsTxt (QTextStream *ts, Event *event, const QDate &date)
bool exportAsTxtShort (QTextStream *ts, Event *event, const QDate &date, bool sameday)
 KonsoleKalendarExports (KonsoleKalendarVariables *vars=0)
 ~KonsoleKalendarExports ()

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 (  ) 

Destructor.

Definition at line 56 of file konsolekalendarexports.cpp.


Member Function Documentation

bool KonsoleKalendarExports::exportAsCSV ( QTextStream *  ts,
Event *  event,
const 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 216 of file konsolekalendarexports.cpp.

bool KonsoleKalendarExports::exportAsTxt ( QTextStream *  ts,
Event *  event,
const 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 60 of file konsolekalendarexports.cpp.

bool KonsoleKalendarExports::exportAsTxtShort ( QTextStream *  ts,
Event *  event,
const 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 146 of file konsolekalendarexports.cpp.


The documentation for this class was generated from the following files:
  • konsolekalendarexports.h
  • konsolekalendarexports.cpp

KonsoleKalendar

Skip menu "KonsoleKalendar"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal