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

ExtensionFactory Class Reference

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

Collaboration diagram for ExtensionFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ExtensionFactory ()
virtual ~ExtensionFactory ()
ExtensionInterfacecreateInstance (const QString &kind)
ExtensionInterfacecreateInstance (const QString &kind, int keycode, int keymask)
ExtensionListgetList ()
void clear ()
void reset ()
void sweep ()

Private Member Functions

ExtensionInterfaceloadInstance (const QString &kind, int keycode, int keymask)

Private Attributes

ExtensionList m_oExtList
ExtensionListm_pLoadList

Constructor & Destructor Documentation

ExtensionFactory::ExtensionFactory  ) 
 

Definition at line 3 of file ExtensionFactory.cpp.

References m_pLoadList, NULL, and qDebug().

ExtensionFactory::~ExtensionFactory  )  [virtual]
 

Definition at line 9 of file ExtensionFactory.cpp.

References qDebug().


Member Function Documentation

void ExtensionFactory::clear  ) 
 

Definition at line 82 of file ExtensionFactory.cpp.

References QValueList< T >::begin(), QValueList< T >::clear(), QValueList< T >::end(), and m_oExtList.

Referenced by KeyExtensions::clear().

ExtensionInterface * ExtensionFactory::createInstance const QString kind,
int  keycode,
int  keymask
 

Definition at line 34 of file ExtensionFactory.cpp.

References QValueList< T >::append(), QString::find(), loadInstance(), m_oExtList, NULL, ExtensionInterface::setKeycode(), and ExtensionInterface::setKeymask().

ExtensionInterface * ExtensionFactory::createInstance const QString kind  ) 
 

Definition at line 14 of file ExtensionFactory.cpp.

References QValueList< T >::append(), QString::find(), QString::lower(), m_oExtList, and NULL.

Referenced by KeyExtensions::assign().

ExtensionList& ExtensionFactory::getList  )  [inline]
 

Definition at line 19 of file ExtensionFactory.h.

References m_oExtList.

Referenced by KeyExtensions::doKey(), and KeyExtensions::statistics().

ExtensionInterface * ExtensionFactory::loadInstance const QString kind,
int  keycode,
int  keymask
[private]
 

Definition at line 63 of file ExtensionFactory.cpp.

References QValueList< T >::append(), QValueList< T >::begin(), QValueList< T >::end(), m_oExtList, m_pLoadList, and NULL.

Referenced by createInstance().

void ExtensionFactory::reset  ) 
 

Definition at line 91 of file ExtensionFactory.cpp.

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

Referenced by KeyExtensions::reset().

void ExtensionFactory::sweep  ) 
 

Definition at line 97 of file ExtensionFactory.cpp.

References QValueList< T >::begin(), QValueList< T >::contains(), QValueList< T >::end(), m_oExtList, m_pLoadList, and NULL.

Referenced by KeyExtensions::init().


Member Data Documentation

ExtensionList ExtensionFactory::m_oExtList [private]
 

Definition at line 27 of file ExtensionFactory.h.

Referenced by clear(), createInstance(), getList(), loadInstance(), reset(), and sweep().

ExtensionList* ExtensionFactory::m_pLoadList [private]
 

Definition at line 28 of file ExtensionFactory.h.

Referenced by ExtensionFactory(), loadInstance(), reset(), and sweep().


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