sql

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QSqlDatabase_ConnectionNames

func QSqlDatabase_ConnectionNames() []string

func QSqlDatabase_Contains

func QSqlDatabase_Contains() bool

func QSqlDatabase_ContainsWithConnectionName

func QSqlDatabase_ContainsWithConnectionName(connectionName string) bool

func QSqlDatabase_Drivers

func QSqlDatabase_Drivers() []string

func QSqlDatabase_IsDriverAvailable

func QSqlDatabase_IsDriverAvailable(name string) bool

func QSqlDatabase_RegisterSqlDriver

func QSqlDatabase_RegisterSqlDriver(name string, creator *QSqlDriverCreatorBase)

func QSqlDatabase_RemoveDatabase

func QSqlDatabase_RemoveDatabase(connectionName string)

func QSqlDriverPlugin_Tr

func QSqlDriverPlugin_Tr(s string) string

func QSqlDriverPlugin_Tr2

func QSqlDriverPlugin_Tr2(s string, c string) string

func QSqlDriverPlugin_Tr3

func QSqlDriverPlugin_Tr3(s string, c string, n int) string

func QSqlDriverPlugin_TrUtf8

func QSqlDriverPlugin_TrUtf8(s string) string

func QSqlDriverPlugin_TrUtf82

func QSqlDriverPlugin_TrUtf82(s string, c string) string

func QSqlDriverPlugin_TrUtf83

func QSqlDriverPlugin_TrUtf83(s string, c string, n int) string

func QSqlDriver_Tr

func QSqlDriver_Tr(s string) string

func QSqlDriver_Tr2

func QSqlDriver_Tr2(s string, c string) string

func QSqlDriver_Tr3

func QSqlDriver_Tr3(s string, c string, n int) string

func QSqlDriver_TrUtf8

func QSqlDriver_TrUtf8(s string) string

func QSqlDriver_TrUtf82

func QSqlDriver_TrUtf82(s string, c string) string

func QSqlDriver_TrUtf83

func QSqlDriver_TrUtf83(s string, c string, n int) string

func QSqlQueryModel_Tr

func QSqlQueryModel_Tr(s string) string

func QSqlQueryModel_Tr2

func QSqlQueryModel_Tr2(s string, c string) string

func QSqlQueryModel_Tr3

func QSqlQueryModel_Tr3(s string, c string, n int) string

func QSqlQueryModel_TrUtf8

func QSqlQueryModel_TrUtf8(s string) string

func QSqlQueryModel_TrUtf82

func QSqlQueryModel_TrUtf82(s string, c string) string

func QSqlQueryModel_TrUtf83

func QSqlQueryModel_TrUtf83(s string, c string, n int) string

func QSqlRelationalTableModel_Tr

func QSqlRelationalTableModel_Tr(s string) string

func QSqlRelationalTableModel_Tr2

func QSqlRelationalTableModel_Tr2(s string, c string) string

func QSqlRelationalTableModel_Tr3

func QSqlRelationalTableModel_Tr3(s string, c string, n int) string

func QSqlRelationalTableModel_TrUtf8

func QSqlRelationalTableModel_TrUtf8(s string) string

func QSqlRelationalTableModel_TrUtf82

func QSqlRelationalTableModel_TrUtf82(s string, c string) string

func QSqlRelationalTableModel_TrUtf83

func QSqlRelationalTableModel_TrUtf83(s string, c string, n int) string

func QSqlTableModel_Tr

func QSqlTableModel_Tr(s string) string

func QSqlTableModel_Tr2

func QSqlTableModel_Tr2(s string, c string) string

func QSqlTableModel_Tr3

func QSqlTableModel_Tr3(s string, c string, n int) string

func QSqlTableModel_TrUtf8

func QSqlTableModel_TrUtf8(s string) string

func QSqlTableModel_TrUtf82

func QSqlTableModel_TrUtf82(s string, c string) string

func QSqlTableModel_TrUtf83

func QSqlTableModel_TrUtf83(s string, c string, n int) string

Types

type QSqlDatabase

type QSqlDatabase struct {
	// contains filtered or unexported fields
}

func NewQSqlDatabase

func NewQSqlDatabase() *QSqlDatabase

NewQSqlDatabase constructs a new QSqlDatabase object.

func NewQSqlDatabase2

func NewQSqlDatabase2(other *QSqlDatabase) *QSqlDatabase

NewQSqlDatabase2 constructs a new QSqlDatabase object.

func QSqlDatabase_AddDatabase

func QSqlDatabase_AddDatabase(typeVal string) *QSqlDatabase

func QSqlDatabase_AddDatabase2

func QSqlDatabase_AddDatabase2(typeVal string, connectionName string) *QSqlDatabase

func QSqlDatabase_AddDatabase3

func QSqlDatabase_AddDatabase3(driver *QSqlDriver, connectionName string) *QSqlDatabase

func QSqlDatabase_AddDatabaseWithDriver

func QSqlDatabase_AddDatabaseWithDriver(driver *QSqlDriver) *QSqlDatabase

func QSqlDatabase_CloneDatabase

func QSqlDatabase_CloneDatabase(other *QSqlDatabase, connectionName string) *QSqlDatabase

func QSqlDatabase_CloneDatabase2

func QSqlDatabase_CloneDatabase2(other string, connectionName string) *QSqlDatabase

func QSqlDatabase_Database

func QSqlDatabase_Database() *QSqlDatabase

func QSqlDatabase_Database2

func QSqlDatabase_Database2(connectionName string, open bool) *QSqlDatabase

func QSqlDatabase_DatabaseWithConnectionName

func QSqlDatabase_DatabaseWithConnectionName(connectionName string) *QSqlDatabase

func UnsafeNewQSqlDatabase

func UnsafeNewQSqlDatabase(h unsafe.Pointer) *QSqlDatabase

UnsafeNewQSqlDatabase constructs the type using only unsafe pointers.

func (*QSqlDatabase) Close

func (this *QSqlDatabase) Close()

func (*QSqlDatabase) Commit

func (this *QSqlDatabase) Commit() bool

func (*QSqlDatabase) ConnectOptions

func (this *QSqlDatabase) ConnectOptions() string

func (*QSqlDatabase) ConnectionName

func (this *QSqlDatabase) ConnectionName() string

func (*QSqlDatabase) DatabaseName

func (this *QSqlDatabase) DatabaseName() string

func (*QSqlDatabase) Delete

func (this *QSqlDatabase) Delete()

Delete this object from C++ memory.

func (*QSqlDatabase) Driver

func (this *QSqlDatabase) Driver() *QSqlDriver

func (*QSqlDatabase) DriverName

func (this *QSqlDatabase) DriverName() string

func (*QSqlDatabase) Exec

func (this *QSqlDatabase) Exec() *QSqlQuery

func (*QSqlDatabase) ExecWithQuery

func (this *QSqlDatabase) ExecWithQuery(query string) *QSqlQuery

func (*QSqlDatabase) GoGC

func (this *QSqlDatabase) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlDatabase) HostName

func (this *QSqlDatabase) HostName() string

func (*QSqlDatabase) IsOpen

func (this *QSqlDatabase) IsOpen() bool

func (*QSqlDatabase) IsOpenError

func (this *QSqlDatabase) IsOpenError() bool

func (*QSqlDatabase) IsValid

func (this *QSqlDatabase) IsValid() bool

func (*QSqlDatabase) LastError

func (this *QSqlDatabase) LastError() *QSqlError

func (*QSqlDatabase) NumericalPrecisionPolicy

func (this *QSqlDatabase) NumericalPrecisionPolicy() QSql__NumericalPrecisionPolicy

func (*QSqlDatabase) Open

func (this *QSqlDatabase) Open() bool

func (*QSqlDatabase) Open2

func (this *QSqlDatabase) Open2(user string, password string) bool

func (*QSqlDatabase) OperatorAssign

func (this *QSqlDatabase) OperatorAssign(other *QSqlDatabase)

func (*QSqlDatabase) Password

func (this *QSqlDatabase) Password() string

func (*QSqlDatabase) Port

func (this *QSqlDatabase) Port() int

func (*QSqlDatabase) PrimaryIndex

func (this *QSqlDatabase) PrimaryIndex(tablename string) *QSqlIndex

func (*QSqlDatabase) Record

func (this *QSqlDatabase) Record(tablename string) *QSqlRecord

func (*QSqlDatabase) Rollback

func (this *QSqlDatabase) Rollback() bool

func (*QSqlDatabase) SetConnectOptions

func (this *QSqlDatabase) SetConnectOptions()

func (*QSqlDatabase) SetConnectOptionsWithOptions

func (this *QSqlDatabase) SetConnectOptionsWithOptions(options string)

func (*QSqlDatabase) SetDatabaseName

func (this *QSqlDatabase) SetDatabaseName(name string)

func (*QSqlDatabase) SetHostName

func (this *QSqlDatabase) SetHostName(host string)

func (*QSqlDatabase) SetNumericalPrecisionPolicy

func (this *QSqlDatabase) SetNumericalPrecisionPolicy(precisionPolicy QSql__NumericalPrecisionPolicy)

func (*QSqlDatabase) SetPassword

func (this *QSqlDatabase) SetPassword(password string)

func (*QSqlDatabase) SetPort

func (this *QSqlDatabase) SetPort(p int)

func (*QSqlDatabase) SetUserName

func (this *QSqlDatabase) SetUserName(name string)

func (*QSqlDatabase) Tables

func (this *QSqlDatabase) Tables() []string

func (*QSqlDatabase) TablesWithType

func (this *QSqlDatabase) TablesWithType(typeVal QSql__TableType) []string

func (*QSqlDatabase) Transaction

func (this *QSqlDatabase) Transaction() bool

func (*QSqlDatabase) UnsafePointer

func (this *QSqlDatabase) UnsafePointer() unsafe.Pointer

func (*QSqlDatabase) UserName

func (this *QSqlDatabase) UserName() string

type QSqlDriver

type QSqlDriver struct {
	*qt.QObject
	// contains filtered or unexported fields
}

func NewQSqlDriver

func NewQSqlDriver() *QSqlDriver

NewQSqlDriver constructs a new QSqlDriver object.

func NewQSqlDriver2

func NewQSqlDriver2(parent *qt.QObject) *QSqlDriver

NewQSqlDriver2 constructs a new QSqlDriver object.

func UnsafeNewQSqlDriver

func UnsafeNewQSqlDriver(h unsafe.Pointer) *QSqlDriver

UnsafeNewQSqlDriver constructs the type using only unsafe pointers.

func (*QSqlDriver) BeginTransaction

func (this *QSqlDriver) BeginTransaction() bool

func (*QSqlDriver) CancelQuery

func (this *QSqlDriver) CancelQuery() bool

func (*QSqlDriver) Close

func (this *QSqlDriver) Close()

func (*QSqlDriver) CommitTransaction

func (this *QSqlDriver) CommitTransaction() bool

func (*QSqlDriver) CreateResult

func (this *QSqlDriver) CreateResult() *QSqlResult

func (*QSqlDriver) DbmsType

func (this *QSqlDriver) DbmsType() QSqlDriver__DbmsType

func (*QSqlDriver) Delete

func (this *QSqlDriver) Delete()

Delete this object from C++ memory.

func (*QSqlDriver) EscapeIdentifier

func (this *QSqlDriver) EscapeIdentifier(identifier string, typeVal QSqlDriver__IdentifierType) string

func (*QSqlDriver) FormatValue

func (this *QSqlDriver) FormatValue(field *QSqlField, trimStrings bool) string

func (*QSqlDriver) GoGC

func (this *QSqlDriver) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlDriver) Handle

func (this *QSqlDriver) Handle() *qt.QVariant

func (*QSqlDriver) HasFeature

func (this *QSqlDriver) HasFeature(f QSqlDriver__DriverFeature) bool

func (*QSqlDriver) IsIdentifierEscaped

func (this *QSqlDriver) IsIdentifierEscaped(identifier string, typeVal QSqlDriver__IdentifierType) bool

func (*QSqlDriver) IsOpen

func (this *QSqlDriver) IsOpen() bool

func (*QSqlDriver) IsOpenError

func (this *QSqlDriver) IsOpenError() bool

func (*QSqlDriver) IsSignalConnected

func (this *QSqlDriver) IsSignalConnected(signal *qt.QMetaMethod) bool

IsSignalConnected can only be called from a QSqlDriver that was directly constructed.

func (*QSqlDriver) LastError

func (this *QSqlDriver) LastError() *QSqlError

func (*QSqlDriver) MetaObject

func (this *QSqlDriver) MetaObject() *qt.QMetaObject

func (*QSqlDriver) Metacast

func (this *QSqlDriver) Metacast(param1 string) unsafe.Pointer

func (*QSqlDriver) Notification

func (this *QSqlDriver) Notification(name string)

func (*QSqlDriver) Notification2

func (this *QSqlDriver) Notification2(name string, source QSqlDriver__NotificationSource, payload *qt.QVariant)

func (*QSqlDriver) NumericalPrecisionPolicy

func (this *QSqlDriver) NumericalPrecisionPolicy() QSql__NumericalPrecisionPolicy

func (*QSqlDriver) OnBeginTransaction

func (this *QSqlDriver) OnBeginTransaction(slot func(super func() bool) bool)

func (*QSqlDriver) OnCancelQuery

func (this *QSqlDriver) OnCancelQuery(slot func(super func() bool) bool)

func (*QSqlDriver) OnChildEvent

func (this *QSqlDriver) OnChildEvent(slot func(super func(event *qt.QChildEvent), event *qt.QChildEvent))

func (*QSqlDriver) OnClose

func (this *QSqlDriver) OnClose(slot func())

func (*QSqlDriver) OnCommitTransaction

func (this *QSqlDriver) OnCommitTransaction(slot func(super func() bool) bool)

func (*QSqlDriver) OnConnectNotify

func (this *QSqlDriver) OnConnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlDriver) OnCreateResult

func (this *QSqlDriver) OnCreateResult(slot func() *QSqlResult)

func (*QSqlDriver) OnCustomEvent

func (this *QSqlDriver) OnCustomEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))

func (*QSqlDriver) OnDisconnectNotify

func (this *QSqlDriver) OnDisconnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlDriver) OnEscapeIdentifier

func (this *QSqlDriver) OnEscapeIdentifier(slot func(super func(identifier string, typeVal QSqlDriver__IdentifierType) string, identifier string, typeVal QSqlDriver__IdentifierType) string)

func (*QSqlDriver) OnEvent

func (this *QSqlDriver) OnEvent(slot func(super func(event *qt.QEvent) bool, event *qt.QEvent) bool)

func (*QSqlDriver) OnEventFilter

func (this *QSqlDriver) OnEventFilter(slot func(super func(watched *qt.QObject, event *qt.QEvent) bool, watched *qt.QObject, event *qt.QEvent) bool)

func (*QSqlDriver) OnFormatValue

func (this *QSqlDriver) OnFormatValue(slot func(super func(field *QSqlField, trimStrings bool) string, field *QSqlField, trimStrings bool) string)

func (*QSqlDriver) OnHandle

func (this *QSqlDriver) OnHandle(slot func(super func() *qt.QVariant) *qt.QVariant)

func (*QSqlDriver) OnHasFeature

func (this *QSqlDriver) OnHasFeature(slot func(f QSqlDriver__DriverFeature) bool)

func (*QSqlDriver) OnIsIdentifierEscaped

func (this *QSqlDriver) OnIsIdentifierEscaped(slot func(super func(identifier string, typeVal QSqlDriver__IdentifierType) bool, identifier string, typeVal QSqlDriver__IdentifierType) bool)

func (*QSqlDriver) OnIsOpen

func (this *QSqlDriver) OnIsOpen(slot func(super func() bool) bool)

func (*QSqlDriver) OnNotification

func (this *QSqlDriver) OnNotification(slot func(name string))

func (*QSqlDriver) OnNotification2

func (this *QSqlDriver) OnNotification2(slot func(name string, source QSqlDriver__NotificationSource, payload *qt.QVariant))

func (*QSqlDriver) OnOpen

func (this *QSqlDriver) OnOpen(slot func(db string, user string, password string, host string, port int, connOpts string) bool)

func (*QSqlDriver) OnPrimaryIndex

func (this *QSqlDriver) OnPrimaryIndex(slot func(super func(tableName string) *QSqlIndex, tableName string) *QSqlIndex)

func (*QSqlDriver) OnRecord

func (this *QSqlDriver) OnRecord(slot func(super func(tableName string) *QSqlRecord, tableName string) *QSqlRecord)

func (*QSqlDriver) OnRollbackTransaction

func (this *QSqlDriver) OnRollbackTransaction(slot func(super func() bool) bool)

func (*QSqlDriver) OnSetLastError

func (this *QSqlDriver) OnSetLastError(slot func(super func(e *QSqlError), e *QSqlError))

func (*QSqlDriver) OnSetOpen

func (this *QSqlDriver) OnSetOpen(slot func(super func(o bool), o bool))

func (*QSqlDriver) OnSetOpenError

func (this *QSqlDriver) OnSetOpenError(slot func(super func(e bool), e bool))

func (*QSqlDriver) OnSqlStatement

func (this *QSqlDriver) OnSqlStatement(slot func(super func(typeVal QSqlDriver__StatementType, tableName string, rec *QSqlRecord, preparedStatement bool) string, typeVal QSqlDriver__StatementType, tableName string, rec *QSqlRecord, preparedStatement bool) string)

func (*QSqlDriver) OnStripDelimiters

func (this *QSqlDriver) OnStripDelimiters(slot func(super func(identifier string, typeVal QSqlDriver__IdentifierType) string, identifier string, typeVal QSqlDriver__IdentifierType) string)

func (*QSqlDriver) OnSubscribeToNotification

func (this *QSqlDriver) OnSubscribeToNotification(slot func(super func(name string) bool, name string) bool)

func (*QSqlDriver) OnSubscribedToNotifications

func (this *QSqlDriver) OnSubscribedToNotifications(slot func(super func() []string) []string)

func (*QSqlDriver) OnTables

func (this *QSqlDriver) OnTables(slot func(super func(tableType QSql__TableType) []string, tableType QSql__TableType) []string)

func (*QSqlDriver) OnTimerEvent

func (this *QSqlDriver) OnTimerEvent(slot func(super func(event *qt.QTimerEvent), event *qt.QTimerEvent))

func (*QSqlDriver) OnUnsubscribeFromNotification

func (this *QSqlDriver) OnUnsubscribeFromNotification(slot func(super func(name string) bool, name string) bool)

func (*QSqlDriver) Open

func (this *QSqlDriver) Open(db string, user string, password string, host string, port int, connOpts string) bool

func (*QSqlDriver) PrimaryIndex

func (this *QSqlDriver) PrimaryIndex(tableName string) *QSqlIndex

func (*QSqlDriver) Receivers

func (this *QSqlDriver) Receivers(signal string) int

Receivers can only be called from a QSqlDriver that was directly constructed.

func (*QSqlDriver) Record

func (this *QSqlDriver) Record(tableName string) *QSqlRecord

func (*QSqlDriver) RollbackTransaction

func (this *QSqlDriver) RollbackTransaction() bool

func (*QSqlDriver) Sender

func (this *QSqlDriver) Sender() *qt.QObject

Sender can only be called from a QSqlDriver that was directly constructed.

func (*QSqlDriver) SenderSignalIndex

func (this *QSqlDriver) SenderSignalIndex() int

SenderSignalIndex can only be called from a QSqlDriver that was directly constructed.

func (*QSqlDriver) SetNumericalPrecisionPolicy

func (this *QSqlDriver) SetNumericalPrecisionPolicy(precisionPolicy QSql__NumericalPrecisionPolicy)

func (*QSqlDriver) SqlStatement

func (this *QSqlDriver) SqlStatement(typeVal QSqlDriver__StatementType, tableName string, rec *QSqlRecord, preparedStatement bool) string

func (*QSqlDriver) StripDelimiters

func (this *QSqlDriver) StripDelimiters(identifier string, typeVal QSqlDriver__IdentifierType) string

func (*QSqlDriver) SubscribeToNotification

func (this *QSqlDriver) SubscribeToNotification(name string) bool

func (*QSqlDriver) SubscribedToNotifications

func (this *QSqlDriver) SubscribedToNotifications() []string

func (*QSqlDriver) Tables

func (this *QSqlDriver) Tables(tableType QSql__TableType) []string

func (*QSqlDriver) UnsafePointer

func (this *QSqlDriver) UnsafePointer() unsafe.Pointer

func (*QSqlDriver) UnsubscribeFromNotification

func (this *QSqlDriver) UnsubscribeFromNotification(name string) bool

type QSqlDriverCreatorBase

type QSqlDriverCreatorBase struct {
	// contains filtered or unexported fields
}

func UnsafeNewQSqlDriverCreatorBase

func UnsafeNewQSqlDriverCreatorBase(h unsafe.Pointer) *QSqlDriverCreatorBase

UnsafeNewQSqlDriverCreatorBase constructs the type using only unsafe pointers.

func (*QSqlDriverCreatorBase) CreateObject

func (this *QSqlDriverCreatorBase) CreateObject() *QSqlDriver

func (*QSqlDriverCreatorBase) Delete

func (this *QSqlDriverCreatorBase) Delete()

Delete this object from C++ memory.

func (*QSqlDriverCreatorBase) GoGC

func (this *QSqlDriverCreatorBase) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlDriverCreatorBase) OperatorAssign

func (this *QSqlDriverCreatorBase) OperatorAssign(param1 *QSqlDriverCreatorBase)

func (*QSqlDriverCreatorBase) UnsafePointer

func (this *QSqlDriverCreatorBase) UnsafePointer() unsafe.Pointer

type QSqlDriverPlugin

type QSqlDriverPlugin struct {
	*qt.QObject
	// contains filtered or unexported fields
}

func NewQSqlDriverPlugin

func NewQSqlDriverPlugin() *QSqlDriverPlugin

NewQSqlDriverPlugin constructs a new QSqlDriverPlugin object.

func NewQSqlDriverPlugin2

func NewQSqlDriverPlugin2(parent *qt.QObject) *QSqlDriverPlugin

NewQSqlDriverPlugin2 constructs a new QSqlDriverPlugin object.

func UnsafeNewQSqlDriverPlugin

func UnsafeNewQSqlDriverPlugin(h unsafe.Pointer) *QSqlDriverPlugin

UnsafeNewQSqlDriverPlugin constructs the type using only unsafe pointers.

func (*QSqlDriverPlugin) Create

func (this *QSqlDriverPlugin) Create(key string) *QSqlDriver

func (*QSqlDriverPlugin) Delete

func (this *QSqlDriverPlugin) Delete()

Delete this object from C++ memory.

func (*QSqlDriverPlugin) GoGC

func (this *QSqlDriverPlugin) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlDriverPlugin) IsSignalConnected

func (this *QSqlDriverPlugin) IsSignalConnected(signal *qt.QMetaMethod) bool

IsSignalConnected can only be called from a QSqlDriverPlugin that was directly constructed.

func (*QSqlDriverPlugin) MetaObject

func (this *QSqlDriverPlugin) MetaObject() *qt.QMetaObject

func (*QSqlDriverPlugin) Metacast

func (this *QSqlDriverPlugin) Metacast(param1 string) unsafe.Pointer

func (*QSqlDriverPlugin) OnChildEvent

func (this *QSqlDriverPlugin) OnChildEvent(slot func(super func(event *qt.QChildEvent), event *qt.QChildEvent))

func (*QSqlDriverPlugin) OnConnectNotify

func (this *QSqlDriverPlugin) OnConnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlDriverPlugin) OnCreate

func (this *QSqlDriverPlugin) OnCreate(slot func(key string) *QSqlDriver)

func (*QSqlDriverPlugin) OnCustomEvent

func (this *QSqlDriverPlugin) OnCustomEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))

func (*QSqlDriverPlugin) OnDisconnectNotify

func (this *QSqlDriverPlugin) OnDisconnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlDriverPlugin) OnEvent

func (this *QSqlDriverPlugin) OnEvent(slot func(super func(event *qt.QEvent) bool, event *qt.QEvent) bool)

func (*QSqlDriverPlugin) OnEventFilter

func (this *QSqlDriverPlugin) OnEventFilter(slot func(super func(watched *qt.QObject, event *qt.QEvent) bool, watched *qt.QObject, event *qt.QEvent) bool)

func (*QSqlDriverPlugin) OnTimerEvent

func (this *QSqlDriverPlugin) OnTimerEvent(slot func(super func(event *qt.QTimerEvent), event *qt.QTimerEvent))

func (*QSqlDriverPlugin) Receivers

func (this *QSqlDriverPlugin) Receivers(signal string) int

Receivers can only be called from a QSqlDriverPlugin that was directly constructed.

func (*QSqlDriverPlugin) Sender

func (this *QSqlDriverPlugin) Sender() *qt.QObject

Sender can only be called from a QSqlDriverPlugin that was directly constructed.

func (*QSqlDriverPlugin) SenderSignalIndex

func (this *QSqlDriverPlugin) SenderSignalIndex() int

SenderSignalIndex can only be called from a QSqlDriverPlugin that was directly constructed.

func (*QSqlDriverPlugin) UnsafePointer

func (this *QSqlDriverPlugin) UnsafePointer() unsafe.Pointer

type QSqlDriver__DbmsType

type QSqlDriver__DbmsType int
const (
	QSqlDriver__UnknownDbms QSqlDriver__DbmsType = 0
	QSqlDriver__MSSqlServer QSqlDriver__DbmsType = 1
	QSqlDriver__MySqlServer QSqlDriver__DbmsType = 2
	QSqlDriver__PostgreSQL  QSqlDriver__DbmsType = 3
	QSqlDriver__Oracle      QSqlDriver__DbmsType = 4
	QSqlDriver__Sybase      QSqlDriver__DbmsType = 5
	QSqlDriver__SQLite      QSqlDriver__DbmsType = 6
	QSqlDriver__Interbase   QSqlDriver__DbmsType = 7
	QSqlDriver__DB2         QSqlDriver__DbmsType = 8
)

type QSqlDriver__DriverFeature

type QSqlDriver__DriverFeature int
const (
	QSqlDriver__Transactions           QSqlDriver__DriverFeature = 0
	QSqlDriver__QuerySize              QSqlDriver__DriverFeature = 1
	QSqlDriver__BLOB                   QSqlDriver__DriverFeature = 2
	QSqlDriver__Unicode                QSqlDriver__DriverFeature = 3
	QSqlDriver__PreparedQueries        QSqlDriver__DriverFeature = 4
	QSqlDriver__NamedPlaceholders      QSqlDriver__DriverFeature = 5
	QSqlDriver__PositionalPlaceholders QSqlDriver__DriverFeature = 6
	QSqlDriver__LastInsertId           QSqlDriver__DriverFeature = 7
	QSqlDriver__BatchOperations        QSqlDriver__DriverFeature = 8
	QSqlDriver__SimpleLocking          QSqlDriver__DriverFeature = 9
	QSqlDriver__LowPrecisionNumbers    QSqlDriver__DriverFeature = 10
	QSqlDriver__EventNotifications     QSqlDriver__DriverFeature = 11
	QSqlDriver__FinishQuery            QSqlDriver__DriverFeature = 12
	QSqlDriver__MultipleResultSets     QSqlDriver__DriverFeature = 13
	QSqlDriver__CancelQuery            QSqlDriver__DriverFeature = 14
)

type QSqlDriver__IdentifierType

type QSqlDriver__IdentifierType int
const (
	QSqlDriver__FieldName QSqlDriver__IdentifierType = 0
	QSqlDriver__TableName QSqlDriver__IdentifierType = 1
)

type QSqlDriver__NotificationSource

type QSqlDriver__NotificationSource int
const (
	QSqlDriver__UnknownSource QSqlDriver__NotificationSource = 0
	QSqlDriver__SelfSource    QSqlDriver__NotificationSource = 1
	QSqlDriver__OtherSource   QSqlDriver__NotificationSource = 2
)

type QSqlDriver__StatementType

type QSqlDriver__StatementType int
const (
	QSqlDriver__WhereStatement  QSqlDriver__StatementType = 0
	QSqlDriver__SelectStatement QSqlDriver__StatementType = 1
	QSqlDriver__UpdateStatement QSqlDriver__StatementType = 2
	QSqlDriver__InsertStatement QSqlDriver__StatementType = 3
	QSqlDriver__DeleteStatement QSqlDriver__StatementType = 4
)

type QSqlError

type QSqlError struct {
	// contains filtered or unexported fields
}

func NewQSqlError

func NewQSqlError(driverText string, databaseText string, typeVal QSqlError__ErrorType, number int) *QSqlError

NewQSqlError constructs a new QSqlError object.

func NewQSqlError2

func NewQSqlError2() *QSqlError

NewQSqlError2 constructs a new QSqlError object.

func NewQSqlError3

func NewQSqlError3(other *QSqlError) *QSqlError

NewQSqlError3 constructs a new QSqlError object.

func NewQSqlError4

func NewQSqlError4(driverText string) *QSqlError

NewQSqlError4 constructs a new QSqlError object.

func NewQSqlError5

func NewQSqlError5(driverText string, databaseText string) *QSqlError

NewQSqlError5 constructs a new QSqlError object.

func NewQSqlError6

func NewQSqlError6(driverText string, databaseText string, typeVal QSqlError__ErrorType) *QSqlError

NewQSqlError6 constructs a new QSqlError object.

func NewQSqlError7

func NewQSqlError7(driverText string, databaseText string, typeVal QSqlError__ErrorType, errorCode string) *QSqlError

NewQSqlError7 constructs a new QSqlError object.

func UnsafeNewQSqlError

func UnsafeNewQSqlError(h unsafe.Pointer) *QSqlError

UnsafeNewQSqlError constructs the type using only unsafe pointers.

func (*QSqlError) DatabaseText

func (this *QSqlError) DatabaseText() string

func (*QSqlError) Delete

func (this *QSqlError) Delete()

Delete this object from C++ memory.

func (*QSqlError) DriverText

func (this *QSqlError) DriverText() string

func (*QSqlError) GoGC

func (this *QSqlError) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlError) IsValid

func (this *QSqlError) IsValid() bool

func (*QSqlError) NativeErrorCode

func (this *QSqlError) NativeErrorCode() string

func (*QSqlError) Number

func (this *QSqlError) Number() int

func (*QSqlError) OperatorAssign

func (this *QSqlError) OperatorAssign(other *QSqlError)

func (*QSqlError) OperatorEqual

func (this *QSqlError) OperatorEqual(other *QSqlError) bool

func (*QSqlError) OperatorNotEqual

func (this *QSqlError) OperatorNotEqual(other *QSqlError) bool

func (*QSqlError) SetDatabaseText

func (this *QSqlError) SetDatabaseText(databaseText string)

func (*QSqlError) SetDriverText

func (this *QSqlError) SetDriverText(driverText string)

func (*QSqlError) SetNumber

func (this *QSqlError) SetNumber(number int)

func (*QSqlError) SetType

func (this *QSqlError) SetType(typeVal QSqlError__ErrorType)

func (*QSqlError) Swap

func (this *QSqlError) Swap(other *QSqlError)

func (*QSqlError) Text

func (this *QSqlError) Text() string

func (*QSqlError) Type

func (this *QSqlError) Type() QSqlError__ErrorType

func (*QSqlError) UnsafePointer

func (this *QSqlError) UnsafePointer() unsafe.Pointer

type QSqlError__ErrorType

type QSqlError__ErrorType int
const (
	QSqlError__NoError          QSqlError__ErrorType = 0
	QSqlError__ConnectionError  QSqlError__ErrorType = 1
	QSqlError__StatementError   QSqlError__ErrorType = 2
	QSqlError__TransactionError QSqlError__ErrorType = 3
	QSqlError__UnknownError     QSqlError__ErrorType = 4
)

type QSqlField

type QSqlField struct {
	// contains filtered or unexported fields
}

func NewQSqlField

func NewQSqlField() *QSqlField

NewQSqlField constructs a new QSqlField object.

func NewQSqlField2

func NewQSqlField2(fieldName string, typeVal qt.QVariant__Type, tableName string) *QSqlField

NewQSqlField2 constructs a new QSqlField object.

func NewQSqlField3

func NewQSqlField3(other *QSqlField) *QSqlField

NewQSqlField3 constructs a new QSqlField object.

func NewQSqlField4

func NewQSqlField4(fieldName string) *QSqlField

NewQSqlField4 constructs a new QSqlField object.

func NewQSqlField5

func NewQSqlField5(fieldName string, typeVal qt.QVariant__Type) *QSqlField

NewQSqlField5 constructs a new QSqlField object.

func UnsafeNewQSqlField

func UnsafeNewQSqlField(h unsafe.Pointer) *QSqlField

UnsafeNewQSqlField constructs the type using only unsafe pointers.

func (*QSqlField) Clear

func (this *QSqlField) Clear()

func (*QSqlField) DefaultValue

func (this *QSqlField) DefaultValue() *qt.QVariant

func (*QSqlField) Delete

func (this *QSqlField) Delete()

Delete this object from C++ memory.

func (*QSqlField) GoGC

func (this *QSqlField) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlField) IsAutoValue

func (this *QSqlField) IsAutoValue() bool

func (*QSqlField) IsGenerated

func (this *QSqlField) IsGenerated() bool

func (*QSqlField) IsNull

func (this *QSqlField) IsNull() bool

func (*QSqlField) IsReadOnly

func (this *QSqlField) IsReadOnly() bool

func (*QSqlField) IsValid

func (this *QSqlField) IsValid() bool

func (*QSqlField) Length

func (this *QSqlField) Length() int

func (*QSqlField) Name

func (this *QSqlField) Name() string

func (*QSqlField) OperatorAssign

func (this *QSqlField) OperatorAssign(other *QSqlField)

func (*QSqlField) OperatorEqual

func (this *QSqlField) OperatorEqual(other *QSqlField) bool

func (*QSqlField) OperatorNotEqual

func (this *QSqlField) OperatorNotEqual(other *QSqlField) bool

func (*QSqlField) Precision

func (this *QSqlField) Precision() int

func (*QSqlField) RequiredStatus

func (this *QSqlField) RequiredStatus() QSqlField__RequiredStatus

func (*QSqlField) SetAutoValue

func (this *QSqlField) SetAutoValue(autoVal bool)

func (*QSqlField) SetDefaultValue

func (this *QSqlField) SetDefaultValue(value *qt.QVariant)

func (*QSqlField) SetGenerated

func (this *QSqlField) SetGenerated(gen bool)

func (*QSqlField) SetLength

func (this *QSqlField) SetLength(fieldLength int)

func (*QSqlField) SetName

func (this *QSqlField) SetName(name string)

func (*QSqlField) SetPrecision

func (this *QSqlField) SetPrecision(precision int)

func (*QSqlField) SetReadOnly

func (this *QSqlField) SetReadOnly(readOnly bool)

func (*QSqlField) SetRequired

func (this *QSqlField) SetRequired(required bool)

func (*QSqlField) SetRequiredStatus

func (this *QSqlField) SetRequiredStatus(status QSqlField__RequiredStatus)

func (*QSqlField) SetSqlType

func (this *QSqlField) SetSqlType(typeVal int)

func (*QSqlField) SetTableName

func (this *QSqlField) SetTableName(tableName string)

func (*QSqlField) SetType

func (this *QSqlField) SetType(typeVal qt.QVariant__Type)

func (*QSqlField) SetValue

func (this *QSqlField) SetValue(value *qt.QVariant)

func (*QSqlField) TableName

func (this *QSqlField) TableName() string

func (*QSqlField) Type

func (this *QSqlField) Type() qt.QVariant__Type

func (*QSqlField) TypeID

func (this *QSqlField) TypeID() int

func (*QSqlField) UnsafePointer

func (this *QSqlField) UnsafePointer() unsafe.Pointer

func (*QSqlField) Value

func (this *QSqlField) Value() *qt.QVariant

type QSqlField__RequiredStatus

type QSqlField__RequiredStatus int
const (
	QSqlField__Unknown  QSqlField__RequiredStatus = -1
	QSqlField__Optional QSqlField__RequiredStatus = 0
	QSqlField__Required QSqlField__RequiredStatus = 1
)

type QSqlIndex

type QSqlIndex struct {
	*QSqlRecord
	// contains filtered or unexported fields
}

func NewQSqlIndex

func NewQSqlIndex() *QSqlIndex

NewQSqlIndex constructs a new QSqlIndex object.

func NewQSqlIndex2

func NewQSqlIndex2(other *QSqlIndex) *QSqlIndex

NewQSqlIndex2 constructs a new QSqlIndex object.

func NewQSqlIndex3

func NewQSqlIndex3(cursorName string) *QSqlIndex

NewQSqlIndex3 constructs a new QSqlIndex object.

func NewQSqlIndex4

func NewQSqlIndex4(cursorName string, name string) *QSqlIndex

NewQSqlIndex4 constructs a new QSqlIndex object.

func UnsafeNewQSqlIndex

func UnsafeNewQSqlIndex(h unsafe.Pointer) *QSqlIndex

UnsafeNewQSqlIndex constructs the type using only unsafe pointers.

func (*QSqlIndex) Append

func (this *QSqlIndex) Append(field *QSqlField)

func (*QSqlIndex) Append2

func (this *QSqlIndex) Append2(field *QSqlField, desc bool)

func (*QSqlIndex) CursorName

func (this *QSqlIndex) CursorName() string

func (*QSqlIndex) Delete

func (this *QSqlIndex) Delete()

Delete this object from C++ memory.

func (*QSqlIndex) GoGC

func (this *QSqlIndex) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlIndex) IsDescending

func (this *QSqlIndex) IsDescending(i int) bool

func (*QSqlIndex) Name

func (this *QSqlIndex) Name() string

func (*QSqlIndex) OperatorAssign

func (this *QSqlIndex) OperatorAssign(other *QSqlIndex)

func (*QSqlIndex) SetCursorName

func (this *QSqlIndex) SetCursorName(cursorName string)

func (*QSqlIndex) SetDescending

func (this *QSqlIndex) SetDescending(i int, desc bool)

func (*QSqlIndex) SetName

func (this *QSqlIndex) SetName(name string)

func (*QSqlIndex) UnsafePointer

func (this *QSqlIndex) UnsafePointer() unsafe.Pointer

type QSqlQuery

type QSqlQuery struct {
	// contains filtered or unexported fields
}

func NewQSqlQuery

func NewQSqlQuery(r *QSqlResult) *QSqlQuery

NewQSqlQuery constructs a new QSqlQuery object.

func NewQSqlQuery2

func NewQSqlQuery2() *QSqlQuery

NewQSqlQuery2 constructs a new QSqlQuery object.

func NewQSqlQuery3

func NewQSqlQuery3(db QSqlDatabase) *QSqlQuery

NewQSqlQuery3 constructs a new QSqlQuery object.

func NewQSqlQuery4

func NewQSqlQuery4(other *QSqlQuery) *QSqlQuery

NewQSqlQuery4 constructs a new QSqlQuery object.

func NewQSqlQuery5

func NewQSqlQuery5(query string) *QSqlQuery

NewQSqlQuery5 constructs a new QSqlQuery object.

func NewQSqlQuery6

func NewQSqlQuery6(query string, db QSqlDatabase) *QSqlQuery

NewQSqlQuery6 constructs a new QSqlQuery object.

func UnsafeNewQSqlQuery

func UnsafeNewQSqlQuery(h unsafe.Pointer) *QSqlQuery

UnsafeNewQSqlQuery constructs the type using only unsafe pointers.

func (*QSqlQuery) AddBindValue

func (this *QSqlQuery) AddBindValue(val *qt.QVariant)

func (*QSqlQuery) AddBindValue2

func (this *QSqlQuery) AddBindValue2(val *qt.QVariant, typeVal QSql__ParamTypeFlag)

func (*QSqlQuery) At

func (this *QSqlQuery) At() int

func (*QSqlQuery) BindValue

func (this *QSqlQuery) BindValue(placeholder string, val *qt.QVariant)

func (*QSqlQuery) BindValue2

func (this *QSqlQuery) BindValue2(pos int, val *qt.QVariant)

func (*QSqlQuery) BindValue3

func (this *QSqlQuery) BindValue3(placeholder string, val *qt.QVariant, typeVal QSql__ParamTypeFlag)

func (*QSqlQuery) BindValue4

func (this *QSqlQuery) BindValue4(pos int, val *qt.QVariant, typeVal QSql__ParamTypeFlag)

func (*QSqlQuery) BoundValue

func (this *QSqlQuery) BoundValue(placeholder string) *qt.QVariant

func (*QSqlQuery) BoundValueWithPos

func (this *QSqlQuery) BoundValueWithPos(pos int) *qt.QVariant

func (*QSqlQuery) BoundValues

func (this *QSqlQuery) BoundValues() map[string]qt.QVariant

func (*QSqlQuery) Clear

func (this *QSqlQuery) Clear()

func (*QSqlQuery) Delete

func (this *QSqlQuery) Delete()

Delete this object from C++ memory.

func (*QSqlQuery) Driver

func (this *QSqlQuery) Driver() *QSqlDriver

func (*QSqlQuery) Exec

func (this *QSqlQuery) Exec(query string) bool

func (*QSqlQuery) Exec2

func (this *QSqlQuery) Exec2() bool

func (*QSqlQuery) ExecBatch

func (this *QSqlQuery) ExecBatch() bool

func (*QSqlQuery) ExecBatchWithMode

func (this *QSqlQuery) ExecBatchWithMode(mode QSqlQuery__BatchExecutionMode) bool

func (*QSqlQuery) ExecutedQuery

func (this *QSqlQuery) ExecutedQuery() string

func (*QSqlQuery) Finish

func (this *QSqlQuery) Finish()

func (*QSqlQuery) First

func (this *QSqlQuery) First() bool

func (*QSqlQuery) GoGC

func (this *QSqlQuery) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlQuery) IsActive

func (this *QSqlQuery) IsActive() bool

func (*QSqlQuery) IsForwardOnly

func (this *QSqlQuery) IsForwardOnly() bool

func (*QSqlQuery) IsNull

func (this *QSqlQuery) IsNull(field int) bool

func (*QSqlQuery) IsNullWithName

func (this *QSqlQuery) IsNullWithName(name string) bool

func (*QSqlQuery) IsSelect

func (this *QSqlQuery) IsSelect() bool

func (*QSqlQuery) IsValid

func (this *QSqlQuery) IsValid() bool

func (*QSqlQuery) Last

func (this *QSqlQuery) Last() bool

func (*QSqlQuery) LastError

func (this *QSqlQuery) LastError() *QSqlError

func (*QSqlQuery) LastInsertId

func (this *QSqlQuery) LastInsertId() *qt.QVariant

func (*QSqlQuery) LastQuery

func (this *QSqlQuery) LastQuery() string

func (*QSqlQuery) Next

func (this *QSqlQuery) Next() bool

func (*QSqlQuery) NextResult

func (this *QSqlQuery) NextResult() bool

func (*QSqlQuery) NumRowsAffected

func (this *QSqlQuery) NumRowsAffected() int

func (*QSqlQuery) NumericalPrecisionPolicy

func (this *QSqlQuery) NumericalPrecisionPolicy() QSql__NumericalPrecisionPolicy

func (*QSqlQuery) OperatorAssign

func (this *QSqlQuery) OperatorAssign(other *QSqlQuery)

func (*QSqlQuery) Prepare

func (this *QSqlQuery) Prepare(query string) bool

func (*QSqlQuery) Previous

func (this *QSqlQuery) Previous() bool

func (*QSqlQuery) Record

func (this *QSqlQuery) Record() *QSqlRecord

func (*QSqlQuery) Result

func (this *QSqlQuery) Result() *QSqlResult

func (*QSqlQuery) Seek

func (this *QSqlQuery) Seek(i int) bool

func (*QSqlQuery) Seek2

func (this *QSqlQuery) Seek2(i int, relative bool) bool

func (*QSqlQuery) SetForwardOnly

func (this *QSqlQuery) SetForwardOnly(forward bool)

func (*QSqlQuery) SetNumericalPrecisionPolicy

func (this *QSqlQuery) SetNumericalPrecisionPolicy(precisionPolicy QSql__NumericalPrecisionPolicy)

func (*QSqlQuery) Size

func (this *QSqlQuery) Size() int

func (*QSqlQuery) UnsafePointer

func (this *QSqlQuery) UnsafePointer() unsafe.Pointer

func (*QSqlQuery) Value

func (this *QSqlQuery) Value(i int) *qt.QVariant

func (*QSqlQuery) ValueWithName

func (this *QSqlQuery) ValueWithName(name string) *qt.QVariant

type QSqlQueryModel

type QSqlQueryModel struct {
	*qt.QAbstractTableModel
	// contains filtered or unexported fields
}

func NewQSqlQueryModel

func NewQSqlQueryModel() *QSqlQueryModel

NewQSqlQueryModel constructs a new QSqlQueryModel object.

func NewQSqlQueryModel2

func NewQSqlQueryModel2(parent *qt.QObject) *QSqlQueryModel

NewQSqlQueryModel2 constructs a new QSqlQueryModel object.

func UnsafeNewQSqlQueryModel

func UnsafeNewQSqlQueryModel(h unsafe.Pointer) *QSqlQueryModel

UnsafeNewQSqlQueryModel constructs the type using only unsafe pointers.

func (*QSqlQueryModel) BeginInsertColumns

func (this *QSqlQueryModel) BeginInsertColumns(parent *qt.QModelIndex, first int, last int)

BeginInsertColumns can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) BeginInsertRows

func (this *QSqlQueryModel) BeginInsertRows(parent *qt.QModelIndex, first int, last int)

BeginInsertRows can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) BeginMoveColumns

func (this *QSqlQueryModel) BeginMoveColumns(sourceParent *qt.QModelIndex, sourceFirst int, sourceLast int, destinationParent *qt.QModelIndex, destinationColumn int) bool

BeginMoveColumns can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) BeginMoveRows

func (this *QSqlQueryModel) BeginMoveRows(sourceParent *qt.QModelIndex, sourceFirst int, sourceLast int, destinationParent *qt.QModelIndex, destinationRow int) bool

BeginMoveRows can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) BeginRemoveColumns

func (this *QSqlQueryModel) BeginRemoveColumns(parent *qt.QModelIndex, first int, last int)

BeginRemoveColumns can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) BeginRemoveRows

func (this *QSqlQueryModel) BeginRemoveRows(parent *qt.QModelIndex, first int, last int)

BeginRemoveRows can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) BeginResetModel

func (this *QSqlQueryModel) BeginResetModel()

BeginResetModel can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) CanFetchMore

func (this *QSqlQueryModel) CanFetchMore(parent *qt.QModelIndex) bool

func (*QSqlQueryModel) ChangePersistentIndex

func (this *QSqlQueryModel) ChangePersistentIndex(from *qt.QModelIndex, to *qt.QModelIndex)

ChangePersistentIndex can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) ChangePersistentIndexList

func (this *QSqlQueryModel) ChangePersistentIndexList(from []qt.QModelIndex, to []qt.QModelIndex)

ChangePersistentIndexList can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) Clear

func (this *QSqlQueryModel) Clear()

func (*QSqlQueryModel) ColumnCount

func (this *QSqlQueryModel) ColumnCount(parent *qt.QModelIndex) int

func (*QSqlQueryModel) CreateIndex

func (this *QSqlQueryModel) CreateIndex(row int, column int) qt.QModelIndex

CreateIndex can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) Data

func (this *QSqlQueryModel) Data(item *qt.QModelIndex, role int) *qt.QVariant

func (*QSqlQueryModel) DecodeData

func (this *QSqlQueryModel) DecodeData(row int, column int, parent *qt.QModelIndex, stream *qt.QDataStream) bool

DecodeData can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) Delete

func (this *QSqlQueryModel) Delete()

Delete this object from C++ memory.

func (*QSqlQueryModel) EncodeData

func (this *QSqlQueryModel) EncodeData(indexes []qt.QModelIndex, stream *qt.QDataStream)

EncodeData can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) EndInsertColumns

func (this *QSqlQueryModel) EndInsertColumns()

EndInsertColumns can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) EndInsertRows

func (this *QSqlQueryModel) EndInsertRows()

EndInsertRows can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) EndMoveColumns

func (this *QSqlQueryModel) EndMoveColumns()

EndMoveColumns can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) EndMoveRows

func (this *QSqlQueryModel) EndMoveRows()

EndMoveRows can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) EndRemoveColumns

func (this *QSqlQueryModel) EndRemoveColumns()

EndRemoveColumns can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) EndRemoveRows

func (this *QSqlQueryModel) EndRemoveRows()

EndRemoveRows can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) EndResetModel

func (this *QSqlQueryModel) EndResetModel()

EndResetModel can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) FetchMore

func (this *QSqlQueryModel) FetchMore(parent *qt.QModelIndex)

func (*QSqlQueryModel) GoGC

func (this *QSqlQueryModel) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlQueryModel) HeaderData

func (this *QSqlQueryModel) HeaderData(section int, orientation qt.Orientation, role int) *qt.QVariant

func (*QSqlQueryModel) InsertColumns

func (this *QSqlQueryModel) InsertColumns(column int, count int, parent *qt.QModelIndex) bool

func (*QSqlQueryModel) IsSignalConnected

func (this *QSqlQueryModel) IsSignalConnected(signal *qt.QMetaMethod) bool

IsSignalConnected can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) LastError

func (this *QSqlQueryModel) LastError() *QSqlError

func (*QSqlQueryModel) MetaObject

func (this *QSqlQueryModel) MetaObject() *qt.QMetaObject

func (*QSqlQueryModel) Metacast

func (this *QSqlQueryModel) Metacast(param1 string) unsafe.Pointer

func (*QSqlQueryModel) OnBuddy

func (this *QSqlQueryModel) OnBuddy(slot func(super func(index *qt.QModelIndex) *qt.QModelIndex, index *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlQueryModel) OnCanDropMimeData

func (this *QSqlQueryModel) OnCanDropMimeData(slot func(super func(data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool, data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool)

func (*QSqlQueryModel) OnCanFetchMore

func (this *QSqlQueryModel) OnCanFetchMore(slot func(super func(parent *qt.QModelIndex) bool, parent *qt.QModelIndex) bool)

func (*QSqlQueryModel) OnChildEvent

func (this *QSqlQueryModel) OnChildEvent(slot func(super func(event *qt.QChildEvent), event *qt.QChildEvent))

func (*QSqlQueryModel) OnClear

func (this *QSqlQueryModel) OnClear(slot func(super func()))

func (*QSqlQueryModel) OnColumnCount

func (this *QSqlQueryModel) OnColumnCount(slot func(super func(parent *qt.QModelIndex) int, parent *qt.QModelIndex) int)

func (*QSqlQueryModel) OnConnectNotify

func (this *QSqlQueryModel) OnConnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlQueryModel) OnCustomEvent

func (this *QSqlQueryModel) OnCustomEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))

func (*QSqlQueryModel) OnData

func (this *QSqlQueryModel) OnData(slot func(super func(item *qt.QModelIndex, role int) *qt.QVariant, item *qt.QModelIndex, role int) *qt.QVariant)

func (*QSqlQueryModel) OnDisconnectNotify

func (this *QSqlQueryModel) OnDisconnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlQueryModel) OnDropMimeData

func (this *QSqlQueryModel) OnDropMimeData(slot func(super func(data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool, data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool)

func (*QSqlQueryModel) OnEvent

func (this *QSqlQueryModel) OnEvent(slot func(super func(event *qt.QEvent) bool, event *qt.QEvent) bool)

func (*QSqlQueryModel) OnEventFilter

func (this *QSqlQueryModel) OnEventFilter(slot func(super func(watched *qt.QObject, event *qt.QEvent) bool, watched *qt.QObject, event *qt.QEvent) bool)

func (*QSqlQueryModel) OnFetchMore

func (this *QSqlQueryModel) OnFetchMore(slot func(super func(parent *qt.QModelIndex), parent *qt.QModelIndex))

func (*QSqlQueryModel) OnFlags

func (this *QSqlQueryModel) OnFlags(slot func(super func(index *qt.QModelIndex) qt.ItemFlag, index *qt.QModelIndex) qt.ItemFlag)

func (*QSqlQueryModel) OnHeaderData

func (this *QSqlQueryModel) OnHeaderData(slot func(super func(section int, orientation qt.Orientation, role int) *qt.QVariant, section int, orientation qt.Orientation, role int) *qt.QVariant)

func (*QSqlQueryModel) OnIndex

func (this *QSqlQueryModel) OnIndex(slot func(super func(row int, column int, parent *qt.QModelIndex) *qt.QModelIndex, row int, column int, parent *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlQueryModel) OnIndexInQuery

func (this *QSqlQueryModel) OnIndexInQuery(slot func(super func(item *qt.QModelIndex) *qt.QModelIndex, item *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlQueryModel) OnInsertColumns

func (this *QSqlQueryModel) OnInsertColumns(slot func(super func(column int, count int, parent *qt.QModelIndex) bool, column int, count int, parent *qt.QModelIndex) bool)

func (*QSqlQueryModel) OnInsertRows

func (this *QSqlQueryModel) OnInsertRows(slot func(super func(row int, count int, parent *qt.QModelIndex) bool, row int, count int, parent *qt.QModelIndex) bool)

func (*QSqlQueryModel) OnItemData

func (this *QSqlQueryModel) OnItemData(slot func(super func(index *qt.QModelIndex) map[int]qt.QVariant, index *qt.QModelIndex) map[int]qt.QVariant)

func (*QSqlQueryModel) OnMatch

func (this *QSqlQueryModel) OnMatch(slot func(super func(start *qt.QModelIndex, role int, value *qt.QVariant, hits int, flags qt.MatchFlag) []qt.QModelIndex, start *qt.QModelIndex, role int, value *qt.QVariant, hits int, flags qt.MatchFlag) []qt.QModelIndex)

func (*QSqlQueryModel) OnMimeData

func (this *QSqlQueryModel) OnMimeData(slot func(super func(indexes []qt.QModelIndex) *qt.QMimeData, indexes []qt.QModelIndex) *qt.QMimeData)

func (*QSqlQueryModel) OnMimeTypes

func (this *QSqlQueryModel) OnMimeTypes(slot func(super func() []string) []string)

func (*QSqlQueryModel) OnMoveColumns

func (this *QSqlQueryModel) OnMoveColumns(slot func(super func(sourceParent *qt.QModelIndex, sourceColumn int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool, sourceParent *qt.QModelIndex, sourceColumn int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool)

func (*QSqlQueryModel) OnMoveRows

func (this *QSqlQueryModel) OnMoveRows(slot func(super func(sourceParent *qt.QModelIndex, sourceRow int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool, sourceParent *qt.QModelIndex, sourceRow int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool)

func (*QSqlQueryModel) OnQueryChange

func (this *QSqlQueryModel) OnQueryChange(slot func(super func()))

func (*QSqlQueryModel) OnRemoveColumns

func (this *QSqlQueryModel) OnRemoveColumns(slot func(super func(column int, count int, parent *qt.QModelIndex) bool, column int, count int, parent *qt.QModelIndex) bool)

func (*QSqlQueryModel) OnRemoveRows

func (this *QSqlQueryModel) OnRemoveRows(slot func(super func(row int, count int, parent *qt.QModelIndex) bool, row int, count int, parent *qt.QModelIndex) bool)

func (*QSqlQueryModel) OnRevert

func (this *QSqlQueryModel) OnRevert(slot func(super func()))

func (*QSqlQueryModel) OnRoleNames

func (this *QSqlQueryModel) OnRoleNames(slot func(super func() map[int][]byte) map[int][]byte)

func (*QSqlQueryModel) OnRowCount

func (this *QSqlQueryModel) OnRowCount(slot func(super func(parent *qt.QModelIndex) int, parent *qt.QModelIndex) int)

func (*QSqlQueryModel) OnSetData

func (this *QSqlQueryModel) OnSetData(slot func(super func(index *qt.QModelIndex, value *qt.QVariant, role int) bool, index *qt.QModelIndex, value *qt.QVariant, role int) bool)

func (*QSqlQueryModel) OnSetHeaderData

func (this *QSqlQueryModel) OnSetHeaderData(slot func(super func(section int, orientation qt.Orientation, value *qt.QVariant, role int) bool, section int, orientation qt.Orientation, value *qt.QVariant, role int) bool)

func (*QSqlQueryModel) OnSetItemData

func (this *QSqlQueryModel) OnSetItemData(slot func(super func(index *qt.QModelIndex, roles map[int]qt.QVariant) bool, index *qt.QModelIndex, roles map[int]qt.QVariant) bool)

func (*QSqlQueryModel) OnSibling

func (this *QSqlQueryModel) OnSibling(slot func(super func(row int, column int, idx *qt.QModelIndex) *qt.QModelIndex, row int, column int, idx *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlQueryModel) OnSort

func (this *QSqlQueryModel) OnSort(slot func(super func(column int, order qt.SortOrder), column int, order qt.SortOrder))

func (*QSqlQueryModel) OnSpan

func (this *QSqlQueryModel) OnSpan(slot func(super func(index *qt.QModelIndex) *qt.QSize, index *qt.QModelIndex) *qt.QSize)

func (*QSqlQueryModel) OnSubmit

func (this *QSqlQueryModel) OnSubmit(slot func(super func() bool) bool)

func (*QSqlQueryModel) OnSupportedDragActions

func (this *QSqlQueryModel) OnSupportedDragActions(slot func(super func() qt.DropAction) qt.DropAction)

func (*QSqlQueryModel) OnSupportedDropActions

func (this *QSqlQueryModel) OnSupportedDropActions(slot func(super func() qt.DropAction) qt.DropAction)

func (*QSqlQueryModel) OnTimerEvent

func (this *QSqlQueryModel) OnTimerEvent(slot func(super func(event *qt.QTimerEvent), event *qt.QTimerEvent))

func (*QSqlQueryModel) PersistentIndexList

func (this *QSqlQueryModel) PersistentIndexList() []qt.QModelIndex

PersistentIndexList can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) Query

func (this *QSqlQueryModel) Query() *QSqlQuery

func (*QSqlQueryModel) Receivers

func (this *QSqlQueryModel) Receivers(signal string) int

Receivers can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) Record

func (this *QSqlQueryModel) Record(row int) *QSqlRecord

func (*QSqlQueryModel) Record2

func (this *QSqlQueryModel) Record2() *QSqlRecord

func (*QSqlQueryModel) RemoveColumns

func (this *QSqlQueryModel) RemoveColumns(column int, count int, parent *qt.QModelIndex) bool

func (*QSqlQueryModel) ResetInternalData

func (this *QSqlQueryModel) ResetInternalData()

ResetInternalData can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) RoleNames

func (this *QSqlQueryModel) RoleNames() map[int][]byte

func (*QSqlQueryModel) RowCount

func (this *QSqlQueryModel) RowCount(parent *qt.QModelIndex) int

func (*QSqlQueryModel) Sender

func (this *QSqlQueryModel) Sender() *qt.QObject

Sender can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) SenderSignalIndex

func (this *QSqlQueryModel) SenderSignalIndex() int

SenderSignalIndex can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) SetHeaderData

func (this *QSqlQueryModel) SetHeaderData(section int, orientation qt.Orientation, value *qt.QVariant, role int) bool

func (*QSqlQueryModel) SetLastError

func (this *QSqlQueryModel) SetLastError(error *QSqlError)

SetLastError can only be called from a QSqlQueryModel that was directly constructed.

func (*QSqlQueryModel) SetQuery

func (this *QSqlQueryModel) SetQuery(query *QSqlQuery)

func (*QSqlQueryModel) SetQuery2

func (this *QSqlQueryModel) SetQuery2(query string, db *QSqlDatabase)

func (*QSqlQueryModel) SetQueryWithQuery

func (this *QSqlQueryModel) SetQueryWithQuery(query string)

func (*QSqlQueryModel) UnsafePointer

func (this *QSqlQueryModel) UnsafePointer() unsafe.Pointer

type QSqlQuery__BatchExecutionMode

type QSqlQuery__BatchExecutionMode int
const (
	QSqlQuery__ValuesAsRows    QSqlQuery__BatchExecutionMode = 0
	QSqlQuery__ValuesAsColumns QSqlQuery__BatchExecutionMode = 1
)

type QSqlRecord

type QSqlRecord struct {
	// contains filtered or unexported fields
}

func NewQSqlRecord

func NewQSqlRecord() *QSqlRecord

NewQSqlRecord constructs a new QSqlRecord object.

func NewQSqlRecord2

func NewQSqlRecord2(other *QSqlRecord) *QSqlRecord

NewQSqlRecord2 constructs a new QSqlRecord object.

func UnsafeNewQSqlRecord

func UnsafeNewQSqlRecord(h unsafe.Pointer) *QSqlRecord

UnsafeNewQSqlRecord constructs the type using only unsafe pointers.

func (*QSqlRecord) Append

func (this *QSqlRecord) Append(field *QSqlField)

func (*QSqlRecord) Clear

func (this *QSqlRecord) Clear()

func (*QSqlRecord) ClearValues

func (this *QSqlRecord) ClearValues()

func (*QSqlRecord) Contains

func (this *QSqlRecord) Contains(name string) bool

func (*QSqlRecord) Count

func (this *QSqlRecord) Count() int

func (*QSqlRecord) Delete

func (this *QSqlRecord) Delete()

Delete this object from C++ memory.

func (*QSqlRecord) Field

func (this *QSqlRecord) Field(i int) *QSqlField

func (*QSqlRecord) FieldName

func (this *QSqlRecord) FieldName(i int) string

func (*QSqlRecord) FieldWithName

func (this *QSqlRecord) FieldWithName(name string) *QSqlField

func (*QSqlRecord) GoGC

func (this *QSqlRecord) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlRecord) IndexOf

func (this *QSqlRecord) IndexOf(name string) int

func (*QSqlRecord) Insert

func (this *QSqlRecord) Insert(pos int, field *QSqlField)

func (*QSqlRecord) IsEmpty

func (this *QSqlRecord) IsEmpty() bool

func (*QSqlRecord) IsGenerated

func (this *QSqlRecord) IsGenerated(i int) bool

func (*QSqlRecord) IsGeneratedWithName

func (this *QSqlRecord) IsGeneratedWithName(name string) bool

func (*QSqlRecord) IsNull

func (this *QSqlRecord) IsNull(i int) bool

func (*QSqlRecord) IsNullWithName

func (this *QSqlRecord) IsNullWithName(name string) bool

func (*QSqlRecord) KeyValues

func (this *QSqlRecord) KeyValues(keyFields *QSqlRecord) *QSqlRecord

func (*QSqlRecord) OperatorAssign

func (this *QSqlRecord) OperatorAssign(other *QSqlRecord)

func (*QSqlRecord) OperatorEqual

func (this *QSqlRecord) OperatorEqual(other *QSqlRecord) bool

func (*QSqlRecord) OperatorNotEqual

func (this *QSqlRecord) OperatorNotEqual(other *QSqlRecord) bool

func (*QSqlRecord) Remove

func (this *QSqlRecord) Remove(pos int)

func (*QSqlRecord) Replace

func (this *QSqlRecord) Replace(pos int, field *QSqlField)

func (*QSqlRecord) SetGenerated

func (this *QSqlRecord) SetGenerated(name string, generated bool)

func (*QSqlRecord) SetGenerated2

func (this *QSqlRecord) SetGenerated2(i int, generated bool)

func (*QSqlRecord) SetNull

func (this *QSqlRecord) SetNull(i int)

func (*QSqlRecord) SetNullWithName

func (this *QSqlRecord) SetNullWithName(name string)

func (*QSqlRecord) SetValue

func (this *QSqlRecord) SetValue(i int, val *qt.QVariant)

func (*QSqlRecord) SetValue2

func (this *QSqlRecord) SetValue2(name string, val *qt.QVariant)

func (*QSqlRecord) UnsafePointer

func (this *QSqlRecord) UnsafePointer() unsafe.Pointer

func (*QSqlRecord) Value

func (this *QSqlRecord) Value(i int) *qt.QVariant

func (*QSqlRecord) ValueWithName

func (this *QSqlRecord) ValueWithName(name string) *qt.QVariant

type QSqlRelation

type QSqlRelation struct {
	// contains filtered or unexported fields
}

func NewQSqlRelation

func NewQSqlRelation() *QSqlRelation

NewQSqlRelation constructs a new QSqlRelation object.

func NewQSqlRelation2

func NewQSqlRelation2(aTableName string, indexCol string, displayCol string) *QSqlRelation

NewQSqlRelation2 constructs a new QSqlRelation object.

func NewQSqlRelation3

func NewQSqlRelation3(param1 *QSqlRelation) *QSqlRelation

NewQSqlRelation3 constructs a new QSqlRelation object.

func UnsafeNewQSqlRelation

func UnsafeNewQSqlRelation(h unsafe.Pointer) *QSqlRelation

UnsafeNewQSqlRelation constructs the type using only unsafe pointers.

func (*QSqlRelation) Delete

func (this *QSqlRelation) Delete()

Delete this object from C++ memory.

func (*QSqlRelation) DisplayColumn

func (this *QSqlRelation) DisplayColumn() string

func (*QSqlRelation) GoGC

func (this *QSqlRelation) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlRelation) IndexColumn

func (this *QSqlRelation) IndexColumn() string

func (*QSqlRelation) IsValid

func (this *QSqlRelation) IsValid() bool

func (*QSqlRelation) OperatorAssign

func (this *QSqlRelation) OperatorAssign(param1 *QSqlRelation)

func (*QSqlRelation) Swap

func (this *QSqlRelation) Swap(other *QSqlRelation)

func (*QSqlRelation) TableName

func (this *QSqlRelation) TableName() string

func (*QSqlRelation) UnsafePointer

func (this *QSqlRelation) UnsafePointer() unsafe.Pointer

type QSqlRelationalTableModel

type QSqlRelationalTableModel struct {
	*QSqlTableModel
	// contains filtered or unexported fields
}

func NewQSqlRelationalTableModel

func NewQSqlRelationalTableModel() *QSqlRelationalTableModel

NewQSqlRelationalTableModel constructs a new QSqlRelationalTableModel object.

func NewQSqlRelationalTableModel2

func NewQSqlRelationalTableModel2(parent *qt.QObject) *QSqlRelationalTableModel

NewQSqlRelationalTableModel2 constructs a new QSqlRelationalTableModel object.

func NewQSqlRelationalTableModel3

func NewQSqlRelationalTableModel3(parent *qt.QObject, db QSqlDatabase) *QSqlRelationalTableModel

NewQSqlRelationalTableModel3 constructs a new QSqlRelationalTableModel object.

func UnsafeNewQSqlRelationalTableModel

func UnsafeNewQSqlRelationalTableModel(h unsafe.Pointer) *QSqlRelationalTableModel

UnsafeNewQSqlRelationalTableModel constructs the type using only unsafe pointers.

func (*QSqlRelationalTableModel) BeginInsertColumns

func (this *QSqlRelationalTableModel) BeginInsertColumns(parent *qt.QModelIndex, first int, last int)

BeginInsertColumns can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) BeginInsertRows

func (this *QSqlRelationalTableModel) BeginInsertRows(parent *qt.QModelIndex, first int, last int)

BeginInsertRows can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) BeginMoveColumns

func (this *QSqlRelationalTableModel) BeginMoveColumns(sourceParent *qt.QModelIndex, sourceFirst int, sourceLast int, destinationParent *qt.QModelIndex, destinationColumn int) bool

BeginMoveColumns can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) BeginMoveRows

func (this *QSqlRelationalTableModel) BeginMoveRows(sourceParent *qt.QModelIndex, sourceFirst int, sourceLast int, destinationParent *qt.QModelIndex, destinationRow int) bool

BeginMoveRows can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) BeginRemoveColumns

func (this *QSqlRelationalTableModel) BeginRemoveColumns(parent *qt.QModelIndex, first int, last int)

BeginRemoveColumns can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) BeginRemoveRows

func (this *QSqlRelationalTableModel) BeginRemoveRows(parent *qt.QModelIndex, first int, last int)

BeginRemoveRows can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) BeginResetModel

func (this *QSqlRelationalTableModel) BeginResetModel()

BeginResetModel can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) ChangePersistentIndex

func (this *QSqlRelationalTableModel) ChangePersistentIndex(from *qt.QModelIndex, to *qt.QModelIndex)

ChangePersistentIndex can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) ChangePersistentIndexList

func (this *QSqlRelationalTableModel) ChangePersistentIndexList(from []qt.QModelIndex, to []qt.QModelIndex)

ChangePersistentIndexList can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) Clear

func (this *QSqlRelationalTableModel) Clear()

func (*QSqlRelationalTableModel) CreateIndex

func (this *QSqlRelationalTableModel) CreateIndex(row int, column int) qt.QModelIndex

CreateIndex can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) Data

func (this *QSqlRelationalTableModel) Data(item *qt.QModelIndex, role int) *qt.QVariant

func (*QSqlRelationalTableModel) DecodeData

func (this *QSqlRelationalTableModel) DecodeData(row int, column int, parent *qt.QModelIndex, stream *qt.QDataStream) bool

DecodeData can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) Delete

func (this *QSqlRelationalTableModel) Delete()

Delete this object from C++ memory.

func (*QSqlRelationalTableModel) EncodeData

func (this *QSqlRelationalTableModel) EncodeData(indexes []qt.QModelIndex, stream *qt.QDataStream)

EncodeData can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) EndInsertColumns

func (this *QSqlRelationalTableModel) EndInsertColumns()

EndInsertColumns can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) EndInsertRows

func (this *QSqlRelationalTableModel) EndInsertRows()

EndInsertRows can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) EndMoveColumns

func (this *QSqlRelationalTableModel) EndMoveColumns()

EndMoveColumns can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) EndMoveRows

func (this *QSqlRelationalTableModel) EndMoveRows()

EndMoveRows can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) EndRemoveColumns

func (this *QSqlRelationalTableModel) EndRemoveColumns()

EndRemoveColumns can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) EndRemoveRows

func (this *QSqlRelationalTableModel) EndRemoveRows()

EndRemoveRows can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) EndResetModel

func (this *QSqlRelationalTableModel) EndResetModel()

EndResetModel can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) GoGC

func (this *QSqlRelationalTableModel) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlRelationalTableModel) IsSignalConnected

func (this *QSqlRelationalTableModel) IsSignalConnected(signal *qt.QMetaMethod) bool

IsSignalConnected can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) MetaObject

func (this *QSqlRelationalTableModel) MetaObject() *qt.QMetaObject

func (*QSqlRelationalTableModel) Metacast

func (this *QSqlRelationalTableModel) Metacast(param1 string) unsafe.Pointer

func (*QSqlRelationalTableModel) OnBuddy

func (this *QSqlRelationalTableModel) OnBuddy(slot func(super func(index *qt.QModelIndex) *qt.QModelIndex, index *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlRelationalTableModel) OnCanDropMimeData

func (this *QSqlRelationalTableModel) OnCanDropMimeData(slot func(super func(data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool, data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool)

func (*QSqlRelationalTableModel) OnCanFetchMore

func (this *QSqlRelationalTableModel) OnCanFetchMore(slot func(super func(parent *qt.QModelIndex) bool, parent *qt.QModelIndex) bool)

func (*QSqlRelationalTableModel) OnChildEvent

func (this *QSqlRelationalTableModel) OnChildEvent(slot func(super func(event *qt.QChildEvent), event *qt.QChildEvent))

func (*QSqlRelationalTableModel) OnClear

func (this *QSqlRelationalTableModel) OnClear(slot func(super func()))

func (*QSqlRelationalTableModel) OnColumnCount

func (this *QSqlRelationalTableModel) OnColumnCount(slot func(super func(parent *qt.QModelIndex) int, parent *qt.QModelIndex) int)

func (*QSqlRelationalTableModel) OnConnectNotify

func (this *QSqlRelationalTableModel) OnConnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlRelationalTableModel) OnCustomEvent

func (this *QSqlRelationalTableModel) OnCustomEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))

func (*QSqlRelationalTableModel) OnData

func (this *QSqlRelationalTableModel) OnData(slot func(super func(item *qt.QModelIndex, role int) *qt.QVariant, item *qt.QModelIndex, role int) *qt.QVariant)

func (*QSqlRelationalTableModel) OnDeleteRowFromTable

func (this *QSqlRelationalTableModel) OnDeleteRowFromTable(slot func(super func(row int) bool, row int) bool)

func (*QSqlRelationalTableModel) OnDisconnectNotify

func (this *QSqlRelationalTableModel) OnDisconnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlRelationalTableModel) OnDropMimeData

func (this *QSqlRelationalTableModel) OnDropMimeData(slot func(super func(data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool, data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool)

func (*QSqlRelationalTableModel) OnEvent

func (this *QSqlRelationalTableModel) OnEvent(slot func(super func(event *qt.QEvent) bool, event *qt.QEvent) bool)

func (*QSqlRelationalTableModel) OnEventFilter

func (this *QSqlRelationalTableModel) OnEventFilter(slot func(super func(watched *qt.QObject, event *qt.QEvent) bool, watched *qt.QObject, event *qt.QEvent) bool)

func (*QSqlRelationalTableModel) OnFetchMore

func (this *QSqlRelationalTableModel) OnFetchMore(slot func(super func(parent *qt.QModelIndex), parent *qt.QModelIndex))

func (*QSqlRelationalTableModel) OnFlags

func (this *QSqlRelationalTableModel) OnFlags(slot func(super func(index *qt.QModelIndex) qt.ItemFlag, index *qt.QModelIndex) qt.ItemFlag)

func (*QSqlRelationalTableModel) OnHeaderData

func (this *QSqlRelationalTableModel) OnHeaderData(slot func(super func(section int, orientation qt.Orientation, role int) *qt.QVariant, section int, orientation qt.Orientation, role int) *qt.QVariant)

func (*QSqlRelationalTableModel) OnIndex

func (this *QSqlRelationalTableModel) OnIndex(slot func(super func(row int, column int, parent *qt.QModelIndex) *qt.QModelIndex, row int, column int, parent *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlRelationalTableModel) OnIndexInQuery

func (this *QSqlRelationalTableModel) OnIndexInQuery(slot func(super func(item *qt.QModelIndex) *qt.QModelIndex, item *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlRelationalTableModel) OnInsertColumns

func (this *QSqlRelationalTableModel) OnInsertColumns(slot func(super func(column int, count int, parent *qt.QModelIndex) bool, column int, count int, parent *qt.QModelIndex) bool)

func (*QSqlRelationalTableModel) OnInsertRowIntoTable

func (this *QSqlRelationalTableModel) OnInsertRowIntoTable(slot func(super func(values *QSqlRecord) bool, values *QSqlRecord) bool)

func (*QSqlRelationalTableModel) OnInsertRows

func (this *QSqlRelationalTableModel) OnInsertRows(slot func(super func(row int, count int, parent *qt.QModelIndex) bool, row int, count int, parent *qt.QModelIndex) bool)

func (*QSqlRelationalTableModel) OnItemData

func (this *QSqlRelationalTableModel) OnItemData(slot func(super func(index *qt.QModelIndex) map[int]qt.QVariant, index *qt.QModelIndex) map[int]qt.QVariant)

func (*QSqlRelationalTableModel) OnMatch

func (this *QSqlRelationalTableModel) OnMatch(slot func(super func(start *qt.QModelIndex, role int, value *qt.QVariant, hits int, flags qt.MatchFlag) []qt.QModelIndex, start *qt.QModelIndex, role int, value *qt.QVariant, hits int, flags qt.MatchFlag) []qt.QModelIndex)

func (*QSqlRelationalTableModel) OnMimeData

func (this *QSqlRelationalTableModel) OnMimeData(slot func(super func(indexes []qt.QModelIndex) *qt.QMimeData, indexes []qt.QModelIndex) *qt.QMimeData)

func (*QSqlRelationalTableModel) OnMimeTypes

func (this *QSqlRelationalTableModel) OnMimeTypes(slot func(super func() []string) []string)

func (*QSqlRelationalTableModel) OnMoveColumns

func (this *QSqlRelationalTableModel) OnMoveColumns(slot func(super func(sourceParent *qt.QModelIndex, sourceColumn int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool, sourceParent *qt.QModelIndex, sourceColumn int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool)

func (*QSqlRelationalTableModel) OnMoveRows

func (this *QSqlRelationalTableModel) OnMoveRows(slot func(super func(sourceParent *qt.QModelIndex, sourceRow int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool, sourceParent *qt.QModelIndex, sourceRow int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool)

func (*QSqlRelationalTableModel) OnOrderByClause

func (this *QSqlRelationalTableModel) OnOrderByClause(slot func(super func() string) string)

func (*QSqlRelationalTableModel) OnQueryChange

func (this *QSqlRelationalTableModel) OnQueryChange(slot func(super func()))

func (*QSqlRelationalTableModel) OnRelationModel

func (this *QSqlRelationalTableModel) OnRelationModel(slot func(super func(column int) *QSqlTableModel, column int) *QSqlTableModel)

func (*QSqlRelationalTableModel) OnRemoveColumns

func (this *QSqlRelationalTableModel) OnRemoveColumns(slot func(super func(column int, count int, parent *qt.QModelIndex) bool, column int, count int, parent *qt.QModelIndex) bool)

func (*QSqlRelationalTableModel) OnRemoveRows

func (this *QSqlRelationalTableModel) OnRemoveRows(slot func(super func(row int, count int, parent *qt.QModelIndex) bool, row int, count int, parent *qt.QModelIndex) bool)

func (*QSqlRelationalTableModel) OnRevert

func (this *QSqlRelationalTableModel) OnRevert(slot func(super func()))

func (*QSqlRelationalTableModel) OnRevertRow

func (this *QSqlRelationalTableModel) OnRevertRow(slot func(super func(row int), row int))

func (*QSqlRelationalTableModel) OnRoleNames

func (this *QSqlRelationalTableModel) OnRoleNames(slot func(super func() map[int][]byte) map[int][]byte)

func (*QSqlRelationalTableModel) OnRowCount

func (this *QSqlRelationalTableModel) OnRowCount(slot func(super func(parent *qt.QModelIndex) int, parent *qt.QModelIndex) int)

func (*QSqlRelationalTableModel) OnSelect

func (this *QSqlRelationalTableModel) OnSelect(slot func(super func() bool) bool)

func (*QSqlRelationalTableModel) OnSelectRow

func (this *QSqlRelationalTableModel) OnSelectRow(slot func(super func(row int) bool, row int) bool)

func (*QSqlRelationalTableModel) OnSelectStatement

func (this *QSqlRelationalTableModel) OnSelectStatement(slot func(super func() string) string)

func (*QSqlRelationalTableModel) OnSetData

func (this *QSqlRelationalTableModel) OnSetData(slot func(super func(item *qt.QModelIndex, value *qt.QVariant, role int) bool, item *qt.QModelIndex, value *qt.QVariant, role int) bool)

func (*QSqlRelationalTableModel) OnSetEditStrategy

func (this *QSqlRelationalTableModel) OnSetEditStrategy(slot func(super func(strategy QSqlTableModel__EditStrategy), strategy QSqlTableModel__EditStrategy))

func (*QSqlRelationalTableModel) OnSetFilter

func (this *QSqlRelationalTableModel) OnSetFilter(slot func(super func(filter string), filter string))

func (*QSqlRelationalTableModel) OnSetHeaderData

func (this *QSqlRelationalTableModel) OnSetHeaderData(slot func(super func(section int, orientation qt.Orientation, value *qt.QVariant, role int) bool, section int, orientation qt.Orientation, value *qt.QVariant, role int) bool)

func (*QSqlRelationalTableModel) OnSetItemData

func (this *QSqlRelationalTableModel) OnSetItemData(slot func(super func(index *qt.QModelIndex, roles map[int]qt.QVariant) bool, index *qt.QModelIndex, roles map[int]qt.QVariant) bool)

func (*QSqlRelationalTableModel) OnSetRelation

func (this *QSqlRelationalTableModel) OnSetRelation(slot func(super func(column int, relation *QSqlRelation), column int, relation *QSqlRelation))

func (*QSqlRelationalTableModel) OnSetSort

func (this *QSqlRelationalTableModel) OnSetSort(slot func(super func(column int, order qt.SortOrder), column int, order qt.SortOrder))

func (*QSqlRelationalTableModel) OnSetTable

func (this *QSqlRelationalTableModel) OnSetTable(slot func(super func(tableName string), tableName string))

func (*QSqlRelationalTableModel) OnSibling

func (this *QSqlRelationalTableModel) OnSibling(slot func(super func(row int, column int, idx *qt.QModelIndex) *qt.QModelIndex, row int, column int, idx *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlRelationalTableModel) OnSort

func (this *QSqlRelationalTableModel) OnSort(slot func(super func(column int, order qt.SortOrder), column int, order qt.SortOrder))

func (*QSqlRelationalTableModel) OnSpan

func (this *QSqlRelationalTableModel) OnSpan(slot func(super func(index *qt.QModelIndex) *qt.QSize, index *qt.QModelIndex) *qt.QSize)

func (*QSqlRelationalTableModel) OnSubmit

func (this *QSqlRelationalTableModel) OnSubmit(slot func(super func() bool) bool)

func (*QSqlRelationalTableModel) OnSupportedDragActions

func (this *QSqlRelationalTableModel) OnSupportedDragActions(slot func(super func() qt.DropAction) qt.DropAction)

func (*QSqlRelationalTableModel) OnSupportedDropActions

func (this *QSqlRelationalTableModel) OnSupportedDropActions(slot func(super func() qt.DropAction) qt.DropAction)

func (*QSqlRelationalTableModel) OnTimerEvent

func (this *QSqlRelationalTableModel) OnTimerEvent(slot func(super func(event *qt.QTimerEvent), event *qt.QTimerEvent))

func (*QSqlRelationalTableModel) OnUpdateRowInTable

func (this *QSqlRelationalTableModel) OnUpdateRowInTable(slot func(super func(row int, values *QSqlRecord) bool, row int, values *QSqlRecord) bool)

func (*QSqlRelationalTableModel) PersistentIndexList

func (this *QSqlRelationalTableModel) PersistentIndexList() []qt.QModelIndex

PersistentIndexList can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) PrimaryValues

func (this *QSqlRelationalTableModel) PrimaryValues(row int) QSqlRecord

PrimaryValues can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) Receivers

func (this *QSqlRelationalTableModel) Receivers(signal string) int

Receivers can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) Relation

func (this *QSqlRelationalTableModel) Relation(column int) *QSqlRelation

func (*QSqlRelationalTableModel) RelationModel

func (this *QSqlRelationalTableModel) RelationModel(column int) *QSqlTableModel

func (*QSqlRelationalTableModel) RemoveColumns

func (this *QSqlRelationalTableModel) RemoveColumns(column int, count int, parent *qt.QModelIndex) bool

func (*QSqlRelationalTableModel) ResetInternalData

func (this *QSqlRelationalTableModel) ResetInternalData()

ResetInternalData can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) RevertRow

func (this *QSqlRelationalTableModel) RevertRow(row int)

func (*QSqlRelationalTableModel) Select

func (this *QSqlRelationalTableModel) Select() bool

func (*QSqlRelationalTableModel) Sender

func (this *QSqlRelationalTableModel) Sender() *qt.QObject

Sender can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) SenderSignalIndex

func (this *QSqlRelationalTableModel) SenderSignalIndex() int

SenderSignalIndex can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) SetData

func (this *QSqlRelationalTableModel) SetData(item *qt.QModelIndex, value *qt.QVariant, role int) bool

func (*QSqlRelationalTableModel) SetJoinMode

func (*QSqlRelationalTableModel) SetLastError

func (this *QSqlRelationalTableModel) SetLastError(error *QSqlError)

SetLastError can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) SetPrimaryKey

func (this *QSqlRelationalTableModel) SetPrimaryKey(key *QSqlIndex)

SetPrimaryKey can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) SetQuery

func (this *QSqlRelationalTableModel) SetQuery(query *QSqlQuery)

SetQuery can only be called from a QSqlRelationalTableModel that was directly constructed.

func (*QSqlRelationalTableModel) SetRelation

func (this *QSqlRelationalTableModel) SetRelation(column int, relation *QSqlRelation)

func (*QSqlRelationalTableModel) SetTable

func (this *QSqlRelationalTableModel) SetTable(tableName string)

func (*QSqlRelationalTableModel) UnsafePointer

func (this *QSqlRelationalTableModel) UnsafePointer() unsafe.Pointer

type QSqlRelationalTableModel__JoinMode

type QSqlRelationalTableModel__JoinMode int
const (
	QSqlRelationalTableModel__InnerJoin QSqlRelationalTableModel__JoinMode = 0
	QSqlRelationalTableModel__LeftJoin  QSqlRelationalTableModel__JoinMode = 1
)

type QSqlResult

type QSqlResult struct {
	// contains filtered or unexported fields
}

func UnsafeNewQSqlResult

func UnsafeNewQSqlResult(h unsafe.Pointer) *QSqlResult

UnsafeNewQSqlResult constructs the type using only unsafe pointers.

func (*QSqlResult) Delete

func (this *QSqlResult) Delete()

Delete this object from C++ memory.

func (*QSqlResult) GoGC

func (this *QSqlResult) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlResult) Handle

func (this *QSqlResult) Handle() *qt.QVariant

func (*QSqlResult) UnsafePointer

func (this *QSqlResult) UnsafePointer() unsafe.Pointer

type QSqlResult__BindingSyntax

type QSqlResult__BindingSyntax int
const (
	QSqlResult__PositionalBinding QSqlResult__BindingSyntax = 0
	QSqlResult__NamedBinding      QSqlResult__BindingSyntax = 1
)

type QSqlTableModel

type QSqlTableModel struct {
	*QSqlQueryModel
	// contains filtered or unexported fields
}

func NewQSqlTableModel

func NewQSqlTableModel() *QSqlTableModel

NewQSqlTableModel constructs a new QSqlTableModel object.

func NewQSqlTableModel2

func NewQSqlTableModel2(parent *qt.QObject) *QSqlTableModel

NewQSqlTableModel2 constructs a new QSqlTableModel object.

func NewQSqlTableModel3

func NewQSqlTableModel3(parent *qt.QObject, db QSqlDatabase) *QSqlTableModel

NewQSqlTableModel3 constructs a new QSqlTableModel object.

func UnsafeNewQSqlTableModel

func UnsafeNewQSqlTableModel(h unsafe.Pointer) *QSqlTableModel

UnsafeNewQSqlTableModel constructs the type using only unsafe pointers.

func (*QSqlTableModel) BeforeDelete

func (this *QSqlTableModel) BeforeDelete(row int)

func (*QSqlTableModel) BeforeInsert

func (this *QSqlTableModel) BeforeInsert(record *QSqlRecord)

func (*QSqlTableModel) BeforeUpdate

func (this *QSqlTableModel) BeforeUpdate(row int, record *QSqlRecord)

func (*QSqlTableModel) BeginInsertColumns

func (this *QSqlTableModel) BeginInsertColumns(parent *qt.QModelIndex, first int, last int)

BeginInsertColumns can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) BeginInsertRows

func (this *QSqlTableModel) BeginInsertRows(parent *qt.QModelIndex, first int, last int)

BeginInsertRows can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) BeginMoveColumns

func (this *QSqlTableModel) BeginMoveColumns(sourceParent *qt.QModelIndex, sourceFirst int, sourceLast int, destinationParent *qt.QModelIndex, destinationColumn int) bool

BeginMoveColumns can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) BeginMoveRows

func (this *QSqlTableModel) BeginMoveRows(sourceParent *qt.QModelIndex, sourceFirst int, sourceLast int, destinationParent *qt.QModelIndex, destinationRow int) bool

BeginMoveRows can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) BeginRemoveColumns

func (this *QSqlTableModel) BeginRemoveColumns(parent *qt.QModelIndex, first int, last int)

BeginRemoveColumns can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) BeginRemoveRows

func (this *QSqlTableModel) BeginRemoveRows(parent *qt.QModelIndex, first int, last int)

BeginRemoveRows can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) BeginResetModel

func (this *QSqlTableModel) BeginResetModel()

BeginResetModel can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) ChangePersistentIndex

func (this *QSqlTableModel) ChangePersistentIndex(from *qt.QModelIndex, to *qt.QModelIndex)

ChangePersistentIndex can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) ChangePersistentIndexList

func (this *QSqlTableModel) ChangePersistentIndexList(from []qt.QModelIndex, to []qt.QModelIndex)

ChangePersistentIndexList can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) Clear

func (this *QSqlTableModel) Clear()

func (*QSqlTableModel) CreateIndex

func (this *QSqlTableModel) CreateIndex(row int, column int) qt.QModelIndex

CreateIndex can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) Data

func (this *QSqlTableModel) Data(idx *qt.QModelIndex, role int) *qt.QVariant

func (*QSqlTableModel) Database

func (this *QSqlTableModel) Database() *QSqlDatabase

func (*QSqlTableModel) DecodeData

func (this *QSqlTableModel) DecodeData(row int, column int, parent *qt.QModelIndex, stream *qt.QDataStream) bool

DecodeData can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) Delete

func (this *QSqlTableModel) Delete()

Delete this object from C++ memory.

func (*QSqlTableModel) EditStrategy

func (this *QSqlTableModel) EditStrategy() QSqlTableModel__EditStrategy

func (*QSqlTableModel) EncodeData

func (this *QSqlTableModel) EncodeData(indexes []qt.QModelIndex, stream *qt.QDataStream)

EncodeData can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) EndInsertColumns

func (this *QSqlTableModel) EndInsertColumns()

EndInsertColumns can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) EndInsertRows

func (this *QSqlTableModel) EndInsertRows()

EndInsertRows can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) EndMoveColumns

func (this *QSqlTableModel) EndMoveColumns()

EndMoveColumns can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) EndMoveRows

func (this *QSqlTableModel) EndMoveRows()

EndMoveRows can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) EndRemoveColumns

func (this *QSqlTableModel) EndRemoveColumns()

EndRemoveColumns can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) EndRemoveRows

func (this *QSqlTableModel) EndRemoveRows()

EndRemoveRows can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) EndResetModel

func (this *QSqlTableModel) EndResetModel()

EndResetModel can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) FieldIndex

func (this *QSqlTableModel) FieldIndex(fieldName string) int

func (*QSqlTableModel) Filter

func (this *QSqlTableModel) Filter() string

func (*QSqlTableModel) Flags

func (this *QSqlTableModel) Flags(index *qt.QModelIndex) qt.ItemFlag

func (*QSqlTableModel) GoGC

func (this *QSqlTableModel) GoGC()

GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.

func (*QSqlTableModel) HeaderData

func (this *QSqlTableModel) HeaderData(section int, orientation qt.Orientation, role int) *qt.QVariant

func (*QSqlTableModel) InsertRecord

func (this *QSqlTableModel) InsertRecord(row int, record *QSqlRecord) bool

func (*QSqlTableModel) InsertRows

func (this *QSqlTableModel) InsertRows(row int, count int, parent *qt.QModelIndex) bool

func (*QSqlTableModel) IsDirty

func (this *QSqlTableModel) IsDirty() bool

func (*QSqlTableModel) IsDirtyWithIndex

func (this *QSqlTableModel) IsDirtyWithIndex(index *qt.QModelIndex) bool

func (*QSqlTableModel) IsSignalConnected

func (this *QSqlTableModel) IsSignalConnected(signal *qt.QMetaMethod) bool

IsSignalConnected can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) MetaObject

func (this *QSqlTableModel) MetaObject() *qt.QMetaObject

func (*QSqlTableModel) Metacast

func (this *QSqlTableModel) Metacast(param1 string) unsafe.Pointer

func (*QSqlTableModel) OnBeforeDelete

func (this *QSqlTableModel) OnBeforeDelete(slot func(row int))

func (*QSqlTableModel) OnBeforeInsert

func (this *QSqlTableModel) OnBeforeInsert(slot func(record *QSqlRecord))

func (*QSqlTableModel) OnBeforeUpdate

func (this *QSqlTableModel) OnBeforeUpdate(slot func(row int, record *QSqlRecord))

func (*QSqlTableModel) OnBuddy

func (this *QSqlTableModel) OnBuddy(slot func(super func(index *qt.QModelIndex) *qt.QModelIndex, index *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlTableModel) OnCanDropMimeData

func (this *QSqlTableModel) OnCanDropMimeData(slot func(super func(data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool, data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool)

func (*QSqlTableModel) OnCanFetchMore

func (this *QSqlTableModel) OnCanFetchMore(slot func(super func(parent *qt.QModelIndex) bool, parent *qt.QModelIndex) bool)

func (*QSqlTableModel) OnChildEvent

func (this *QSqlTableModel) OnChildEvent(slot func(super func(event *qt.QChildEvent), event *qt.QChildEvent))

func (*QSqlTableModel) OnClear

func (this *QSqlTableModel) OnClear(slot func(super func()))

func (*QSqlTableModel) OnColumnCount

func (this *QSqlTableModel) OnColumnCount(slot func(super func(parent *qt.QModelIndex) int, parent *qt.QModelIndex) int)

func (*QSqlTableModel) OnConnectNotify

func (this *QSqlTableModel) OnConnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlTableModel) OnCustomEvent

func (this *QSqlTableModel) OnCustomEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))

func (*QSqlTableModel) OnData

func (this *QSqlTableModel) OnData(slot func(super func(idx *qt.QModelIndex, role int) *qt.QVariant, idx *qt.QModelIndex, role int) *qt.QVariant)

func (*QSqlTableModel) OnDeleteRowFromTable

func (this *QSqlTableModel) OnDeleteRowFromTable(slot func(super func(row int) bool, row int) bool)

func (*QSqlTableModel) OnDisconnectNotify

func (this *QSqlTableModel) OnDisconnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))

func (*QSqlTableModel) OnDropMimeData

func (this *QSqlTableModel) OnDropMimeData(slot func(super func(data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool, data *qt.QMimeData, action qt.DropAction, row int, column int, parent *qt.QModelIndex) bool)

func (*QSqlTableModel) OnEvent

func (this *QSqlTableModel) OnEvent(slot func(super func(event *qt.QEvent) bool, event *qt.QEvent) bool)

func (*QSqlTableModel) OnEventFilter

func (this *QSqlTableModel) OnEventFilter(slot func(super func(watched *qt.QObject, event *qt.QEvent) bool, watched *qt.QObject, event *qt.QEvent) bool)

func (*QSqlTableModel) OnFetchMore

func (this *QSqlTableModel) OnFetchMore(slot func(super func(parent *qt.QModelIndex), parent *qt.QModelIndex))

func (*QSqlTableModel) OnFlags

func (this *QSqlTableModel) OnFlags(slot func(super func(index *qt.QModelIndex) qt.ItemFlag, index *qt.QModelIndex) qt.ItemFlag)

func (*QSqlTableModel) OnHeaderData

func (this *QSqlTableModel) OnHeaderData(slot func(super func(section int, orientation qt.Orientation, role int) *qt.QVariant, section int, orientation qt.Orientation, role int) *qt.QVariant)

func (*QSqlTableModel) OnIndex

func (this *QSqlTableModel) OnIndex(slot func(super func(row int, column int, parent *qt.QModelIndex) *qt.QModelIndex, row int, column int, parent *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlTableModel) OnIndexInQuery

func (this *QSqlTableModel) OnIndexInQuery(slot func(super func(item *qt.QModelIndex) *qt.QModelIndex, item *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlTableModel) OnInsertColumns

func (this *QSqlTableModel) OnInsertColumns(slot func(super func(column int, count int, parent *qt.QModelIndex) bool, column int, count int, parent *qt.QModelIndex) bool)

func (*QSqlTableModel) OnInsertRowIntoTable

func (this *QSqlTableModel) OnInsertRowIntoTable(slot func(super func(values *QSqlRecord) bool, values *QSqlRecord) bool)

func (*QSqlTableModel) OnInsertRows

func (this *QSqlTableModel) OnInsertRows(slot func(super func(row int, count int, parent *qt.QModelIndex) bool, row int, count int, parent *qt.QModelIndex) bool)

func (*QSqlTableModel) OnItemData

func (this *QSqlTableModel) OnItemData(slot func(super func(index *qt.QModelIndex) map[int]qt.QVariant, index *qt.QModelIndex) map[int]qt.QVariant)

func (*QSqlTableModel) OnMatch

func (this *QSqlTableModel) OnMatch(slot func(super func(start *qt.QModelIndex, role int, value *qt.QVariant, hits int, flags qt.MatchFlag) []qt.QModelIndex, start *qt.QModelIndex, role int, value *qt.QVariant, hits int, flags qt.MatchFlag) []qt.QModelIndex)

func (*QSqlTableModel) OnMimeData

func (this *QSqlTableModel) OnMimeData(slot func(super func(indexes []qt.QModelIndex) *qt.QMimeData, indexes []qt.QModelIndex) *qt.QMimeData)

func (*QSqlTableModel) OnMimeTypes

func (this *QSqlTableModel) OnMimeTypes(slot func(super func() []string) []string)

func (*QSqlTableModel) OnMoveColumns

func (this *QSqlTableModel) OnMoveColumns(slot func(super func(sourceParent *qt.QModelIndex, sourceColumn int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool, sourceParent *qt.QModelIndex, sourceColumn int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool)

func (*QSqlTableModel) OnMoveRows

func (this *QSqlTableModel) OnMoveRows(slot func(super func(sourceParent *qt.QModelIndex, sourceRow int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool, sourceParent *qt.QModelIndex, sourceRow int, count int, destinationParent *qt.QModelIndex, destinationChild int) bool)

func (*QSqlTableModel) OnOrderByClause

func (this *QSqlTableModel) OnOrderByClause(slot func(super func() string) string)

func (*QSqlTableModel) OnPrimeInsert

func (this *QSqlTableModel) OnPrimeInsert(slot func(row int, record *QSqlRecord))

func (*QSqlTableModel) OnQueryChange

func (this *QSqlTableModel) OnQueryChange(slot func(super func()))

func (*QSqlTableModel) OnRemoveColumns

func (this *QSqlTableModel) OnRemoveColumns(slot func(super func(column int, count int, parent *qt.QModelIndex) bool, column int, count int, parent *qt.QModelIndex) bool)

func (*QSqlTableModel) OnRemoveRows

func (this *QSqlTableModel) OnRemoveRows(slot func(super func(row int, count int, parent *qt.QModelIndex) bool, row int, count int, parent *qt.QModelIndex) bool)

func (*QSqlTableModel) OnRevert

func (this *QSqlTableModel) OnRevert(slot func(super func()))

func (*QSqlTableModel) OnRevertRow

func (this *QSqlTableModel) OnRevertRow(slot func(super func(row int), row int))

func (*QSqlTableModel) OnRoleNames

func (this *QSqlTableModel) OnRoleNames(slot func(super func() map[int][]byte) map[int][]byte)

func (*QSqlTableModel) OnRowCount

func (this *QSqlTableModel) OnRowCount(slot func(super func(parent *qt.QModelIndex) int, parent *qt.QModelIndex) int)

func (*QSqlTableModel) OnSelect

func (this *QSqlTableModel) OnSelect(slot func(super func() bool) bool)

func (*QSqlTableModel) OnSelectRow

func (this *QSqlTableModel) OnSelectRow(slot func(super func(row int) bool, row int) bool)

func (*QSqlTableModel) OnSelectStatement

func (this *QSqlTableModel) OnSelectStatement(slot func(super func() string) string)

func (*QSqlTableModel) OnSetData

func (this *QSqlTableModel) OnSetData(slot func(super func(index *qt.QModelIndex, value *qt.QVariant, role int) bool, index *qt.QModelIndex, value *qt.QVariant, role int) bool)

func (*QSqlTableModel) OnSetEditStrategy

func (this *QSqlTableModel) OnSetEditStrategy(slot func(super func(strategy QSqlTableModel__EditStrategy), strategy QSqlTableModel__EditStrategy))

func (*QSqlTableModel) OnSetFilter

func (this *QSqlTableModel) OnSetFilter(slot func(super func(filter string), filter string))

func (*QSqlTableModel) OnSetHeaderData

func (this *QSqlTableModel) OnSetHeaderData(slot func(super func(section int, orientation qt.Orientation, value *qt.QVariant, role int) bool, section int, orientation qt.Orientation, value *qt.QVariant, role int) bool)

func (*QSqlTableModel) OnSetItemData

func (this *QSqlTableModel) OnSetItemData(slot func(super func(index *qt.QModelIndex, roles map[int]qt.QVariant) bool, index *qt.QModelIndex, roles map[int]qt.QVariant) bool)

func (*QSqlTableModel) OnSetSort

func (this *QSqlTableModel) OnSetSort(slot func(super func(column int, order qt.SortOrder), column int, order qt.SortOrder))

func (*QSqlTableModel) OnSetTable

func (this *QSqlTableModel) OnSetTable(slot func(super func(tableName string), tableName string))

func (*QSqlTableModel) OnSibling

func (this *QSqlTableModel) OnSibling(slot func(super func(row int, column int, idx *qt.QModelIndex) *qt.QModelIndex, row int, column int, idx *qt.QModelIndex) *qt.QModelIndex)

func (*QSqlTableModel) OnSort

func (this *QSqlTableModel) OnSort(slot func(super func(column int, order qt.SortOrder), column int, order qt.SortOrder))

func (*QSqlTableModel) OnSpan

func (this *QSqlTableModel) OnSpan(slot func(super func(index *qt.QModelIndex) *qt.QSize, index *qt.QModelIndex) *qt.QSize)

func (*QSqlTableModel) OnSubmit

func (this *QSqlTableModel) OnSubmit(slot func(super func() bool) bool)

func (*QSqlTableModel) OnSupportedDragActions

func (this *QSqlTableModel) OnSupportedDragActions(slot func(super func() qt.DropAction) qt.DropAction)

func (*QSqlTableModel) OnSupportedDropActions

func (this *QSqlTableModel) OnSupportedDropActions(slot func(super func() qt.DropAction) qt.DropAction)

func (*QSqlTableModel) OnTimerEvent

func (this *QSqlTableModel) OnTimerEvent(slot func(super func(event *qt.QTimerEvent), event *qt.QTimerEvent))

func (*QSqlTableModel) OnUpdateRowInTable

func (this *QSqlTableModel) OnUpdateRowInTable(slot func(super func(row int, values *QSqlRecord) bool, row int, values *QSqlRecord) bool)

func (*QSqlTableModel) PersistentIndexList

func (this *QSqlTableModel) PersistentIndexList() []qt.QModelIndex

PersistentIndexList can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) PrimaryKey

func (this *QSqlTableModel) PrimaryKey() *QSqlIndex

func (*QSqlTableModel) PrimaryValues

func (this *QSqlTableModel) PrimaryValues(row int) QSqlRecord

PrimaryValues can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) PrimeInsert

func (this *QSqlTableModel) PrimeInsert(row int, record *QSqlRecord)

func (*QSqlTableModel) Receivers

func (this *QSqlTableModel) Receivers(signal string) int

Receivers can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) Record

func (this *QSqlTableModel) Record() *QSqlRecord

func (*QSqlTableModel) RecordWithRow

func (this *QSqlTableModel) RecordWithRow(row int) *QSqlRecord

func (*QSqlTableModel) RemoveColumns

func (this *QSqlTableModel) RemoveColumns(column int, count int, parent *qt.QModelIndex) bool

func (*QSqlTableModel) RemoveRows

func (this *QSqlTableModel) RemoveRows(row int, count int, parent *qt.QModelIndex) bool

func (*QSqlTableModel) ResetInternalData

func (this *QSqlTableModel) ResetInternalData()

ResetInternalData can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) Revert

func (this *QSqlTableModel) Revert()

func (*QSqlTableModel) RevertAll

func (this *QSqlTableModel) RevertAll()

func (*QSqlTableModel) RevertRow

func (this *QSqlTableModel) RevertRow(row int)

func (*QSqlTableModel) RowCount

func (this *QSqlTableModel) RowCount(parent *qt.QModelIndex) int

func (*QSqlTableModel) Select

func (this *QSqlTableModel) Select() bool

func (*QSqlTableModel) SelectRow

func (this *QSqlTableModel) SelectRow(row int) bool

func (*QSqlTableModel) Sender

func (this *QSqlTableModel) Sender() *qt.QObject

Sender can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) SenderSignalIndex

func (this *QSqlTableModel) SenderSignalIndex() int

SenderSignalIndex can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) SetData

func (this *QSqlTableModel) SetData(index *qt.QModelIndex, value *qt.QVariant, role int) bool

func (*QSqlTableModel) SetEditStrategy

func (this *QSqlTableModel) SetEditStrategy(strategy QSqlTableModel__EditStrategy)

func (*QSqlTableModel) SetFilter

func (this *QSqlTableModel) SetFilter(filter string)

func (*QSqlTableModel) SetLastError

func (this *QSqlTableModel) SetLastError(error *QSqlError)

SetLastError can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) SetPrimaryKey

func (this *QSqlTableModel) SetPrimaryKey(key *QSqlIndex)

SetPrimaryKey can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) SetQuery

func (this *QSqlTableModel) SetQuery(query *QSqlQuery)

SetQuery can only be called from a QSqlTableModel that was directly constructed.

func (*QSqlTableModel) SetRecord

func (this *QSqlTableModel) SetRecord(row int, record *QSqlRecord) bool

func (*QSqlTableModel) SetSort

func (this *QSqlTableModel) SetSort(column int, order qt.SortOrder)

func (*QSqlTableModel) SetTable

func (this *QSqlTableModel) SetTable(tableName string)

func (*QSqlTableModel) Sort

func (this *QSqlTableModel) Sort(column int, order qt.SortOrder)

func (*QSqlTableModel) Submit

func (this *QSqlTableModel) Submit() bool

func (*QSqlTableModel) SubmitAll

func (this *QSqlTableModel) SubmitAll() bool

func (*QSqlTableModel) TableName

func (this *QSqlTableModel) TableName() string

func (*QSqlTableModel) UnsafePointer

func (this *QSqlTableModel) UnsafePointer() unsafe.Pointer

type QSqlTableModel__EditStrategy

type QSqlTableModel__EditStrategy int
const (
	QSqlTableModel__OnFieldChange  QSqlTableModel__EditStrategy = 0
	QSqlTableModel__OnRowChange    QSqlTableModel__EditStrategy = 1
	QSqlTableModel__OnManualSubmit QSqlTableModel__EditStrategy = 2
)

type QSql__Location

type QSql__Location int
const (
	QSql__BeforeFirstRow QSql__Location = -1
	QSql__AfterLastRow   QSql__Location = -2
)

type QSql__NumericalPrecisionPolicy

type QSql__NumericalPrecisionPolicy int
const (
	QSql__LowPrecisionInt32  QSql__NumericalPrecisionPolicy = 1
	QSql__LowPrecisionInt64  QSql__NumericalPrecisionPolicy = 2
	QSql__LowPrecisionDouble QSql__NumericalPrecisionPolicy = 4
	QSql__HighPrecision      QSql__NumericalPrecisionPolicy = 0
)

type QSql__ParamTypeFlag

type QSql__ParamTypeFlag int
const (
	QSql__In     QSql__ParamTypeFlag = 1
	QSql__Out    QSql__ParamTypeFlag = 2
	QSql__InOut  QSql__ParamTypeFlag = 3
	QSql__Binary QSql__ParamTypeFlag = 4
)

type QSql__TableType

type QSql__TableType int
const (
	QSql__Tables       QSql__TableType = 1
	QSql__SystemTables QSql__TableType = 2
	QSql__Views        QSql__TableType = 4
	QSql__AllTables    QSql__TableType = 255
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL