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

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

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

See also:
count()

Definition at line 487 of file qmap.h.

Referenced by QExtensionFactory::extension(), and Q3HttpHeader::hasKey().

{
    return findNode(akey) != e;
}


Generated by  Doxygen 1.6.0   Back to index