• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

ktimetracker

MainWindow Class Reference

Main window to tie the application together. More...

#include <mainwindow.h>

Inheritance diagram for MainWindow:
Inheritance graph
[legend]

List of all members.

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]

Quit ktimetracker (what else.

..)

Definition at line 129 of file mainwindow.cpp.

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:
  • mainwindow.h
  • mainwindow.cpp

ktimetracker

Skip menu "ktimetracker"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal