karm_part.h
74 int bookTime( const TQString& taskId, const TQString& iso8601StartDateTime, long durationInMinutes );
83 TQString exportcsvfile( TQString filename, TQString from, TQString to, int type = 0, bool decimalMinutes=true, bool allTasks=true, TQString delimiter="r", TQString quote="q" );
virtual TQString exportcsvfile(TQString filename, TQString from, TQString to, int type=0, bool decimalMinutes=true, bool allTasks=true, TQString delimiter=";", TQString quote="'")=0
export csv history or totals file
virtual TQString starttimerfor(const TQString &taskname)=0
Start timer for all tasks with the summary taskname.
virtual TQString setPerCentComplete(const TQString &taskName, int perCent)=0
Set percent complete to a task.
virtual int totalMinutesForTaskId(const TQString &taskId)=0
Total time currently associated with a task.
virtual TQString stoptimerfor(const TQString &taskname)=0
Stop timer for all tasks with the summary taskname.
virtual TQString importplannerfile(TQString filename)=0
import planner project file
virtual TQString getError(int karmErrorNumber) const =0
Return error string associated with karm error number.
virtual TQString taskIdFromName(const TQString &taskName) const =0
Return id of task found, empty string if no match.
virtual TQString setpromptdelete(bool prompt)=0
set if prompted on deleting a task
virtual int bookTime(const TQString &taskId, const TQString &iso8601StartDateTime, long durationInMinutes)=0
Add time to a task.
Provide an interface to the configuration options for the program.
Definition preferences.h:17
Easy updating of menu accels when changing a TDEAccel object.
Definition tdeaccelmenuwatch.h:36
virtual void setReadWrite(bool rw)
This is a virtual function inherited from KParts::ReadWritePart.
Definition karm_part.cpp:286
virtual void setModified(bool modified)
Reimplemented to disable and enable Save action.
Definition karm_part.cpp:301
virtual bool saveFile()
This must be implemented by each read-write part.
Definition karm_part.cpp:330