19#include "../../sdk/UI/FxUIObject.h"
34 BackgroundColorRole = 8,
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 )
86 : r( arow ), c( acolumn ), i( id ), m( amodel )
bool operator!=(const CFxUIModelIndex &other) const
const CFxUIAbstractItemModel * model() const
bool operator==(const CFxUIModelIndex &other) const
quintptr internalId() const
bool operator<(const CFxUIModelIndex &other) const
void * internalPointer() const
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data