Definition at line 74 of file qsqlrelationaltablemodel.h.
|
| | QSqlRelationalTableModel (QObject *parent=0, QSqlDatabase db=QSqlDatabase()) |
| |
| virtual | ~QSqlRelationalTableModel () |
| |
| QVariant | data (const QModelIndex &item, int role=Qt::DisplayRole) const |
| |
| bool | setData (const QModelIndex &item, const QVariant &value, int role=Qt::EditRole) |
| |
| bool | removeColumns (int column, int count, const QModelIndex &parent=QModelIndex()) |
| |
| void | clear () |
| |
| bool | select () |
| |
| void | setTable (const QString &tableName) |
| |
| virtual void | setRelation (int column, const QSqlRelation &relation) |
| |
| QSqlRelation | relation (int column) const |
| |
| virtual QSqlTableModel * | relationModel (int column) const |
| |
| void | setJoinMode (QSqlRelationalTableModel::JoinMode joinMode) |
| |
| | QSqlTableModel (QObject *parent=0, QSqlDatabase db=QSqlDatabase()) |
| |
| virtual | ~QSqlTableModel () |
| |
| QString | tableName () const |
| |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| |
| QVariant | data (const QModelIndex &idx, int role=Qt::DisplayRole) const |
| |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| |
| bool | isDirty (const QModelIndex &index) const |
| |
| void | clear () |
| |
| virtual void | setEditStrategy (EditStrategy strategy) |
| |
| EditStrategy | editStrategy () const |
| |
| QSqlIndex | primaryKey () const |
| |
| QSqlDatabase | database () const |
| |
| int | fieldIndex (const QString &fieldName) const |
| |
| void | sort (int column, Qt::SortOrder order) |
| |
| virtual void | setSort (int column, Qt::SortOrder order) |
| |
| QString | filter () const |
| |
| virtual void | setFilter (const QString &filter) |
| |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| |
| bool | removeColumns (int column, int count, const QModelIndex &parent=QModelIndex()) |
| |
| bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| |
| bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| |
| bool | insertRecord (int row, const QSqlRecord &record) |
| |
| bool | setRecord (int row, const QSqlRecord &record) |
| |
| virtual void | revertRow (int row) |
| |
| | QSqlQueryModel (QObject *parent=0) |
| |
| virtual | ~QSqlQueryModel () |
| |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| |
| QSqlRecord | record (int row) const |
| |
| QSqlRecord | record () const |
| |
| bool | setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role=Qt::EditRole) |
| |
| bool | insertColumns (int column, int count, const QModelIndex &parent=QModelIndex()) |
| |
| void | setQuery (const QSqlQuery &query) |
| |
| void | setQuery (const QString &query, const QSqlDatabase &db=QSqlDatabase()) |
| |
| QSqlQuery | query () const |
| |
| QSqlError | lastError () const |
| |
| void | fetchMore (const QModelIndex &parent=QModelIndex()) |
| |
| bool | canFetchMore (const QModelIndex &parent=QModelIndex()) const |
| |
| | QAbstractTableModel (QObject *parent=0) |
| |
| | ~QAbstractTableModel () |
| |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| |
| bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) |
| |
| | QAbstractItemModel (QObject *parent=0) |
| |
| virtual | ~QAbstractItemModel () |
| |
| bool | hasIndex (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| |
| QModelIndex | sibling (int row, int column, const QModelIndex &idx) const |
| |
| virtual QMap< int, QVariant > | itemData (const QModelIndex &index) const |
| |
| virtual bool | setItemData (const QModelIndex &index, const QMap< int, QVariant > &roles) |
| |
| virtual QStringList | mimeTypes () const |
| |
| virtual QMimeData * | mimeData (const QModelIndexList &indexes) const |
| |
| virtual Qt::DropActions | supportedDropActions () const |
| |
| Qt::DropActions | supportedDragActions () const |
| |
| void | setSupportedDragActions (Qt::DropActions) |
| |
| bool | insertRow (int row, const QModelIndex &parent=QModelIndex()) |
| |
| bool | insertColumn (int column, const QModelIndex &parent=QModelIndex()) |
| |
| bool | removeRow (int row, const QModelIndex &parent=QModelIndex()) |
| |
| bool | removeColumn (int column, const QModelIndex &parent=QModelIndex()) |
| |
| virtual QModelIndex | buddy (const QModelIndex &index) const |
| |
| virtual QModelIndexList | match (const QModelIndex &start, int role, const QVariant &value, int hits=1, Qt::MatchFlags flags=Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const |
| |
| virtual QSize | span (const QModelIndex &index) const |
| |
| const QHash< int, QByteArray > & | roleNames () const |
| |
| Q_INVOKABLE | QObject (QObject *parent=0) |
| |
| virtual | ~QObject () |
| |
| virtual bool | event (QEvent *) |
| |
| virtual bool | eventFilter (QObject *, QEvent *) |
| |
| QString | objectName () const |
| |
| void | setObjectName (const QString &name) |
| |
| bool | isWidgetType () const |
| |
| bool | signalsBlocked () const |
| |
| bool | blockSignals (bool b) |
| |
| QThread * | thread () const |
| |
| void | moveToThread (QThread *thread) |
| |
| int | startTimer (int interval) |
| |
| void | killTimer (int id) |
| |
| template<typename T > |
| T | findChild (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QRegExp &re) const |
| |
| const QObjectList & | children () const |
| |
| void | setParent (QObject *) |
| |
| void | installEventFilter (QObject *) |
| |
| void | removeEventFilter (QObject *) |
| |
| bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
| |
| bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
| |
| bool | disconnect (const QObject *receiver, const char *member=0) |
| |
| void | dumpObjectTree () |
| |
| void | dumpObjectInfo () |
| |
| bool | setProperty (const char *name, const QVariant &value) |
| |
| QVariant | property (const char *name) const |
| |
| QList< QByteArray > | dynamicPropertyNames () const |
| |
| void | setUserData (uint id, QObjectUserData *data) |
| |
| QObjectUserData * | userData (uint id) const |
| |
| QObject * | parent () const |
| |
| bool | inherits (const char *classname) const |
| |
|
| QString | selectStatement () const |
| |
| bool | updateRowInTable (int row, const QSqlRecord &values) |
| |
| bool | insertRowIntoTable (const QSqlRecord &values) |
| |
| QString | orderByClause () const |
| |
| | QSqlTableModel (QSqlTableModelPrivate &dd, QObject *parent=0, QSqlDatabase db=QSqlDatabase()) |
| |
| virtual bool | deleteRowFromTable (int row) |
| |
| void | setPrimaryKey (const QSqlIndex &key) |
| |
| void | setQuery (const QSqlQuery &query) |
| |
| QModelIndex | indexInQuery (const QModelIndex &item) const |
| |
| virtual void | queryChange () |
| |
| QModelIndex | indexInQuery (const QModelIndex &item) const |
| |
| void | setLastError (const QSqlError &error) |
| |
| | QSqlQueryModel (QSqlQueryModelPrivate &dd, QObject *parent=0) |
| |
| | QAbstractTableModel (QAbstractItemModelPrivate &dd, QObject *parent) |
| |
| | QAbstractItemModel (QAbstractItemModelPrivate &dd, QObject *parent=0) |
| |
| QModelIndex | createIndex (int row, int column, void *data=0) const |
| |
| QModelIndex | createIndex (int row, int column, int id) const |
| |
| QModelIndex | createIndex (int row, int column, quint32 id) const |
| |
| void | encodeData (const QModelIndexList &indexes, QDataStream &stream) const |
| |
| bool | decodeData (int row, int column, const QModelIndex &parent, QDataStream &stream) |
| |
| void | beginInsertRows (const QModelIndex &parent, int first, int last) |
| |
| void | endInsertRows () |
| |
| void | beginRemoveRows (const QModelIndex &parent, int first, int last) |
| |
| void | endRemoveRows () |
| |
| bool | beginMoveRows (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) |
| |
| void | endMoveRows () |
| |
| void | beginInsertColumns (const QModelIndex &parent, int first, int last) |
| |
| void | endInsertColumns () |
| |
| void | beginRemoveColumns (const QModelIndex &parent, int first, int last) |
| |
| void | endRemoveColumns () |
| |
| bool | beginMoveColumns (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) |
| |
| void | endMoveColumns () |
| |
| void | reset () |
| |
| void | beginResetModel () |
| |
| void | endResetModel () |
| |
| void | changePersistentIndex (const QModelIndex &from, const QModelIndex &to) |
| |
| void | changePersistentIndexList (const QModelIndexList &from, const QModelIndexList &to) |
| |
| QModelIndexList | persistentIndexList () const |
| |
| void | setRoleNames (const QHash< int, QByteArray > &roleNames) |
| |
| QObject * | sender () const |
| |
| int | senderSignalIndex () const |
| |
| int | receivers (const char *signal) const |
| |
| virtual void | timerEvent (QTimerEvent *) |
| |
| virtual void | childEvent (QChildEvent *) |
| |
| virtual void | customEvent (QEvent *) |
| |
| virtual void | connectNotify (const char *signal) |
| |
| virtual void | disconnectNotify (const char *signal) |
| |
| | QObject (QObjectPrivate &dd, QObject *parent=0) |
| |