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