56 inline int row()
const {
return r; };
57 inline int column()
const {
return c; };
62 inline UIItemFlags flags()
const;
64 inline bool isValid()
const {
return ( r >= 0 ) && ( c >= 0 ) && ( m !=
nullptr ); };
67 return ( other.r == r ) && ( other.i == i ) && ( other.c == c ) && ( other.m == m );
71 return !( *
this == other );
76 || ( r == other.r && ( c < other.c
77 || ( c == other.c && ( i < other.i
78 || ( i == other.i && std::less<const CFxUIAbstractItemModel *>()( m, other.m ) ) ) ) ) );
82 : r( arow ), c( acolumn ), i( reinterpret_cast<
quintptr >( ptr ) ), m( amodel )
85 inline CFxUIModelIndex(
int arow,
int acolumn,
quintptr id,
const CFxUIAbstractItemModel *amodel )
86 : r( arow ), c( acolumn ), i( id ), m( amodel )
92 const CFxUIAbstractItemModel *m;