NAME
Qt::Sql::QSqlQueryModel
PUBLIC METHODS
- QSqlQueryModel(QObject * parent = 0)
- QSqlQueryModel(QObject * parent)
- ~QSqlQueryModel()
- bool canFetchMore(const QModelIndex & parent = QModelIndex())
- bool canFetchMore(const QModelIndex & parent)
- void clear()
- int columnCount(const QModelIndex & parent = QModelIndex())
- int columnCount(const QModelIndex & parent)
- QVariant data(const QModelIndex & item, int role = Qt::DisplayRole)
- QVariant data(const QModelIndex & item, int role)
- void fetchMore(const QModelIndex & parent = QModelIndex())
- void fetchMore(const QModelIndex & parent)
- QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole)
- QVariant headerData(int section, Qt::Orientation orientation, int role)
- bool insertColumns(int column, int count, const QModelIndex & parent = QModelIndex())
- bool insertColumns(int column, int count, const QModelIndex & parent)
- QSqlError lastError()
- QSqlQuery query()
- QSqlRecord record()
- QSqlRecord record(int row)
- bool removeColumns(int column, int count, const QModelIndex & parent = QModelIndex())
- bool removeColumns(int column, int count, const QModelIndex & parent)
- int rowCount(const QModelIndex & parent = QModelIndex())
- int rowCount(const QModelIndex & parent)
- bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role = Qt::EditRole)
- bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role)
- void setQuery(const QSqlQuery & query)
- void setQuery(const QString & query, const QSqlDatabase & db = QSqlDatabase())
- void setQuery(const QString & query, const QSqlDatabase & db)
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.