konsolekalendar

KCal::KonsoleKalendarVariables Class Reference

#include <konsolekalendarvariables.h>

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 76 of file konsolekalendarvariables.h.

Constructor & Destructor Documentation

◆ KonsoleKalendarVariables()

KonsoleKalendarVariables::KonsoleKalendarVariables ( )

Construct an empty KonsoleKalendarVariables object.

Definition at line 53 of file konsolekalendarvariables.cpp.

◆ ~KonsoleKalendarVariables()

KonsoleKalendarVariables::~KonsoleKalendarVariables ( )

Destructor.

Definition at line 76 of file konsolekalendarvariables.cpp.

Member Function Documentation

◆ getAll()

bool KonsoleKalendarVariables::getAll ( )

Return all option.

Definition at line 255 of file konsolekalendarvariables.cpp.

◆ getCalendar()

CalendarResources * KonsoleKalendarVariables::getCalendar ( )

Get global calendar resources.

Definition at line 214 of file konsolekalendarvariables.cpp.

◆ getCalendarFile()

TQString KonsoleKalendarVariables::getCalendarFile ( )

Returns fullpath to calendar file.

Returns
calendar file.

Definition at line 194 of file konsolekalendarvariables.cpp.

◆ getDaysCount()

int KonsoleKalendarVariables::getDaysCount ( )

Get how many day should be seen.

Definition at line 324 of file konsolekalendarvariables.cpp.

◆ getDescription()

TQString KonsoleKalendarVariables::getDescription ( )

Return description.

Returns
description of event.

Definition at line 266 of file konsolekalendarvariables.cpp.

◆ getEndDateTime()

TQDateTime KonsoleKalendarVariables::getEndDateTime ( )

Get end date.

Returns
end date.

Definition at line 119 of file konsolekalendarvariables.cpp.

◆ getExportFile()

TQString KonsoleKalendarVariables::getExportFile ( )

To what file we'll output.

Definition at line 240 of file konsolekalendarvariables.cpp.

◆ getExportType()

ExportType KonsoleKalendarVariables::getExportType ( )

What export type to use.

Definition at line 224 of file konsolekalendarvariables.cpp.

◆ getFloating()

bool KonsoleKalendarVariables::getFloating ( )

Return if Event is floating.

Definition at line 313 of file konsolekalendarvariables.cpp.

◆ getImportFile()

TQString KonsoleKalendarVariables::getImportFile ( )

Return import filename.

Returns
File that should be imported.

Definition at line 204 of file konsolekalendarvariables.cpp.

◆ getLocation()

TQString KonsoleKalendarVariables::getLocation ( )

Return location information.

Returns
location where event is occurring.

Definition at line 282 of file konsolekalendarvariables.cpp.

◆ getStartDateTime()

TQDateTime KonsoleKalendarVariables::getStartDateTime ( )

Get start date.

Returns
start date.

Definition at line 103 of file konsolekalendarvariables.cpp.

◆ getSummary()

TQString KonsoleKalendarVariables::getSummary ( )

Get summary.

Returns
summary.

Definition at line 298 of file konsolekalendarvariables.cpp.

◆ getUID()

TQString KonsoleKalendarVariables::getUID ( )

Get UID, the unique tag for VCard entry.

Returns
UID number.

Definition at line 87 of file konsolekalendarvariables.cpp.

◆ getUseEvents()

bool KonsoleKalendarVariables::getUseEvents ( )

Get use Events switch.

Returns
true if operation using Events is specified.

Definition at line 164 of file konsolekalendarvariables.cpp.

◆ getUseJournals()

bool KonsoleKalendarVariables::getUseJournals ( )

Get use Journals switch.

Returns
true if operation using Journals is specified.

Definition at line 184 of file konsolekalendarvariables.cpp.

◆ getUseTodos()

bool KonsoleKalendarVariables::getUseTodos ( )

Get use Todos switch.

Returns
true if operation using Todos is specified.

Definition at line 174 of file konsolekalendarvariables.cpp.

◆ isAll()

bool KonsoleKalendarVariables::isAll ( )

Is the all option set?

Definition at line 245 of file konsolekalendarvariables.cpp.

◆ isDaysCount()

bool KonsoleKalendarVariables::isDaysCount ( )

Is there some cound of days should be seen.

Definition at line 329 of file konsolekalendarvariables.cpp.

◆ isDescription()

bool KonsoleKalendarVariables::isDescription ( )

Is there an event description?

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

Definition at line 271 of file konsolekalendarvariables.cpp.

◆ isDryRun()

bool KonsoleKalendarVariables::isDryRun ( )

Is this program only in testing mode?

Returns
true yes false no.

Definition at line 154 of file konsolekalendarvariables.cpp.

◆ isEndDateTime()

bool KonsoleKalendarVariables::isEndDateTime ( )

Is there end date?

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

Definition at line 124 of file konsolekalendarvariables.cpp.

◆ isExportFile()

bool KonsoleKalendarVariables::isExportFile ( )

Has an Export File been set?

Definition at line 235 of file konsolekalendarvariables.cpp.

◆ isLocation()

bool KonsoleKalendarVariables::isLocation ( )

Is there event location information available?

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

Definition at line 287 of file konsolekalendarvariables.cpp.

◆ isNext()

bool KonsoleKalendarVariables::isNext ( )

Should we show only next activity and exit?

Definition at line 134 of file konsolekalendarvariables.cpp.

◆ isStartDateTime()

bool KonsoleKalendarVariables::isStartDateTime ( )

Is there start date?

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

Definition at line 108 of file konsolekalendarvariables.cpp.

◆ isSummary()

bool KonsoleKalendarVariables::isSummary ( )

Is there an event summary?

Returns
true there is false there isn't.

Definition at line 303 of file konsolekalendarvariables.cpp.

◆ isUID()

bool KonsoleKalendarVariables::isUID ( )

Is there UID set?

Returns
true there is UID false there isn't.

Definition at line 92 of file konsolekalendarvariables.cpp.

◆ isVerbose()

bool KonsoleKalendarVariables::isVerbose ( )

Should program be more verbose?

Definition at line 144 of file konsolekalendarvariables.cpp.

◆ setAll()

void KonsoleKalendarVariables::setAll ( bool  all)

View all option.

Parameters
allflag to view all Events.

Definition at line 250 of file konsolekalendarvariables.cpp.

◆ setCalendar()

void KonsoleKalendarVariables::setCalendar ( CalendarResources *  resources)

Set calendar resources for global use.

Definition at line 209 of file konsolekalendarvariables.cpp.

◆ setCalendarFile()

void KonsoleKalendarVariables::setCalendarFile ( TQString  calendar)

Set calendar file.

Parameters
calendarCalendar files full path.

Definition at line 189 of file konsolekalendarvariables.cpp.

◆ setDaysCount()

void KonsoleKalendarVariables::setDaysCount ( int  count)

Set how many day should be seen.

Definition at line 318 of file konsolekalendarvariables.cpp.

◆ setDescription()

void KonsoleKalendarVariables::setDescription ( TQString  description)

Add description.

Parameters
descriptionto event.

Definition at line 260 of file konsolekalendarvariables.cpp.

◆ setDryRun()

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 149 of file konsolekalendarvariables.cpp.

◆ setEndDateTime()

void KonsoleKalendarVariables::setEndDateTime ( TQDateTime  end)

Sets end date.

Parameters
endis the enddate.

Definition at line 113 of file konsolekalendarvariables.cpp.

◆ setExportFile()

void KonsoleKalendarVariables::setExportFile ( TQString  export_file)

Set output file.

Definition at line 229 of file konsolekalendarvariables.cpp.

◆ setExportType()

void KonsoleKalendarVariables::setExportType ( ExportType  exportType)

Set export type that'll we use.

Definition at line 219 of file konsolekalendarvariables.cpp.

◆ setFloating()

void KonsoleKalendarVariables::setFloating ( bool  floating)

Set if Event is floating.

Parameters
floatingif true then the Event is floating.

Definition at line 308 of file konsolekalendarvariables.cpp.

◆ setImportFile()

void KonsoleKalendarVariables::setImportFile ( TQString  calendar)

Set file to import active calendar.

Parameters
calendarCalendar file to import.

Definition at line 199 of file konsolekalendarvariables.cpp.

◆ setLocation()

void KonsoleKalendarVariables::setLocation ( TQString  location)

Add location information.

Parameters
locationlocation where the event occurs.

Definition at line 276 of file konsolekalendarvariables.cpp.

◆ setNext()

void KonsoleKalendarVariables::setNext ( bool  next)

Show only next activity and exit.

Parameters
nexttrue or false.

Definition at line 129 of file konsolekalendarvariables.cpp.

◆ setStartDateTime()

void KonsoleKalendarVariables::setStartDateTime ( TQDateTime  start)

Sets start date.

Parameters
startis the start date.

Definition at line 97 of file konsolekalendarvariables.cpp.

◆ setSummary()

void KonsoleKalendarVariables::setSummary ( TQString  summary)

Add summary.

Parameters
summaryevent summary.

Definition at line 292 of file konsolekalendarvariables.cpp.

◆ setUID()

void KonsoleKalendarVariables::setUID ( TQString  uid)

Sets the UID, the unique tag for VCard entry.

Parameters
uidunique tag for VCard entry.

Definition at line 81 of file konsolekalendarvariables.cpp.

◆ setUseEvents()

void KonsoleKalendarVariables::setUseEvents ( bool  useEvents)

Set switch to use Events.

Parameters
useEventsif true, operation uses Events.

Definition at line 159 of file konsolekalendarvariables.cpp.

◆ setUseJournals()

void KonsoleKalendarVariables::setUseJournals ( bool  useJournals)

Set switch to use Journals.

Parameters
useJournalsif true, operation uses Journals.

Definition at line 179 of file konsolekalendarvariables.cpp.

◆ setUseTodos()

void KonsoleKalendarVariables::setUseTodos ( bool  useTodos)

Set switch to use Todos.

Parameters
useTodosif true, operation uses Todos.

Definition at line 169 of file konsolekalendarvariables.cpp.

◆ setVerbose()

void KonsoleKalendarVariables::setVerbose ( bool  verbose)

Should program be more verbose?

Parameters
verbosea flag to set verbosity.

Definition at line 139 of file konsolekalendarvariables.cpp.


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