pelican/utility/src/Config.cpp
/* we use QList<QString> in place of QStringList in the main interface incase we ever need
 * to go to support versions < 4.3
 */
we use QList in place of QStringList in the main interface incase we ever need
to go to support versions < 4.3
we use QList in place of QStringList in the main interface incase we ever need to go to support versions < 4 . 3
void Config::setSearchPaths( const QList<QString>& paths ) {
     _searchPaths.clear();
     foreach( const QString& path, paths ) {
        if( ! path.endsWith( QDir::separator() ) ) {
            _searchPaths.append( path + QDir::separator() );
        }
        else {
            _searchPaths.append( path );
        }
     }
}
void Config :: setSearchPaths ( const QList < QString > & paths ) { _searchPaths . clear ( ) ; foreach ( const QString & path , paths ) { if ( ! path . endsWith ( QDir :: separator ( ) ) ) { _searchPaths . append ( path + QDir :: separator ( ) ) ; } else { _searchPaths . append ( path ) ; } } }
we use QList<QString> in place of QStringList in the main interface incase we ever need
 to go to support versions < 4.3
we use QList<QString > in place of QStringList in the main interface incase we ever need to go to support versions < 4 . 3