ktimetracker
taskview.h
Go to the documentation of this file.
101 QString addTask( const QString& taskame, const QString& taskdescription = QString(), long total = 0, long session = 0, const DesktopList& desktops = QVector<int>(0,0),
void taskTotalTimesChanged(long session, long total)
Definition: taskview.h:197
void toggleFocusTracking()
Toggles the automatic tracking of focused windows.
Definition: taskview.cpp:766
void importPlanner(const QString &fileName="")
used to import tasks from imendio planner
Definition: taskview.cpp:602
void reSetTimes()
void newFocusWindowDetected(const QString &)
React on the focus having changed to Window QString.
Definition: taskview.cpp:275
Task * itemAt(int i)
Return the i'th item (zero-based), cast to a Task pointer.
Definition: taskview.cpp:405
void startTimerFor(Task *task, const QDateTime &startTime=QDateTime::currentDateTime())
starts timer for task.
Definition: taskview.cpp:721
QString setClipBoardText(const QString &s)
Set the text of the application's clipboard.
Definition: taskview.cpp:1090
Keep track of how long the computer has been idle.
Definition: idletimedetector.h:47
void updateButtons()
QString clipTotals(const ReportCriteria &rc)
Copy totals for current and all sub tasks to clipboard.
Definition: taskview.cpp:1079
void stopCurrentTimer()
Stop the timer for the current item in the view.
Definition: taskview.cpp:845
void subtractTime(int minutes)
Subtracts time from all active tasks, and does not log event.
Definition: taskview.cpp:1058
void iCalFileModified()
React on another process having modified the iCal file we rely on.
Definition: taskview.cpp:513
void timersActive()
void slotCustomContextMenuRequested(const QPoint &)
Definition: taskview.cpp:1143
QList< Task * > activeTasks() const
Returns a list of the current active tasks.
Definition: taskview.cpp:1186
void tasksChanged(QList< Task * > activeTasks)
void setStatusBarText(QString)
void slotItemDoubleClicked(QTreeWidgetItem *item, int)
Definition: taskview.cpp:1097
void startCurrentTimer()
Start the timer on the current item (task) in view.
Definition: taskview.cpp:716
bool allEventsHaveEndTiMe()
Deliver if all events from the storage have and end time.
Definition: taskview.cpp:508
void setPerCentComplete(int completion)
Sets % completed for the current task.
Definition: taskview.cpp:981
void exportcsvFile()
Export comma separated values format for task time totals.
Definition: taskview.cpp:622
void timersInactive()
void deleteTask(Task *task=0)
Deletes the given or the current task (and children) from the view.
Definition: taskview.cpp:1018
bool isFocusTrackingActive() const
Returns whether the focus tracking is currently active.
Definition: taskview.cpp:1181
void deleteTaskBatch(Task *task=0)
Deletes the given or the current task (and children) from the view.
Definition: taskview.cpp:1000
void resetDisplayTimeForAllTasks()
Reset session and total time for all tasks - do not touch the storage.
Definition: taskview.cpp:814
QList< HistoryEvent > getHistory(const QDate &from, const QDate &to) const
Return list of start/stop events for given date range.
void totalTimesChanged(long session, long total)
void reconfigure()
Reconfigures taskView depending on current configuration.
Definition: taskview.cpp:1191
QString report(const ReportCriteria &rc)
call export function for csv totals or history
Definition: taskview.cpp:617
A utility to associate tasks with desktops As soon as a desktop is activated/left - an signal is emit...
Definition: desktoptracker.h:42
void stopAllTimers(const QDateTime &when=QDateTime::currentDateTime())
Stop all running timers.
Definition: taskview.cpp:745
Provide an interface to the configuration options for the program.
Definition: preferences.h:31
void deletingTask(Task *deletedTask)
receiving signal that a task is being deleted
Definition: taskview.cpp:1063
void contextMenuRequested(const QPoint &)
void itemStateChanged(QTreeWidgetItem *item)
item state stores if a task is expanded so you can see the subtasks
Definition: taskview.cpp:494
QString exportcsvHistory()
Export comma-separated values format for task history.
Definition: taskview.cpp:637
Task * currentItem() const
Return the current item in the view, cast to a Task pointer.
Definition: taskview.cpp:399
Class to store/retrieve KTimeTracker data to/from persistent storage.
Definition: timetrackerstorage.h:57
void resetTimeForAllTasks()
Reset session and total time to zero for all tasks.
Definition: taskview.cpp:799
QString addTask(const QString &taskame, const QString &taskdescription=QString(), long total=0, long session=0, const DesktopList &desktops=QVector< int >(0, 0), Task *parent=0)
Add a task to view and storage.
Definition: taskview.cpp:902
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.