#undef CACHE
#undef ICACHE
-PLItem *PLModel::getItem( const QModelIndex& index ) const
+PLItem *PLModel::getItem( QModelIndex index )
{
assert( index.isValid() );
return static_cast<PLItem*>( index.internalPointer() );
PLItem *FindById( PLItem *, int );
PLItem *FindByInput( PLItem *, int );
PLItem *FindInner( PLItem *, int , bool );
- PLItem *getItem( const QModelIndex& index ) const;
+ static inline PLItem *getItem( QModelIndex index );
int metaColumn ( int column ) const;
PLItem *p_cached_item;
PLItem *p_cached_item_bi;