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

ktimetracker

Public Slots | Signals | Public Member Functions | List of all members
DesktopTracker Class Reference

#include <desktoptracker.h>

Inheritance diagram for DesktopTracker:
Inheritance graph
[legend]

Public Slots

void handleDesktopChange (int desktop)
 

Signals

void leftActiveDesktop (Task *task)
 
void reachedActiveDesktop (Task *task)
 

Public Member Functions

 DesktopTracker ()
 
int desktopCount () const
 
void registerForDesktops (Task *task, DesktopList dl)
 
QString startTracking ()
 

Detailed Description

A utility to associate tasks with desktops As soon as a desktop is activated/left - an signal is emitted for each task tracking that all tasks that want to track that desktop.

Definition at line 42 of file desktoptracker.h.

Constructor & Destructor Documentation

DesktopTracker::DesktopTracker ( )

Definition at line 30 of file desktoptracker.cpp.

Member Function Documentation

int DesktopTracker::desktopCount ( ) const
inline

Definition at line 56 of file desktoptracker.h.

void DesktopTracker::handleDesktopChange ( int  desktop)
slot

Definition at line 50 of file desktoptracker.cpp.

void DesktopTracker::leftActiveDesktop ( Task *  task)
signal
void DesktopTracker::reachedActiveDesktop ( Task *  task)
signal
void DesktopTracker::registerForDesktops ( Task *  task,
DesktopList  dl 
)

Definition at line 98 of file desktoptracker.cpp.

QString DesktopTracker::startTracking ( )

Start time tracking of tasks by virtual desktop.

Returns
A QString with the error message, in case of no error an empty QString.

Definition at line 80 of file desktoptracker.cpp.


The documentation for this class was generated from the following files:
  • desktoptracker.h
  • desktoptracker.cpp
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

KDE's Doxygen guidelines are available online.

ktimetracker

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal