ktimetracker
MainWindow Class Reference
Main window to tie the application together. More...
#include <mainwindow.h>

Public Slots | |
| void | quit () |
| void | setStatusBar (const QString &) |
| void | slotSetCaption (const QString &) |
Public Member Functions | |
| MainWindow (const QString &icsfile="") | |
| virtual | ~MainWindow () |
Protected Slots | |
| void | keyBindings () |
| void | reSetTimes () |
| void | startNewSession () |
| void | taskViewCustomContextMenuRequested (const QPoint &) |
| void | updateStatusBar () |
| void | updateTime (long, long) |
Protected Member Functions | |
| void | loadGeometry () |
| bool | queryClose () |
| void | readProperties (const KConfigGroup &config) |
| void | saveGeometry () |
| void | saveProperties (KConfigGroup &config) |
| void | startStatusBar () |
Detailed Description
Main window to tie the application together.
Definition at line 43 of file mainwindow.h.
Constructor & Destructor Documentation
| MainWindow::MainWindow | ( | const QString & | icsfile = "" |
) |
Definition at line 51 of file mainwindow.cpp.
| MainWindow::~MainWindow | ( | ) | [virtual] |
Definition at line 139 of file mainwindow.cpp.
Member Function Documentation
| void MainWindow::keyBindings | ( | ) | [protected, slot] |
Definition at line 193 of file mainwindow.cpp.
| void MainWindow::loadGeometry | ( | ) | [protected] |
Definition at line 217 of file mainwindow.cpp.
| bool MainWindow::queryClose | ( | ) | [protected] |
Definition at line 240 of file mainwindow.cpp.
| void MainWindow::quit | ( | ) | [slot] |
| void MainWindow::readProperties | ( | const KConfigGroup & | config | ) | [protected] |
Definition at line 108 of file mainwindow.cpp.
| void MainWindow::reSetTimes | ( | ) | [protected, slot] |
Set total application time and total application session time to zero.
Set the total application time and total application session time to zero.
Typically, these times are shown as the lowest and rightest figures in the widget.
Definition at line 164 of file mainwindow.cpp.
| void MainWindow::saveGeometry | ( | ) | [protected] |
Definition at line 232 of file mainwindow.cpp.
| void MainWindow::saveProperties | ( | KConfigGroup & | config | ) | [protected] |
Definition at line 114 of file mainwindow.cpp.
| void MainWindow::setStatusBar | ( | const QString & | qs | ) | [slot] |
Definition at line 124 of file mainwindow.cpp.
| void MainWindow::slotSetCaption | ( | const QString & | qs | ) | [slot] |
Definition at line 119 of file mainwindow.cpp.
| void MainWindow::startNewSession | ( | ) | [protected, slot] |
Definition at line 198 of file mainwindow.cpp.
| void MainWindow::startStatusBar | ( | ) | [protected] |
Definition at line 187 of file mainwindow.cpp.
| void MainWindow::taskViewCustomContextMenuRequested | ( | const QPoint & | point | ) | [protected, slot] |
Definition at line 249 of file mainwindow.cpp.
| void MainWindow::updateStatusBar | ( | ) | [protected, slot] |
Definition at line 174 of file mainwindow.cpp.
| void MainWindow::updateTime | ( | long | sessionDiff, | |
| long | totalDiff | |||
| ) | [protected, slot] |
Calculate the sum of the session time and the total time for all toplevel tasks and put it in the statusbar.
Definition at line 150 of file mainwindow.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference