- enum EditStrategy
- enum ItemFlag
- typedef ItemFlags
- enum MatchFlag
- typedef MatchFlags
- enum Role
- QSqlTableModel ( QObject * parent = 0, QSqlDatabase db = QSqlDatabase() )
- ~QSqlTableModel ()
- void beforeDelete ( int row )
- void beforeInsert ( QSqlRecord & record )
- void beforeUpdate ( int row, QSqlRecord & record )
- bool blockSignals ( bool block )
- QModelIndex buddy ( const QModelIndex & index ) const
- void childEvent ( QChildEvent * event )
- const QObjectList & children () const
- void clear ()
- int columnCount ( const QModelIndex & parent = QModelIndex() ) const
- void columnsAboutToBeRemoved ( const QModelIndex & parent, int first, int last )
- void columnsInserted ( const QModelIndex & parent, int start, int end )
- bool connect ( const QObject * sender, const char * signal, const QObject * receiver, const char * member, Qt::ConnectionType type = Qt::AutoConnection )
- bool connect ( const QObject * sender, const char * signal, const char * member, Qt::ConnectionType type = Qt::AutoConnection ) const
- void connectNotify ( const char * signal )
- QModelIndex createIndex ( int row, int column, void * data = 0 ) const
- void customEvent ( QEvent * event )
- QVariant data ( const QModelIndex & item, int role = DisplayRole ) const
- void dataChanged ( const QModelIndex & topLeft, const QModelIndex & bottomRight )
- QSqlDatabase database () const
- void deleteLater ()
- bool deleteRowFromTable ( int row )
- void destroyed ( QObject * obj = 0 )
- bool disconnect ( const QObject * sender, const char * signal, const QObject * receiver, const char * member )
- bool disconnect ( const char * signal = 0, const QObject * receiver = 0, const char * member = 0 )
- bool disconnect ( const QObject * receiver, const char * member = 0 )
- void disconnectNotify ( const char * signal )
- bool dropMimeData ( const QMimeData * data, QDrag::DropAction action, int row, const QModelIndex & parent )
- void dumpObjectInfo ()
- void dumpObjectTree ()
- EditStrategy editStrategy () const
- bool event ( QEvent * e )
- bool eventFilter ( QObject * watched, QEvent * e )
- void fetchMore ( const QModelIndex & parent )
- int fieldIndex ( const QString & fieldName ) const
- QString filter () const
- QObject * findChild ( const QString & name ) const
- QObjectList findChildren ( const QString & name ) const
- QObjectList findChildren ( const QRegExp & re ) const
- ItemFlags flags ( const QModelIndex & index ) const
- bool hasChildren ( const QModelIndex & parent = QModelIndex() ) const
- bool hasIndex ( int row, int column, const QModelIndex & parent = QModelIndex() ) const
- QVariant headerData ( int section, Qt::Orientation orientation, int role = DisplayRole ) const
- void headerDataChanged ( Qt::Orientation orientation, int first, int last )
- QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const
- QModelIndex indexInQuery ( const QModelIndex & item ) const
- bool inherits ( const char * clname ) const
- bool insertColumn ( int column, const QModelIndex & parent = QModelIndex() )
- bool insertColumns ( int column, int count, const QModelIndex & parent = QModelIndex() )
- bool insertRecord ( int row, const QSqlRecord & record )
- bool insertRow ( int row, const QModelIndex & parent = QModelIndex() )
- bool insertRowIntoTable ( const QSqlRecord & values )
- bool insertRows ( int row, int count, const QModelIndex & parent = QModelIndex() )
- void installEventFilter ( const QObject * filterObj )
- bool isAncestorOf ( const QObject * child ) const
- bool isDirty ( const QModelIndex & index ) const
|
- bool isWidgetType () const
- QMap<int, QVariant> itemData ( const QModelIndex & index ) const
- void killTimer ( int id )
- QSqlError lastError () const
- QModelIndexList match ( const QModelIndex & start, int role, const QVariant & value, int hits = 1, MatchFlags flags = MatchDefault ) const
- const QMetaObject * metaObject () const
- QMimeData * mimeData ( const QModelIndexList & indexes ) const
- QStringList mimeTypes () const
- QString objectName () const
- QString orderByClause () const
- QModelIndex parent ( const QModelIndex & index ) const
- QSqlIndex primaryKey () const
- void primeInsert ( int row, QSqlRecord & record )
- QCoreVariant property ( const char * name ) const
- QSqlQuery query () const
- void queryChange ()
- int receivers ( const char * signal ) const
- QSqlRecord record ( int row ) const
- QSqlRecord record () const
- bool removeColumn ( int column, const QModelIndex & parent = QModelIndex() )
- bool removeColumns ( int column, int count, const QModelIndex & parent = QModelIndex() )
- void removeEventFilter ( const QObject * obj )
- bool removeRow ( int row, const QModelIndex & parent = QModelIndex() )
- bool removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() )
- void revert ()
- void revertAll ()
- void revertRow ( int row )
- int rowCount ( const QModelIndex & parent = QModelIndex() ) const
- void rowsAboutToBeRemoved ( const QModelIndex & parent, int first, int last )
- void rowsInserted ( const QModelIndex & parent, int start, int end )
- bool select ()
- QString selectStatement () const
- QObject * sender () const
- bool setData ( const QModelIndex & index, const QVariant & value, int role = EditRole )
- void setEditStrategy ( EditStrategy strategy )
- void setFilter ( const QString & filter )
- bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, int role = EditRole )
- bool setItemData ( const QModelIndex & index, const QMap<int, QVariant> & roles )
- void setLastError ( const QSqlError & error )
- void setObjectName ( const QString & name )
- void setParent ( QObject * parent )
- void setPrimaryKey ( const QSqlIndex & key )
- bool setProperty ( const char * name, const QCoreVariant & value )
- void setQuery ( const QSqlQuery & query )
- void setQuery ( const QString & query, const QSqlDatabase & db = QSqlDatabase() )
- bool setRecord ( int row, const QSqlRecord & record )
- void setSort ( int column, Qt::SortOrder order )
- void setTable ( const QString & tableName )
- QModelIndex sibling ( int row, int column, const QModelIndex & index ) const
- bool signalsBlocked () const
- void sort ( int column, Qt::SortOrder order )
- QSize span ( const QModelIndex & index ) const
- int startTimer ( int interval )
- bool submit ()
- bool submitAll ()
- QDrag::DropActions supportedDropActions () const
- QString tableName () const
- QThread * thread () const
- void timerEvent ( QTimerEvent * event )
- QString tr ( const char * sourceText, const char * comment )
- QString trUtf8 ( const char * sourceText, const char * comment )
- bool updateRowInTable ( int row, const QSqlRecord & values )
|