karm
MainWindow Class Reference
#include <mainwindow.h>
Inheritance diagram for MainWindow:

Detailed Description
Main window to tie the application together.
Definition at line 26 of file mainwindow.h.
Public Slots | |
| void | setStatusBar (QString) |
| void | quit () |
Public Member Functions | |
| MainWindow (const QString &icsfile="") | |
| QString | version () const |
| QString | taskIdFromName (const QString &taskName) const |
| int | addTask (const QString &storage) |
| QString | setPerCentComplete (const QString &taskName, int PerCent) |
| int | bookTime (const QString &taskId, const QString &iso8601StartDateTime, long durationInMinutes) |
| QString | getError (int karmErrorNumber) const |
| int | totalMinutesForTaskId (const QString &taskId) |
| QString | starttimerfor (const QString &taskname) |
| QString | stoptimerfor (const QString &taskname) |
| QString | deletetodo () |
| bool | getpromptdelete () |
| QString | setpromptdelete (bool prompt) |
| QString | exportcsvfile (QString filename, QString from, QString to, int type, bool decimalMinutes, bool allTasks, QString delimiter, QString quote) |
| QString | importplannerfile (QString filename) |
Protected Slots | |
| void | keyBindings () |
| void | startNewSession () |
| void | resetAllTimes () |
| void | updateTime (long, long) |
| void | updateStatusBar () |
| bool | save () |
| void | exportcsvHistory () |
| void | print () |
| void | slotSelectionChanged () |
| void | contextMenuRequest (QListViewItem *, const QPoint &, int) |
| void | enableStopAll () |
| void | disableStopAll () |
Protected Member Functions | |
| void | startStatusBar () |
| virtual void | saveProperties (KConfig *) |
| virtual void | readProperties (KConfig *) |
| void | saveGeometry () |
| void | loadGeometry () |
| bool | queryClose () |
Friends | |
| class | KarmTray |
Member Function Documentation
| int MainWindow::addTask | ( | const QString & | storage | ) | [virtual] |
| QString MainWindow::deletetodo | ( | ) | [virtual] |
| QString MainWindow::getError | ( | int | karmErrorNumber | ) | const [virtual] |
| bool MainWindow::getpromptdelete | ( | ) | [virtual] |
| void MainWindow::quit | ( | ) | [virtual, slot] |
| bool MainWindow::save | ( | ) | [protected, virtual, slot] |
| QString MainWindow::setpromptdelete | ( | bool | prompt | ) | [virtual] |
| int MainWindow::totalMinutesForTaskId | ( | const QString & | taskId | ) | [virtual] |
Total time currently associated with a task.
A task has two counters: the total session time and the total time. Note that th euser can reset both counters.
- Parameters:
-
taskId Unique ID of task to lookup bookings for.
Implements KarmDCOPIface.
| QString MainWindow::version | ( | ) | const [virtual] |
The documentation for this class was generated from the following file:

