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

void QHttpHeader::removeAllValues ( const QString key  )  [inherited]

Removes all the entries with the key key from the HTTP header.

Definition at line 815 of file qhttp.cpp.

References QList< T >::end(), and QList< T >::erase().

    QList<QPair<QString, QString> >::Iterator it = d->values.begin();
    while (it != d->values.end()) {
        if ((*it).first == key) {
            it = d->values.erase(it);

Generated by  Doxygen 1.6.0   Back to index