konsolekalendar

KCal::KonsoleKalendarVariables Class Reference

#include <konsolekalendarvariables.h>

List of all members.

Public Member Functions

 KonsoleKalendarVariables ()
 ~KonsoleKalendarVariables ()
void setUseEvents (bool useEvents)
bool getUseEvents ()
void setUseTodos (bool useTodos)
bool getUseTodos ()
void setUseJournals (bool useJournals)
bool getUseJournals ()
void setStartDateTime (TQDateTime start)
TQDateTime getStartDateTime ()
bool isStartDateTime ()
void setEndDateTime (TQDateTime end)
TQDateTime getEndDateTime ()
bool isEndDateTime ()
void setUID (TQString uid)
TQString getUID ()
bool isUID ()
void setNext (bool next)
bool isNext ()
void setVerbose (bool verbose)
bool isVerbose ()
void setDryRun (bool dryrun)
bool isDryRun ()
void setCalendarFile (TQString calendar)
TQString getCalendarFile ()
void setImportFile (TQString calendar)
TQString getImportFile ()
void setDescription (TQString description)
TQString getDescription ()
bool isDescription ()
void setLocation (TQString location)
TQString getLocation ()
bool isLocation ()
void setSummary (TQString summary)
TQString getSummary ()
bool isSummary ()
void setAll (bool all)
bool getAll ()
bool isAll ()
void setFloating (bool floating)
bool getFloating ()
void setCalendar (CalendarResources *resources)
CalendarResources * getCalendar ()
void setExportFile (TQString export_file)
TQString getExportFile ()
bool isExportFile ()
void setExportType (ExportType exportType)
ExportType getExportType ()
void setDaysCount (int count)
bool isDaysCount ()
int getDaysCount ()

Detailed Description

This class provides all the variables for the program.

Author:
Tuukka Pasanen
Allen Winter

Definition at line 77 of file konsolekalendarvariables.h.


Constructor & Destructor Documentation


Member Function Documentation

Return all option.

Definition at line 256 of file konsolekalendarvariables.cpp.

CalendarResources * KonsoleKalendarVariables::getCalendar ( )

Get global calendar resources.

Definition at line 215 of file konsolekalendarvariables.cpp.

Returns fullpath to calendar file.

Returns:
calendar file.

Definition at line 195 of file konsolekalendarvariables.cpp.

Get how many day should be seen.

Definition at line 325 of file konsolekalendarvariables.cpp.

Return description.

Returns:
description of event.

Definition at line 267 of file konsolekalendarvariables.cpp.

Get end date.

Returns:
end date.

Definition at line 120 of file konsolekalendarvariables.cpp.

To what file we'll output.

Definition at line 241 of file konsolekalendarvariables.cpp.

What export type to use.

Definition at line 225 of file konsolekalendarvariables.cpp.

Return if Event is floating.

Definition at line 314 of file konsolekalendarvariables.cpp.

Return import filename.

Returns:
File that should be imported.

Definition at line 205 of file konsolekalendarvariables.cpp.

Return location information.

Returns:
location where event is occurring.

Definition at line 283 of file konsolekalendarvariables.cpp.

Get start date.

Returns:
start date.

Definition at line 104 of file konsolekalendarvariables.cpp.

Get summary.

Returns:
summary.

Definition at line 299 of file konsolekalendarvariables.cpp.

Get UID, the unique tag for VCard entry.

Returns:
UID number.

Definition at line 88 of file konsolekalendarvariables.cpp.

Get use Events switch.

Returns:
true if operation using Events is specified.

Definition at line 165 of file konsolekalendarvariables.cpp.

Get use Journals switch.

Returns:
true if operation using Journals is specified.

Definition at line 185 of file konsolekalendarvariables.cpp.

Get use Todos switch.

Returns:
true if operation using Todos is specified.

Definition at line 175 of file konsolekalendarvariables.cpp.

Is the all option set?

Definition at line 246 of file konsolekalendarvariables.cpp.

Is there some cound of days should be seen.

Definition at line 330 of file konsolekalendarvariables.cpp.

Is there an event description?

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

Definition at line 272 of file konsolekalendarvariables.cpp.

Is this program only in testing mode?

Returns:
true yes false no.

Definition at line 155 of file konsolekalendarvariables.cpp.

Is there end date?

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

Definition at line 125 of file konsolekalendarvariables.cpp.

Has an Export File been set?

Definition at line 236 of file konsolekalendarvariables.cpp.

Is there event location information available?

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

Definition at line 288 of file konsolekalendarvariables.cpp.

Should we show only next activity and exit?

Definition at line 135 of file konsolekalendarvariables.cpp.

Is there start date?

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

Definition at line 109 of file konsolekalendarvariables.cpp.

Is there an event summary?

Returns:
true there is false there isn't.

Definition at line 304 of file konsolekalendarvariables.cpp.

Is there UID set?

Returns:
true there is UID false there isn't.

Definition at line 93 of file konsolekalendarvariables.cpp.

Should program be more verbose?

Definition at line 145 of file konsolekalendarvariables.cpp.

View all option.

Parameters:
allflag to view all Events.

Definition at line 251 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setCalendar ( CalendarResources *  resources)

Set calendar resources for global use.

Definition at line 210 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setCalendarFile ( TQString  calendar)

Set calendar file.

Parameters:
calendarCalendar files full path.

Definition at line 190 of file konsolekalendarvariables.cpp.

Set how many day should be seen.

Definition at line 319 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setDescription ( TQString  description)

Add description.

Parameters:
descriptionto event.

Definition at line 261 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setDryRun ( bool  dryrun)

Should we only try to run it and do nothing?

Parameters:
dryrunfalse no and true just test it.

Definition at line 150 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setEndDateTime ( TQDateTime  end)

Sets end date.

Parameters:
endis the enddate.

Definition at line 114 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setExportFile ( TQString  export_file)

Set output file.

Definition at line 230 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setExportType ( ExportType  exportType)

Set export type that'll we use.

Definition at line 220 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setFloating ( bool  floating)

Set if Event is floating.

Parameters:
floatingif true then the Event is floating.

Definition at line 309 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setImportFile ( TQString  calendar)

Set file to import active calendar.

Parameters:
calendarCalendar file to import.

Definition at line 200 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setLocation ( TQString  location)

Add location information.

Parameters:
locationlocation where the event occurs.

Definition at line 277 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setNext ( bool  next)

Show only next activity and exit.

Parameters:
nexttrue or false.

Definition at line 130 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setStartDateTime ( TQDateTime  start)

Sets start date.

Parameters:
startis the start date.

Definition at line 98 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setSummary ( TQString  summary)

Add summary.

Parameters:
summaryevent summary.

Definition at line 293 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setUID ( TQString  uid)

Sets the UID, the unique tag for VCard entry.

Parameters:
uidunique tag for VCard entry.

Definition at line 82 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setUseEvents ( bool  useEvents)

Set switch to use Events.

Parameters:
useEventsif true, operation uses Events.

Definition at line 160 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setUseJournals ( bool  useJournals)

Set switch to use Journals.

Parameters:
useJournalsif true, operation uses Journals.

Definition at line 180 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setUseTodos ( bool  useTodos)

Set switch to use Todos.

Parameters:
useTodosif true, operation uses Todos.

Definition at line 170 of file konsolekalendarvariables.cpp.

void KonsoleKalendarVariables::setVerbose ( bool  verbose)

Should program be more verbose?

Parameters:
verbosea flag to set verbosity.

Definition at line 140 of file konsolekalendarvariables.cpp.


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