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

Definition at line 494 of file qmap.h.

Referenced by QAbstractFormBuilder::createDom(), AddressBook::findContact(), Q3HttpHeader::hasKey(), QtProperty::insertSubProperty(), AddressBook::removeContact(), and AddressBook::submitContact().

    return findNode(akey) != e;

Generated by  Doxygen 1.6.0   Back to index