Logo Search packages:      
Sourcecode: qt4-x11 version File versions

template<class Key, class T>
Q_INLINE_TEMPLATE bool QHash< Key, T >::contains ( const Key &  key  )  const [inline, inherited]

Returns true if the hash contains an item with key key; otherwise returns false.

See also:
count()

Definition at line 793 of file qhash.h.

Referenced by QAbstractFormBuilder::createDom(), QExtensionFactory::extension(), QAbstractFormBuilder::layoutInfo(), QExtensionManager::registerExtensions(), and QExtensionManager::unregisterExtensions().

{
    return *findNode(akey) != e;
}


Generated by  Doxygen 1.6.0   Back to index