bool VLCModel::isCurrent( const QModelIndex &index ) const { AbstractPLItem *item = getItem( index ); if ( !item ) return false; return item->inputItem() == THEMIM->currentInputItem(); }
input_item_t * VLCModel::getInputItem( const QModelIndex &index ) const { AbstractPLItem *item = getItem( index ); if ( !item ) return NULL; return item->inputItem(); }