QModelIndex Class Reference
#include <qabstractitemmodel.h>
Definition at line 58 of file qabstractitemmodel.h.
Definition at line 64 of file qabstractitemmodel.h.
65 :
r(other.r),
c(other.c),
p(other.p), m(other.m) {}
GLdouble GLdouble GLdouble r
void* internalPointer |
( |
| ) |
const |
|
inline |
Definition at line 395 of file qabstractitemmodel.h.
GLdouble GLdouble GLdouble r
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const =0
virtual QModelIndex parent(const QModelIndex &child) const =0
Definition at line 398 of file qabstractitemmodel.h.
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const =0
Definition at line 401 of file qabstractitemmodel.h.
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const =0
Qt::ItemFlags flags |
( |
| ) |
const |
|
inline |
Definition at line 404 of file qabstractitemmodel.h.
405 {
return m ? m->
flags(*
this) : Qt::ItemFlags(0); }
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Definition at line 77 of file qabstractitemmodel.h.
77 {
return (
r >= 0) && (
c >= 0) && (m != 0); }
GLdouble GLdouble GLdouble r
Definition at line 78 of file qabstractitemmodel.h.
79 {
return (other.r ==
r) && (other.p ==
p) && (other.c ==
c) && (other.m == m); }
GLdouble GLdouble GLdouble r
Definition at line 82 of file qabstractitemmodel.h.
84 if (
r < other.r)
return true;
86 if (
c < other.c)
return true;
88 if (
p < other.p)
return true;
89 if (
p == other.p)
return m < other.m;
GLdouble GLdouble GLdouble r
The documentation for this class was generated from the following file: