Logo Search packages:      
Sourcecode: kdar version File versions  Download package

QStringList KDarConfig::cleanPath ( const QStringList &  paths  )  [static]

Removes multiple slashes from each path in the list.

Definition at line 444 of file kdarConfig.cpp.

References cleanPath().

{
    //Iterate over the QStringList, cleaning paths as we go:
    QStringList cleanedPaths( paths );
    QStringList::Iterator cleaned = cleanedPaths.begin();
    for ( QStringList::ConstIterator it = paths.begin(); it != paths.end(); ++it )
    {
        ( *cleaned ) = cleanPath( *it );
        ++cleaned;
    }
    return cleanedPaths;
}


Generated by  Doxygen 1.6.0   Back to index