Qt 4.8
|
#include <qstandarditemmodel_p.h>
Public Functions | |
void | changeFlags (bool enable, Qt::ItemFlags f) |
void | childDeleted (QStandardItem *child) |
int | childIndex (int row, int column) const |
int | childIndex (const QStandardItem *child) |
int | columnCount () const |
bool | insertColumns (int column, int count, const QList< QStandardItem *> &items) |
bool | insertRows (int row, int count, const QList< QStandardItem *> &items) |
bool | insertRows (int row, const QList< QStandardItem *> &items) |
const QMap< int, QVariant > | itemData () const |
QPair< int, int > | position () const |
QStandardItemPrivate () | |
int | rowCount () const |
void | setChild (int row, int column, QStandardItem *item, bool emitChanged=false) |
void | setItemData (const QMap< int, QVariant > &roles) |
void | setModel (QStandardItemModel *mod) |
void | setParentAndModel (QStandardItem *par, QStandardItemModel *mod) |
void | sortChildren (int column, Qt::SortOrder order) |
virtual | ~QStandardItemPrivate () |
Public Variables | |
QVector< QStandardItem * > | children |
int | columns |
int | lastIndexOf |
QStandardItemModel * | model |
QStandardItem * | parent |
QStandardItem * | q_ptr |
int | rows |
QVector< QWidgetItemData > | values |
Definition at line 69 of file qstandarditemmodel_p.h.
|
inline |
Definition at line 73 of file qstandarditemmodel_p.h.
|
virtual |
Definition at line 90 of file qstandarditemmodel.cpp.
Referenced by QStandardItemPrivate().
void QStandardItemPrivate::changeFlags | ( | bool | enable, |
Qt::ItemFlags | f | ||
) |
Definition at line 163 of file qstandarditemmodel.cpp.
Referenced by setParentAndModel().
void QStandardItemPrivate::childDeleted | ( | QStandardItem * | child | ) |
Definition at line 177 of file qstandarditemmodel.cpp.
Referenced by columnCount().
|
inline |
Definition at line 83 of file qstandarditemmodel_p.h.
|
inline |
Definition at line 90 of file qstandarditemmodel_p.h.
|
inline |
bool QStandardItemPrivate::insertColumns | ( | int | column, |
int | count, | ||
const QList< QStandardItem *> & | items | ||
) |
Definition at line 440 of file qstandarditemmodel.cpp.
Referenced by setParentAndModel().
bool QStandardItemPrivate::insertRows | ( | int | row, |
int | count, | ||
const QList< QStandardItem *> & | items | ||
) |
Definition at line 398 of file qstandarditemmodel.cpp.
Referenced by setParentAndModel().
bool QStandardItemPrivate::insertRows | ( | int | row, |
const QList< QStandardItem *> & | items | ||
) |
Definition at line 367 of file qstandarditemmodel.cpp.
Definition at line 214 of file qstandarditemmodel.cpp.
Referenced by setParentAndModel().
QPair< int, int > QStandardItemPrivate::position | ( | ) | const |
Definition at line 107 of file qstandarditemmodel.cpp.
Referenced by childIndex().
|
inline |
void QStandardItemPrivate::setChild | ( | int | row, |
int | column, | ||
QStandardItem * | item, | ||
bool | emitChanged = false |
||
) |
Definition at line 122 of file qstandarditemmodel.cpp.
Referenced by childIndex().
Definition at line 187 of file qstandarditemmodel.cpp.
Referenced by setParentAndModel().
void QStandardItemPrivate::setModel | ( | QStandardItemModel * | mod | ) |
Definition at line 291 of file qstandarditemmodel.cpp.
Referenced by columnCount(), and setParentAndModel().
|
inline |
Definition at line 110 of file qstandarditemmodel_p.h.
void QStandardItemPrivate::sortChildren | ( | int | column, |
Qt::SortOrder | order | ||
) |
Definition at line 226 of file qstandarditemmodel.cpp.
Referenced by setParentAndModel().
QVector<QStandardItem*> QStandardItemPrivate::children |
Definition at line 130 of file qstandarditemmodel_p.h.
Referenced by childIndex(), and QStandardItemModel::mimeData().
int QStandardItemPrivate::columns |
Definition at line 132 of file qstandarditemmodel_p.h.
Referenced by columnCount().
int QStandardItemPrivate::lastIndexOf |
Definition at line 136 of file qstandarditemmodel_p.h.
Referenced by childIndex().
QStandardItemModel* QStandardItemPrivate::model |
Definition at line 127 of file qstandarditemmodel_p.h.
QStandardItem* QStandardItemPrivate::parent |
Definition at line 128 of file qstandarditemmodel_p.h.
Referenced by QStandardItemModelPrivate::itemFromIndex(), and setParentAndModel().
QStandardItem* QStandardItemPrivate::q_ptr |
Definition at line 134 of file qstandarditemmodel_p.h.
int QStandardItemPrivate::rows |
Definition at line 131 of file qstandarditemmodel_p.h.
Referenced by rowCount().
QVector<QWidgetItemData> QStandardItemPrivate::values |
Definition at line 129 of file qstandarditemmodel_p.h.