- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

Classes | Typedefs | Functions

# qabstractitemmodel.h File Reference

`#include <QtCore/qvariant.h>`
`#include <QtCore/qobject.h>`
`#include <QtCore/qhash.h>`

Go to the source code of this file.

## Classes
class | QModelIndex
class | QPersistentModelIndex
class | QAbstractItemModel
class | QAbstractTableModel
class | QAbstractListModel
## Typedefs
typedef QList< QModelIndex > | QModelIndexList
## Functions
| Q_DECLARE_TYPEINFO (QModelIndex, Q_MOVABLE_TYPE)
Q_CORE_EXPORT QDebug | operator<< (QDebug, const QModelIndex &)
| Q_DECLARE_TYPEINFO (QPersistentModelIndex, Q_MOVABLE_TYPE)
uint | qHash (const QPersistentModelIndex &index)
Q_CORE_EXPORT QDebug | operator<< (QDebug, const QPersistentModelIndex &)
uint | qHash (const QModelIndex &index)

## Typedef Documentation

typedef QList<QModelIndex> QModelIndexList

Search for all occurrences

Definition at line 151 of file qabstractitemmodel.h.

## Function Documentation

Q_DECLARE_TYPEINFO | ( | QModelIndex | ,
|  | Q_MOVABLE_TYPE |
| ) |  |

Search for all occurrences

Q_CORE_EXPORT QDebug operator<< | ( | QDebug | ,
|  | const QModelIndex & |
| ) |  |

Q_DECLARE_TYPEINFO | ( | QPersistentModelIndex | ,
|  | Q_MOVABLE_TYPE |
| ) |  |

Search for all occurrences

uint qHash | ( | const QPersistentModelIndex & | index | ) | `[inline]`

Search for all occurrences

Definition at line 143 of file qabstractitemmodel.h.

    { return qHash(index.d); }

Q_CORE_EXPORT QDebug operator<< | ( | QDebug | ,
|  | const QPersistentModelIndex & |
| ) |  |

uint qHash | ( | const QModelIndex & | index | ) | `[inline]`

Search for all occurrences

Definition at line 403 of file qabstractitemmodel.h.

    { return uint((index.row() << 4) + index.column() + index.internalId()); }