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

void KDarConfig::fillListView ( QListView *  listView,
QStringList  stringList 
) [protected]

Fills the file or compression listview with the specified QStringList of mask values.

Definition at line 1293 of file kdarConfig.cpp.

References makeQStringList().

Referenced by fillInDialog().

{
    QStringList tmpList;
    //clear the listView, so that we can fill it from scratch.
    if ( listView ) listView->clear();
    if ( listView && !stringList.empty() )
    {
        for (QStringList::Iterator it = stringList.begin(); it != stringList.end(); ++it)
        {
            tmpList = makeQStringList( listView );
            if ( !tmpList.contains( *it ) )
            {
                (void) new QListViewItem(listView, *it);
            }
        }
    }
}


Generated by  Doxygen 1.6.0   Back to index