Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TaskSwitcher Class Reference

#include </home/clem/local/src/opie/noncore/applets/keyhelper/keyhelperapplet/extension/TaskSwitcher.h>

Inheritance diagram for TaskSwitcher:

Inheritance graph
[legend]
Collaboration diagram for TaskSwitcher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TaskSwitcher (const QString &kind="switch")
virtual ~TaskSwitcher ()
virtual bool onKeyPress (int keycode)
virtual bool onModRelease (int modcode)
virtual int getKeycode ()
virtual int getKeymask ()
virtual const QValueList<
int > & 
getModcodes ()
virtual void setKeycode (int keycode)
virtual void setKeymask (int keymask)
virtual void setModcodes (const QValueList< int > &modcodes)
virtual const QStringkind ()

Private Member Functions

void next ()

Private Attributes

int m_keycode
int m_keymask
QString m_kind
QValueList< int > m_modcodes
QStringList m_applist
QStringList::Iterator m_appit

Constructor & Destructor Documentation

TaskSwitcher::TaskSwitcher const QString kind = "switch"  ) 
 

Definition at line 3 of file TaskSwitcher.cpp.

References qDebug().

TaskSwitcher::~TaskSwitcher  )  [virtual]
 

Definition at line 8 of file TaskSwitcher.cpp.

References qDebug().


Member Function Documentation

virtual int TaskSwitcher::getKeycode  )  [inline, virtual]
 

Implements ExtensionInterface.

Definition at line 21 of file TaskSwitcher.h.

References m_keycode.

virtual int TaskSwitcher::getKeymask  )  [inline, virtual]
 

Implements ExtensionInterface.

Definition at line 25 of file TaskSwitcher.h.

References m_keymask.

virtual const QValueList<int>& TaskSwitcher::getModcodes  )  [inline, virtual]
 

Implements ExtensionInterface.

Definition at line 29 of file TaskSwitcher.h.

References m_modcodes.

virtual const QString& TaskSwitcher::kind  )  [inline, virtual]
 

Implements ExtensionInterface.

Definition at line 45 of file TaskSwitcher.h.

References m_kind.

void TaskSwitcher::next  )  [private]
 

Definition at line 52 of file TaskSwitcher.cpp.

References QValueList< T >::begin(), QValueList< T >::end(), m_appit, and m_applist.

Referenced by onKeyPress().

bool TaskSwitcher::onKeyPress int  keycode  )  [virtual]
 

Implements ExtensionInterface.

Definition at line 13 of file TaskSwitcher.cpp.

References app, QValueList< T >::append(), QValueList< T >::begin(), QValueList< T >::contains(), QValueList< T >::count(), Global::execute(), QValueList< T >::isEmpty(), QString::latin1(), list, m_appit, m_applist, next(), NULL, and qDebug().

bool TaskSwitcher::onModRelease int  modcode  )  [virtual]
 

Implements ExtensionInterface.

Definition at line 46 of file TaskSwitcher.cpp.

References QValueList< T >::clear(), and m_applist.

virtual void TaskSwitcher::setKeycode int  keycode  )  [inline, virtual]
 

Implements ExtensionInterface.

Definition at line 33 of file TaskSwitcher.h.

References m_keycode.

virtual void TaskSwitcher::setKeymask int  keymask  )  [inline, virtual]
 

Implements ExtensionInterface.

Definition at line 37 of file TaskSwitcher.h.

References m_keymask.

virtual void TaskSwitcher::setModcodes const QValueList< int > &  modcodes  )  [inline, virtual]
 

Implements ExtensionInterface.

Definition at line 41 of file TaskSwitcher.h.

References m_modcodes.


Member Data Documentation

QStringList::Iterator TaskSwitcher::m_appit [private]
 

Definition at line 56 of file TaskSwitcher.h.

Referenced by next(), and onKeyPress().

QStringList TaskSwitcher::m_applist [private]
 

Definition at line 55 of file TaskSwitcher.h.

Referenced by next(), onKeyPress(), and onModRelease().

int TaskSwitcher::m_keycode [private]
 

Definition at line 50 of file TaskSwitcher.h.

Referenced by getKeycode(), and setKeycode().

int TaskSwitcher::m_keymask [private]
 

Definition at line 51 of file TaskSwitcher.h.

Referenced by getKeymask(), and setKeymask().

QString TaskSwitcher::m_kind [private]
 

Definition at line 52 of file TaskSwitcher.h.

Referenced by kind().

QValueList<int> TaskSwitcher::m_modcodes [private]
 

Definition at line 53 of file TaskSwitcher.h.

Referenced by getModcodes(), and setModcodes().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:53:23 2005 for OPIE by  doxygen 1.4.2