Dongxu Ma > Qt-Sql-0.01_04 > Qt::Sql::QSqlQueryModel

Download:
Qt-Sql-0.01_04.tar.gz

Dependencies

Annotate this POD

Module Version: 0.01_04   Source  

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 - 2012 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

syntax highlighting: