KDE PIM / Developers / API Docs / konsolekalendar

KCal::KonsoleKalendarVariables Class Reference

This class provides all the variables for the program. More...

#include <konsolekalendarvariables.h>

List of all members.

Public Member Functions


Detailed Description

This class provides all the variables for the program.


Member Function Documentation

void KonsoleKalendarVariables::addEvent (  QDateTime  start,
QDateTime  end,
QString  summary,
QString  description,
QString  location,
bool  floating
) 
 

New way to add events.

void KonsoleKalendarVariables::addTodo (  QDateTime  start,
QDateTime  due,
QString  summary,
QString  description,
QString  location
) 
 

New way to add todo.

Event::List * KonsoleKalendarVariables::getEvent (   ) 
 

Get events.

Todo::List * KonsoleKalendarVariables::getTodo (   ) 
 

Get todo.

void KonsoleKalendarVariables::setUseEvents (  bool  useEvents  ) 
 

Set switch to use Events.

Parameters:
useEvents if true, operation uses Events

bool KonsoleKalendarVariables::getUseEvents (   ) 
 

Get use Events switch.

Returns:
true if operation using Events is specified

void KonsoleKalendarVariables::setUseTodos (  bool  useTodos  ) 
 

Set switch to use Todos.

Parameters:
useTodos if true, operation uses Todos

bool KonsoleKalendarVariables::getUseTodos (   ) 
 

Get use Todos switch.

Returns:
true if operation using Todos is specified

void KonsoleKalendarVariables::setUseJournals (  bool  useJournals  ) 
 

Set switch to use Journals.

Parameters:
useJournals if true, operation uses Journals

bool KonsoleKalendarVariables::getUseJournals (   ) 
 

Get use Journals switch.

Returns:
true if operation using Journals is specified

void KonsoleKalendarVariables::setStartDateTime (  QDateTime  start  ) 
 

Sets start date.

Parameters:
start start date

QDateTime KonsoleKalendarVariables::getStartDateTime (   ) 
 

Get start date.

Returns:
start date

bool KonsoleKalendarVariables::isStartDateTime (   ) 
 

Is there start date?

Returns:
true if there is false is there isn't

void KonsoleKalendarVariables::setEndDateTime (  QDateTime  end  ) 
 

Sets end date.

Parameters:
end enddate

QDateTime KonsoleKalendarVariables::getEndDateTime (   ) 
 

Get end date.

Returns:
end date

bool KonsoleKalendarVariables::isEndDateTime (   ) 
 

Is there end date?

Returns:
true if there is false is there isn't

void KonsoleKalendarVariables::setTimeZoneId (   ) 
 

Sets the timezone from the user or system environment.

QString KonsoleKalendarVariables::getTimeZoneId (   ) 
 

Get timezone id string.

Returns:
timezone id string

bool KonsoleKalendarVariables::isTimeZoneId (   ) 
 

Is there a timezone set?

Returns:
true if there is false if there isn't

void KonsoleKalendarVariables::setUID (  QString  uid  ) 
 

Sets the UID, the unique tag for VCard entry.

Parameters:
uid unique tag for VCard entry

QString KonsoleKalendarVariables::getUID (   ) 
 

Get UID, the unique tag for VCard entry.

Returns:
UID number

bool KonsoleKalendarVariables::isUID (   ) 
 

Is there UID set?

Returns:
true there is UID false there isn't

void KonsoleKalendarVariables::setNext (  bool  next  ) 
 

Show only next activity and exit.

Parameters:
next true or false

bool KonsoleKalendarVariables::isNext (   ) 
 

Should we show only next activity and exit?

void KonsoleKalendarVariables::setVerbose (  bool  verbose  ) 
 

Should program be more verbose?

Parameters:
verbose a flag to set verbosity

bool KonsoleKalendarVariables::isVerbose (   ) 
 

Should program be more verbose?

void KonsoleKalendarVariables::setDryRun (  bool  dryrun  ) 
 

Should we only try to run it and do nothing?

Parameters:
dryrun false no and true just test it.

bool KonsoleKalendarVariables::isDryRun (   ) 
 

Is this program only in testing mode?

Returns:
true yes false no

void KonsoleKalendarVariables::setCalendarFile (  QString  calendar  ) 
 

Set calendar file (Kinda obsolete!).

Parameters:
calendar Calendar files full path

QString KonsoleKalendarVariables::getCalendarFile (   ) 
 

Returns fullpath to calendar file.

Returns:
calendar file

void KonsoleKalendarVariables::setImportFile (  QString  calendar  ) 
 

Set file to import active calendar.

Parameters:
calendar Calendar file to import

QString KonsoleKalendarVariables::getImportFile (   ) 
 

Return import filename.

Returns:
File that should be imported

void KonsoleKalendarVariables::setDescription (  QString  description  ) 
 

Add description.

Parameters:
description to happening

QString KonsoleKalendarVariables::getDescription (   ) 
 

return description

Returns:
description of happening

bool KonsoleKalendarVariables::isDescription (   ) 
 

is there even a description?

Returns:
true is there is description false there isn't

void KonsoleKalendarVariables::setLocation (  QString  location  ) 
 

Add location information.

Parameters:
location location where the event occurs

QString KonsoleKalendarVariables::getLocation (   ) 
 

return location information

Returns:
location where is it happening

bool KonsoleKalendarVariables::isLocation (   ) 
 

is there event location informatio available?

Returns:
true is there is description false there isn't

void KonsoleKalendarVariables::setSummary (  QString  summary  ) 
 

Add summary.

Parameters:
summary summary

QString KonsoleKalendarVariables::getSummary (   ) 
 

Get summary.

Returns:
summary

bool KonsoleKalendarVariables::isSummary (   ) 
 

Is there even a summary.

Returns:
true there is false there isn't

void KonsoleKalendarVariables::setDefault (  bool  def  ) 
 

Set is calendar default resource.

bool KonsoleKalendarVariables::isDefault (   ) 
 

Return if calendar is default resource.

void KonsoleKalendarVariables::setCalendar (  CalendarLocal *  calendar  ) 
 

Set calendar file for global use.

CalendarLocal * KonsoleKalendarVariables::getCalendar (   ) 
 

Get global calendar.

void KonsoleKalendarVariables::setExportFile (  QString  export_file  ) 
 

Set output file.

QString KonsoleKalendarVariables::getExportFile (   ) 
 

To what file we'll output.

void KonsoleKalendarVariables::setExportType (  ExportType  exportType  ) 
 

Set export type that'll we use.

ExportType KonsoleKalendarVariables::getExportType (   ) 
 

what export type konsolekalendar will use

bool KonsoleKalendarVariables::isCalendarResources (   ) 
 

Do we use CalendarResources or LocalCalendar.

CalendarResourceManager * KonsoleKalendarVariables::getCalendarResourceManager (   ) 
 

Add to Calendar Resources.

bool KonsoleKalendarVariables::addCalendarResources (  ResourceCalendar *  cal  ) 
 

Add to Calendar Resources.

void KonsoleKalendarVariables::setCalendarResources (  CalendarResources *  resource  ) 
 

Calendar resource is the new way.

CalendarResources * KonsoleKalendarVariables::getCalendarResources (   ) 
 

Calendar resource is the new way.

bool KonsoleKalendarVariables::loadCalendarResources (  KConfig *  config  ) 
 

Loads calendar resources.

void KonsoleKalendarVariables::setDaysCount (  int  count  ) 
 

Set how many day should be seen.

bool KonsoleKalendarVariables::isDaysCount (   ) 
 

Is there some cound of days should be seen.

int KonsoleKalendarVariables::getDaysCount (   ) 
 

Get how many day should be seen.

void KonsoleKalendarVariables::setParseString (  QString  parsedtring  ) 
 

Set parsing string.

QString KonsoleKalendarVariables::getParseString (   ) 
 

Set parsing string.


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