| 4 | namespace EE { namespace UI { namespace Models { |
| 5 | |
| 6 | ModelIndex ModelIndex::sibling( int row, int column ) const { |
| 7 | if ( !isValid() ) |
| 8 | return {}; |
| 9 | eeASSERT( model() ); |
| 10 | return model()->index( row, column, parent() ); |
| 11 | } |
| 12 | |
| 13 | ModelIndex ModelIndex::siblingAtColumn( int column ) const { |
| 14 | if ( !isValid() ) |