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

QDict< type > Class Template Reference

#include </home/clem/local/src/opie/qmake/include/qdict.h>

Inheritance diagram for QDict< type >:

Inheritance graph
[legend]
Collaboration diagram for QDict< type >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QDict (int size=17, bool caseSensitive=TRUE)
 QDict (const QDict< type > &d)
 ~QDict ()
QDict< type > & operator= (const QDict< type > &d)
uint count () const
uint size () const
bool isEmpty () const
void insert (const QString &k, const type *d)
void replace (const QString &k, const type *d)
bool remove (const QString &k)
typetake (const QString &k)
typefind (const QString &k) const
typeoperator[] (const QString &k) const
void clear ()
void resize (uint n)
void statistics () const

Private Member Functions

void deleteItem (Item d)

template<class type>
class QDict< type >


Constructor & Destructor Documentation

template<class type>
QDict< type >::QDict int  size = 17,
bool  caseSensitive = TRUE
[inline]
 

Definition at line 54 of file qdict.h.

template<class type>
QDict< type >::QDict const QDict< type > &  d  )  [inline]
 

Definition at line 56 of file qdict.h.

template<class type>
QDict< type >::~QDict  )  [inline]
 

Definition at line 57 of file qdict.h.


Member Function Documentation

template<class type>
void QDict< type >::clear  )  [inline, virtual]
 

Removes all items from the dictionary.

Reimplemented from QGDict.

Definition at line 75 of file qdict.h.

Referenced by PackageList::allPackages(), PackageList::clear(), CategoryList::clear(), OContactAccessBackend_XML::clear(), Opie::OPimContactAccessBackend_XML::clear(), LauncherIconView::clear(), PackageList::filterPackages(), DocumentListPrivate::initialize(), OContactAccessBackend_XML::load(), Opie::OPimContactAccessBackend_XML::load(), OPackageManager::loadAvailablePackages(), Opie::Bluez::OBluetoothInterface::neighbourhood(), Opie::Net::ONetwork::synchronize(), Opie::MM::OSoundSystem::synchronize(), Opie::Bluez::OBluetooth::synchronize(), LauncherIconView::updateCategoriesAndMimeTypes(), FileSysInfo::updateMounts(), and QDict< OContact >::~QDict().

template<class type>
uint QDict< type >::count  )  const [inline, virtual]
 

Returns the number of items in the dictionary.

Reimplemented from QGDict.

Definition at line 60 of file qdict.h.

Referenced by Opie::Net::ONetwork::count(), Opie::MM::OSoundSystem::count(), Opie::Core::OInputSystem::count(), Opie::Bluez::OBluetooth::count(), IRCChannelTab::enqueue(), System::interfaces(), Opie::Core::OInputSystem::synchronize(), and Qt3::QTextFormatCollection::updateKeys().

template<class type>
void QDict< type >::deleteItem Item  d  )  [inline, private]
 

Definition at line 95 of file qdict.h.

References QPtrCollection::del_item, and type.

template<class type>
type* QDict< type >::find const QString k  )  const [inline]
 

Definition at line 70 of file qdict.h.

Referenced by TheNSResources::addSystemFile(), HlKeyword::checkHgl(), Global::dawg(), PackageListView::display(), FontDatabase::families(), PackageList::find(), CategoryList::find(), OContactAccessBackend_XML::find(), Opie::OPimContactAccessBackend_XML::find(), KeyTrans::find(), DocLnkSet::findChildren(), TheNSResources::findNetNode(), Qt3::QTextFormatCollection::format(), ElementList::getWeight(), PackageList::insertPackage(), StartingAppList::isStarting(), OPackageManager::loadAvailablePackages(), Network::loadPlugin(), TheNSResources::netNodeExists(), Qt3::QTextEdit::pickSpecial(), System::probeInterfaces(), KMolCalc::readGroup(), Wellenreiter::receivePacket(), OContactAccessBackend_XML::remove(), Opie::OPimContactAccessBackend_XML::remove(), TheNSResources::removeNetworkSetup(), OContactAccessBackend_XML::replace(), Opie::OPimContactAccessBackend_XML::replace(), AppLnkSet::typeBigPixmap(), AppLnkSet::typeName(), AppLnkSet::typePixmap(), and MetrowerksMakefileGenerator::writeMakeParts().

template<class type>
void QDict< type >::insert const QString k,
const type d
[inline]
 

Definition at line 64 of file qdict.h.

Referenced by StartingAppList::add(), OContactAccessBackend_XML::addContact_p(), Opie::OPimContactAccessBackend_XML::addContact_p(), KeyTrans::addKeyTrans(), PackageListView::addList(), HlKeyword::addList(), TheNSResources::addNetworkSetup(), TheNSResources::addNodeInstance(), TheNSResources::addSystemFile(), HlKeyword::addWord(), PackageList::allPackages(), BenchmarkInfo::BenchmarkInfo(), DBXmlHandler::characters(), Global::dawg(), KeyTransSymbols::defKeySym(), KeyTransSymbols::defModSym(), KeyTransSymbols::defOprSym(), IRCChannelTab::enqueue(), FontDatabase::families(), PackageList::filterPackages(), TheNSResources::findAvailableNetNodes(), DocLnkSet::findChildren(), AppLnkSet::findChildren(), Qt3::QTextFormatCollection::format(), MakefileGenerator::init(), CategoryList::insert(), Qt3::QStyleSheet::insert(), PackageList::insertPackage(), LauncherTabBar::insertTab(), DocumentListPrivate::iterate(), OPackageManager::loadAvailablePackages(), OPackageManager::loadInstalledPackages(), Network::loadPlugin(), Opie::Bluez::OBluetoothInterface::neighbourhood(), PackageList::PackageList(), Qt3::QTextEdit::pickSpecial(), System::probeInterfaces(), Win32MakefileGenerator::processPrlFiles(), UnixMakefileGenerator::processPrlFiles(), MakefileGenerator::processPrlFiles(), Wellenreiter::receivePacket(), Opie::Core::Internal::OPluginLibraryHolder::ref(), OContactAccessBackend_XML::replace(), Opie::OPimContactAccessBackend_XML::replace(), OipkgPackage::setValue(), Opie::Net::ONetwork::synchronize(), Opie::MM::OSoundSystem::synchronize(), Opie::Core::OInputSystem::synchronize(), Opie::Bluez::OBluetooth::synchronize(), FileSysInfo::updateMounts(), PackageList::updateSections(), MetrowerksMakefileGenerator::writeMakeParts(), NmakeMakefileGenerator::writeNmakeParts(), and VcprojGenerator::writeSubDirs().

template<class type>
bool QDict< type >::isEmpty  )  const [inline]
 

Definition at line 62 of file qdict.h.

Referenced by OipkgPackage::copyValues(), and Qt3::QTextFormatCollection::updateKeys().

template<class type>
QDict<type>& QDict< type >::operator= const QDict< type > &  d  )  [inline]
 

Definition at line 58 of file qdict.h.

template<class type>
type* QDict< type >::operator[] const QString k  )  const [inline]
 

Definition at line 72 of file qdict.h.

template<class type>
bool QDict< type >::remove const QString k  )  [inline]
 

Definition at line 68 of file qdict.h.

Referenced by DocLnkSet::DocLnkSet(), StartingAppList::handleNewChannel(), IRCChannelTab::IRCChannelTab(), StartingAppList::isStarting(), DocumentListPrivate::iterate(), CategoryList::remove(), Qt3::QTextFormatCollection::remove(), OContactAccessBackend_XML::remove(), Opie::OPimContactAccessBackend_XML::remove(), TheNSResources::removeNetworkSetup(), TheNSResources::removeNodeInstance(), LauncherTabBar::removeTab(), OContactAccessBackend_XML::replace(), Opie::OPimContactAccessBackend_XML::replace(), and KMolCalc::undefineGroup().

template<class type>
void QDict< type >::replace const QString k,
const type d
[inline]
 

Definition at line 66 of file qdict.h.

Referenced by LauncherIconView::addCatsAndMimes(), QGPluginManager::addLibrary(), KMolCalc::defineElement(), KMolCalc::defineGroup(), MakefileGenerator::init(), OPackageManager::loadAvailablePackages(), and KMolCalc::readMwfile().

template<class type>
void QDict< type >::resize uint  n  )  [inline]
 

Changes the size of the hashtable to newsize. The contents of the dictionary are preserved, but all iterators on the dictionary become invalid.

Reimplemented from QGDict.

Definition at line 76 of file qdict.h.

template<class type>
uint QDict< type >::size  )  const [inline]
 

Returns the size of the hash array.

Reimplemented from QGDict.

Definition at line 61 of file qdict.h.

Referenced by IRCChannelTab::enqueue().

template<class type>
void QDict< type >::statistics  )  const [inline]
 

Outputs debug statistics.

Reimplemented from QGDict.

Definition at line 77 of file qdict.h.

template<class type>
type* QDict< type >::take const QString k  )  [inline]
 

Definition at line 69 of file qdict.h.

Referenced by Opie::Core::Internal::OPluginLibraryHolder::deref().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:46:35 2005 for OPIE by  doxygen 1.4.2