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(), QMultiHash::contains()

Definition at line 850 of file qhash.h.

Referenced by DomItem::child(), QExtensionFactory::extension(), HistoryFilterModel::mapFromSource(), and QDesktopServices::storageLocation().

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


Generated by  Doxygen 1.6.0   Back to index