NAME

Qt::Core::QAbstractItemModel

PUBLIC METHODS

QAbstractItemModel(QObject * parent)
QAbstractItemModel(QObject * parent = 0)
~QAbstractItemModel()
QModelIndex buddy(const QModelIndex & index)
bool canFetchMore(const QModelIndex & parent)
int columnCount(const QModelIndex & parent)
int columnCount(const QModelIndex & parent = QModelIndex())
QVariant data(const QModelIndex & index, int role)
QVariant data(const QModelIndex & index, int role = Qt::DisplayRole)
bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent)
void fetchMore(const QModelIndex & parent)
QFlags<Qt::ItemFlag> flags(const QModelIndex & index)
bool hasChildren(const QModelIndex & parent)
bool hasChildren(const QModelIndex & parent = QModelIndex())
bool hasIndex(int row, int column, const QModelIndex & parent)
bool hasIndex(int row, int column, const QModelIndex & parent = QModelIndex())
QVariant headerData(int section, Qt::Orientation orientation, int role)
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole)
QModelIndex index(int row, int column, const QModelIndex & parent)
QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex())
bool insertColumn(int column, const QModelIndex & parent)
bool insertColumn(int column, const QModelIndex & parent = QModelIndex())
bool insertColumns(int column, int count, const QModelIndex & parent)
bool insertColumns(int column, int count, const QModelIndex & parent = QModelIndex())
bool insertRow(int row, const QModelIndex & parent)
bool insertRow(int row, const QModelIndex & parent = QModelIndex())
bool insertRows(int row, int count, const QModelIndex & parent)
bool insertRows(int row, int count, const QModelIndex & parent = QModelIndex())
QStringList mimeTypes()
QModelIndex parent(const QModelIndex & child)
bool removeColumn(int column, const QModelIndex & parent)
bool removeColumn(int column, const QModelIndex & parent = QModelIndex())
bool removeColumns(int column, int count, const QModelIndex & parent)
bool removeColumns(int column, int count, const QModelIndex & parent = QModelIndex())
bool removeRow(int row, const QModelIndex & parent)
bool removeRow(int row, const QModelIndex & parent = QModelIndex())
bool removeRows(int row, int count, const QModelIndex & parent)
bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex())
void revert()
int rowCount(const QModelIndex & parent)
int rowCount(const QModelIndex & parent = QModelIndex())
bool setData(const QModelIndex & index, const QVariant & value, int role)
bool setData(const QModelIndex & index, const QVariant & value, int role = Qt::EditRole)
bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role)
bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role = Qt::EditRole)
void setSupportedDragActions(QFlags<Qt::DropAction> arg0)
QModelIndex sibling(int row, int column, const QModelIndex & idx)
void sort(int column, Qt::SortOrder order)
void sort(int column, Qt::SortOrder order = Qt::AscendingOrder)
QSize span(const QModelIndex & index)
bool submit()
QFlags<Qt::DropAction> supportedDragActions()
QFlags<Qt::DropAction> supportedDropActions()

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html