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

void KDarConfig::makeDirectoryQStringLists ( QListView *  listView,
QStringList &  directories,
QStringList &  types 
) [protected]

Makes QStringLists for the directory filter mask values and types.

Definition at line 1938 of file kdarConfig.cpp.

Referenced by slotUpdateDirectoryMaskList().

{
    QListViewItem * tmpItem = listView->firstChild();
    QString directoryText;
    QString typeText;
    QStringList dirList;
    QStringList typeList;

    while( tmpItem )
    {
        directoryText = tmpItem->text( 1 );
        if ( !dirList.contains( directoryText ) )
        {
            dirList << directoryText;
            typeList << tmpItem->text( 0 );
        }
        tmpItem = tmpItem->nextSibling();
    }
    directories = dirList;
    types = typeList;
}


Generated by  Doxygen 1.6.0   Back to index