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

KeyLauncher Class Reference

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

Inheritance diagram for KeyLauncher:

Inheritance graph
[legend]
Collaboration diagram for KeyLauncher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KeyLauncher (const QString &kind="launch")
virtual ~KeyLauncher ()
virtual bool onKeyPress (int keycode)
virtual bool onModRelease (int)
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 Attributes

int m_keycode
int m_keymask
QString m_kind
QValueList< int > m_modcodes

Constructor & Destructor Documentation

KeyLauncher::KeyLauncher const QString kind = "launch"  ) 
 

Definition at line 4 of file KeyLauncher.cpp.

References qDebug().

KeyLauncher::~KeyLauncher  )  [virtual]
 

Definition at line 9 of file KeyLauncher.cpp.

References qDebug().


Member Function Documentation

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

Implements ExtensionInterface.

Definition at line 27 of file KeyLauncher.h.

References m_keycode.

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

Implements ExtensionInterface.

Definition at line 31 of file KeyLauncher.h.

References m_keymask.

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

Implements ExtensionInterface.

Definition at line 35 of file KeyLauncher.h.

References m_modcodes.

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

Implements ExtensionInterface.

Definition at line 51 of file KeyLauncher.h.

References m_kind.

Referenced by onKeyPress().

bool KeyLauncher::onKeyPress int  keycode  )  [virtual]
 

Implements ExtensionInterface.

Definition at line 14 of file KeyLauncher.cpp.

References app, KHUtil::currentApp(), ConfigEx::getInstance(), KeyNames::getName(), LnkWrapper::instance(), QValueList< T >::isEmpty(), QString::isEmpty(), LnkWrapper::isValid(), kind(), QString::null, Config::readListEntry(), Config::setGroup(), and QString::upper().

virtual bool KeyLauncher::onModRelease int   )  [inline, virtual]
 

Implements ExtensionInterface.

Definition at line 26 of file KeyLauncher.h.

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

Implements ExtensionInterface.

Definition at line 39 of file KeyLauncher.h.

References m_keycode.

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

Implements ExtensionInterface.

Definition at line 43 of file KeyLauncher.h.

References m_keymask.

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

Implements ExtensionInterface.

Definition at line 47 of file KeyLauncher.h.

References m_modcodes.


Member Data Documentation

int KeyLauncher::m_keycode [private]
 

Definition at line 56 of file KeyLauncher.h.

Referenced by getKeycode(), and setKeycode().

int KeyLauncher::m_keymask [private]
 

Definition at line 57 of file KeyLauncher.h.

Referenced by getKeymask(), and setKeymask().

QString KeyLauncher::m_kind [private]
 

Definition at line 58 of file KeyLauncher.h.

Referenced by kind().

QValueList<int> KeyLauncher::m_modcodes [private]
 

Definition at line 59 of file KeyLauncher.h.

Referenced by getModcodes(), and setModcodes().


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