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

QIntDict< type > Class Template Reference

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

Inheritance diagram for QIntDict< type >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QIntDict (int size=17)
 QIntDict (const QIntDict< type > &d)
 ~QIntDict ()
QIntDict< type > & operator= (const QIntDict< type > &d)
uint count () const
uint size () const
bool isEmpty () const
void insert (long k, const type *d)
void replace (long k, const type *d)
bool remove (long k)
typetake (long k)
typefind (long k) const
typeoperator[] (long k) const
void clear ()
void resize (uint n)
void statistics () const
template<>
void deleteItem (QPtrCollection::Item)

Private Member Functions

void deleteItem (Item d)

template<class type>
class QIntDict< type >


Constructor & Destructor Documentation

template<class type>
QIntDict< type >::QIntDict int  size = 17  )  [inline]
 

Definition at line 54 of file qintdict.h.

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

Definition at line 55 of file qintdict.h.

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

Definition at line 56 of file qintdict.h.


Member Function Documentation

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

Removes all items from the dictionary.

Reimplemented from QGDict.

Definition at line 72 of file qintdict.h.

Referenced by DBStore::freeTable(), StartMenu::loadMenu(), LiquidStyle::polish(), PackageManagerSettings::readIpkgConfig(), TransMenuHandler::reloadSettings(), and QIntDict< TVVariant >::~QIntDict().

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

Returns the number of items in the dictionary.

Reimplemented from QGDict.

Definition at line 59 of file qintdict.h.

Referenced by KeyTrans::count(), StartMenu::createMenu(), and QRegExpEngine::matchHere().

template<>
void QIntDict< void >::deleteItem QPtrCollection::Item   )  [inline]
 

Definition at line 87 of file qintdict.h.

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

Definition at line 92 of file qintdict.h.

References QPtrCollection::del_item, and type.

template<class type>
type* QIntDict< type >::find long  k  )  const [inline]
 

Definition at line 68 of file qintdict.h.

Referenced by AppIcons::button(), LiquidStyle::drawClearBevel(), LiquidStyle::drawPushButton(), LiquidStyle::drawRoundButton(), LiquidStyle::drawSBButton(), LiquidStyle::drawToolButton(), LiquidStyle::eventFilter(), KeyTrans::find(), PackageManagerSettings::getDestinationUrl(), DataElem::getField(), DataElem::hasValidValue(), StartMenu::itemSelected(), Opie::OPimTodoAccessBackend::occurrences(), TransMenuHandler::pixmap(), and LiquidStyle::polish().

template<class type>
void QIntDict< type >::insert long  k,
const type d
[inline]
 

Definition at line 62 of file qintdict.h.

Referenced by TodoItem::actions(), EventItem::actions(), DocLnkItem::actions(), ContactItem::actions(), AppLnkItem::actions(), StartMenu::addApplets(), KeyTrans::addKeyTrans(), AppIcons::button(), StartMenu::createAppEntry(), StartMenu::createDirEntry(), Opie::Net::Internal::DebugMapper::DebugMapper(), QTrie::distributeKeys(), LiquidStyle::drawClearBevel(), LiquidStyle::drawPushButton(), LiquidStyle::drawRoundButton(), LiquidStyle::drawSBButton(), LiquidStyle::drawToolButton(), LiquidStyle::eventFilter(), TransMenuHandler::eventFilter(), QRegExpEngine::matchHere(), PackageManagerSettings::newDestination(), PackageManagerSettings::newServer(), Opie::OPimTodoAccessBackend::occurrences(), LiquidStyle::polish(), PackageManagerSettings::readIpkgConfig(), KAsteroidsView::readSprites(), and Opie::Core::OFileNotification::startWatching().

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

Definition at line 61 of file qintdict.h.

Referenced by QRegExpEngine::matchHere(), Opie::Core::OFileNotification::startWatching(), and Opie::Core::OFileNotification::stop().

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

Definition at line 57 of file qintdict.h.

template<class type>
type* QIntDict< type >::operator[] long  k  )  const [inline]
 

Definition at line 70 of file qintdict.h.

template<class type>
bool QIntDict< type >::remove long  k  )  [inline]
 

Definition at line 66 of file qintdict.h.

Referenced by TransMenuHandler::eventFilter(), AppIcons::remove(), DataElem::setField(), Opie::Core::OFileNotification::stop(), and DataElem::unsetField().

template<class type>
void QIntDict< type >::replace long  k,
const type d
[inline]
 

Definition at line 64 of file qintdict.h.

Referenced by PackageManagerSettings::destUrlChanged(), operator>>(), PackageManagerSettings::serverUrlChanged(), and DataElem::setField().

template<class type>
void QIntDict< 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 73 of file qintdict.h.

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

Returns the size of the hash array.

Reimplemented from QGDict.

Definition at line 60 of file qintdict.h.

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

Outputs debug statistics.

Reimplemented from QGDict.

Definition at line 74 of file qintdict.h.

template<class type>
type* QIntDict< type >::take long  k  )  [inline]
 

Definition at line 67 of file qintdict.h.

Referenced by QRegExpEngine::matchHere().


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