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

KonsoleKalendar

Public Member Functions | List of all members
KonsoleKalendarExports Class Reference

#include <konsolekalendarexports.h>

Public Member Functions

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

Detailed Description

Class to manage the Export functionality.

Author
Tuukka Pasanen
Allen Winter

Definition at line 46 of file konsolekalendarexports.h.

Constructor & Destructor Documentation

KonsoleKalendarExports::KonsoleKalendarExports ( KonsoleKalendarVariables *  vars = 0)
explicit

Constructs a KonsoleKalendarChange object from command line arguments.

Parameters
varsis 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,
const KCalCore::Event::Ptr &  event,
const QDate &  date 
)

Export the Event in Comma-Separated Values (CSV) Mode.

Parameters
tspointer to the output QTextStream.
eventpointer to the Event to export.
dateis the QDate to be exported for.

Definition at line 219 of file konsolekalendarexports.cpp.

bool KonsoleKalendarExports::exportAsTxt ( QTextStream *  ts,
const KCalCore::Event::Ptr &  event,
const QDate &  date 
)

Export the Event in Text Mode.

Parameters
tspointer to the output QTextStream.
eventpointer to the Event to export.
dateis the QDate to be exported for.

Definition at line 60 of file konsolekalendarexports.cpp.

bool KonsoleKalendarExports::exportAsTxtShort ( QTextStream *  ts,
const KCalCore::Event::Ptr &  event,
const QDate &  date,
bool  sameday 
)

Export the Event in Short Text Mode.

Parameters
tspointer to the output QTextStream.
eventpointer to the Event to export.
dateis the QDate to be exported for.
samedayflags 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KonsoleKalendar

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal