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

KeyExtensions Class Reference

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

Collaboration diagram for KeyExtensions:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KeyExtensions ()
 ~KeyExtensions ()
void setKeyModifiers (KeyModifiers *mod)
void assign (const QString &kind, int keycode, int keymask, const QValueList< int > &modcodes)
void assign (const QString &kind, int keycode, int keymask, int modcode)
bool doKey (int keycode, int keymask, bool isPress)
void statistics ()
void reset ()
void init ()

Private Member Functions

void clear ()

Private Attributes

KeyModifiersm_pModifiers
ExtensionFactory m_oExtFactory
int m_cancelcode

Constructor & Destructor Documentation

KeyExtensions::KeyExtensions  ) 
 

Definition at line 3 of file KeyExtensions.cpp.

References m_cancelcode, and qDebug().

KeyExtensions::~KeyExtensions  ) 
 

Definition at line 9 of file KeyExtensions.cpp.

References clear(), and qDebug().


Member Function Documentation

void KeyExtensions::assign const QString kind,
int  keycode,
int  keymask,
int  modcode
 

Definition at line 34 of file KeyExtensions.cpp.

References QValueList< T >::append(), and assign().

void KeyExtensions::assign const QString kind,
int  keycode,
int  keymask,
const QValueList< int > &  modcodes
 

Definition at line 15 of file KeyExtensions.cpp.

References ExtensionFactory::createInstance(), m_oExtFactory, NULL, ExtensionInterface::setKeycode(), ExtensionInterface::setKeymask(), and ExtensionInterface::setModcodes().

Referenced by assign(), ExtensionsHandler::endElement(), and KeyHelper::setDefault().

void KeyExtensions::clear  )  [private]
 

Definition at line 83 of file KeyExtensions.cpp.

References ExtensionFactory::clear(), and m_oExtFactory.

Referenced by ~KeyExtensions().

bool KeyExtensions::doKey int  keycode,
int  keymask,
bool  isPress
 

Definition at line 42 of file KeyExtensions.cpp.

References QValueList< T >::begin(), code, QValueList< T >::contains(), QValueList< T >::end(), ExtensionFactory::getList(), list, m_cancelcode, m_oExtFactory, m_pModifiers, qWarning(), and KeyModifiers::resetToggles().

Referenced by KeyAction::doAction().

void KeyExtensions::init  ) 
 

Definition at line 94 of file KeyExtensions.cpp.

References m_oExtFactory, and ExtensionFactory::sweep().

Referenced by ExtensionsHandler::endElement().

void KeyExtensions::reset  ) 
 

Definition at line 88 of file KeyExtensions.cpp.

References m_oExtFactory, and ExtensionFactory::reset().

Referenced by KeycfgReader::load(), and KeyHelper::reload().

void KeyExtensions::setKeyModifiers KeyModifiers mod  )  [inline]
 

Definition at line 16 of file KeyExtensions.h.

References m_pModifiers.

void KeyExtensions::statistics  ) 
 

Definition at line 99 of file KeyExtensions.cpp.

References QValueList< T >::begin(), QValueList< T >::end(), ExtensionFactory::getList(), list, m_oExtFactory, and qWarning().

Referenced by KeycfgReader::load(), and KeyHelper::statistics().


Member Data Documentation

int KeyExtensions::m_cancelcode [private]
 

Definition at line 34 of file KeyExtensions.h.

Referenced by doKey(), and KeyExtensions().

ExtensionFactory KeyExtensions::m_oExtFactory [private]
 

Definition at line 33 of file KeyExtensions.h.

Referenced by assign(), clear(), doKey(), init(), reset(), and statistics().

KeyModifiers* KeyExtensions::m_pModifiers [private]
 

Definition at line 32 of file KeyExtensions.h.

Referenced by doKey(), and setKeyModifiers().


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