bool LeScienze500::fillQListWidget( QListWidget *w_list , QueryResult &r_list ) { if ( r_list.empty() ) return false ; w_list->clear(); QString col_name = r_list.getFirstColumnName() ; QueryResult::iterator it; for( it = r_list.begin() ; it < r_list.end() ; it++ ) { w_list->addItem( r_list.getField( col_name , it ) ); } return true ; }