Notation used in Ruby API documentation
Module: QtSql
Description: Binding of QSqlField
Sub-classes: RequiredStatus, QFlags_RequiredStatus
new QSqlField | new | (string fieldName = QString(), const QVariant_Type type = QVariant::Invalid) | Constructor QSqlField::QSqlField(const QString &fieldName, QVariant::Type type) |
new QSqlField | new | (const QSqlField other) | Constructor QSqlField::QSqlField(const QSqlField &other) |
[const] | bool | != | (const QSqlField other) | Method bool QSqlField::operator!=(const QSqlField &other) |
[const] | bool | == | (const QSqlField other) | Method bool QSqlField::operator==(const QSqlField &other) |
void | _assign | (const QSqlField other) | Assigns another object to self | |
[const] | QSqlField ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
QSqlField | assign | (const QSqlField other) | Method QSqlField &QSqlField::operator=(const QSqlField &other) | |
[const] | bool | autoValue | Method bool QSqlField::isAutoValue() | |
void | autoValue= | (bool autoVal) | Method void QSqlField::setAutoValue(bool autoVal) | |
void | clear | Method void QSqlField::clear() | ||
[const] | variant | defaultValue | Method QVariant QSqlField::defaultValue() | |
void | defaultValue= | (variant value) | Method void QSqlField::setDefaultValue(const QVariant &value) | |
[const] | new QSqlField ptr | dup | Creates a copy of self | |
[const] | bool | generated | Method bool QSqlField::isGenerated() | |
void | generated= | (bool gen) | Method void QSqlField::setGenerated(bool gen) | |
[const] | bool | isAutoValue? | Method bool QSqlField::isAutoValue() | |
[const] | bool | isGenerated? | Method bool QSqlField::isGenerated() | |
[const] | bool | isNull? | Method bool QSqlField::isNull() | |
[const] | bool | isReadOnly? | Method bool QSqlField::isReadOnly() | |
[const] | bool | isValid? | Method bool QSqlField::isValid() | |
[const] | int | length | Method int QSqlField::length() | |
void | length= | (int fieldLength) | Method void QSqlField::setLength(int fieldLength) | |
[const] | string | name | Method QString QSqlField::name() | |
void | name= | (string name) | Method void QSqlField::setName(const QString &name) | |
[const] | int | precision | Method int QSqlField::precision() | |
void | precision= | (int precision) | Method void QSqlField::setPrecision(int precision) | |
[const] | bool | readOnly | Method bool QSqlField::isReadOnly() | |
void | readOnly= | (bool readOnly) | Method void QSqlField::setReadOnly(bool readOnly) | |
[const] | QSqlField_RequiredStatus | requiredStatus | Method QSqlField::RequiredStatus QSqlField::requiredStatus() | |
void | requiredStatus= | (const QSqlField_RequiredStatus status) | Method void QSqlField::setRequiredStatus(QSqlField::RequiredStatus status) | |
void | setAutoValue | (bool autoVal) | Method void QSqlField::setAutoValue(bool autoVal) | |
void | setDefaultValue | (variant value) | Method void QSqlField::setDefaultValue(const QVariant &value) | |
void | setGenerated | (bool gen) | Method void QSqlField::setGenerated(bool gen) | |
void | setLength | (int fieldLength) | Method void QSqlField::setLength(int fieldLength) | |
void | setName | (string name) | Method void QSqlField::setName(const QString &name) | |
void | setPrecision | (int precision) | Method void QSqlField::setPrecision(int precision) | |
void | setReadOnly | (bool readOnly) | Method void QSqlField::setReadOnly(bool readOnly) | |
void | setRequired | (bool required) | Method void QSqlField::setRequired(bool required) | |
void | setRequiredStatus | (const QSqlField_RequiredStatus status) | Method void QSqlField::setRequiredStatus(QSqlField::RequiredStatus status) | |
void | setSqlType | (int type) | Method void QSqlField::setSqlType(int type) | |
void | setType | (const QVariant_Type type) | Method void QSqlField::setType(QVariant::Type type) | |
void | setValue | (variant value) | Method void QSqlField::setValue(const QVariant &value) | |
[const] | QVariant_Type | type | Method QVariant::Type QSqlField::type() | |
void | type= | (const QVariant_Type type) | Method void QSqlField::setType(QVariant::Type type) | |
[const] | int | typeID | Method int QSqlField::typeID() | |
[const] | variant | value | Method QVariant QSqlField::value() | |
void | value= | (variant value) | Method void QSqlField::setValue(const QVariant &value) |
[static,const] | QSqlField_RequiredStatus | Optional | Enum constant QSqlField::Optional | |
[static,const] | QSqlField_RequiredStatus | Required | Enum constant QSqlField::Required | |
[static,const] | QSqlField_RequiredStatus | Unknown | Enum constant QSqlField::Unknown |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
!= | Signature: [const] bool != (const QSqlField other) Description: Method bool QSqlField::operator!=(const QSqlField &other) |
== | Signature: [const] bool == (const QSqlField other) Description: Method bool QSqlField::operator==(const QSqlField &other) |
Optional | Signature: [static,const] QSqlField_RequiredStatus Optional Description: Enum constant QSqlField::Optional Python specific notes: |
Required | Signature: [static,const] QSqlField_RequiredStatus Required Description: Enum constant QSqlField::Required Python specific notes: |
Unknown | Signature: [static,const] QSqlField_RequiredStatus Unknown Description: Enum constant QSqlField::Unknown Python specific notes: |
_assign | Signature: void _assign (const QSqlField other) Description: Assigns another object to self |
_const_cast | Signature: [const] QSqlField ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
assign | Signature: QSqlField assign (const QSqlField other) Description: Method QSqlField &QSqlField::operator=(const QSqlField &other) |
autoValue | Signature: [const] bool autoValue Description: Method bool QSqlField::isAutoValue() Python specific notes: |
autoValue= | Signature: void autoValue= (bool autoVal) Description: Method void QSqlField::setAutoValue(bool autoVal) Python specific notes: |
clear | Signature: void clear Description: Method void QSqlField::clear() |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
defaultValue | Signature: [const] variant defaultValue Description: Method QVariant QSqlField::defaultValue() Python specific notes: |
defaultValue= | Signature: void defaultValue= (variant value) Description: Method void QSqlField::setDefaultValue(const QVariant &value) Python specific notes: |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
dup | Signature: [const] new QSqlField ptr dup Description: Creates a copy of self Python specific notes: |
generated | Signature: [const] bool generated Description: Method bool QSqlField::isGenerated() Python specific notes: |
generated= | Signature: void generated= (bool gen) Description: Method void QSqlField::setGenerated(bool gen) Python specific notes: |
isAutoValue? | Signature: [const] bool isAutoValue? Description: Method bool QSqlField::isAutoValue() Python specific notes: |
isGenerated? | Signature: [const] bool isGenerated? Description: Method bool QSqlField::isGenerated() Python specific notes: |
isNull? | Signature: [const] bool isNull? Description: Method bool QSqlField::isNull() |
isReadOnly? | Signature: [const] bool isReadOnly? Description: Method bool QSqlField::isReadOnly() Python specific notes: |
isValid? | Signature: [const] bool isValid? Description: Method bool QSqlField::isValid() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
length | Signature: [const] int length Description: Method int QSqlField::length() Python specific notes: |
length= | Signature: void length= (int fieldLength) Description: Method void QSqlField::setLength(int fieldLength) Python specific notes: |
name | Signature: [const] string name Description: Method QString QSqlField::name() Python specific notes: |
name= | Signature: void name= (string name) Description: Method void QSqlField::setName(const QString &name) Python specific notes: |
new | (1) Signature: [static] new QSqlField new (string fieldName = QString(), const QVariant_Type type = QVariant::Invalid) Description: Constructor QSqlField::QSqlField(const QString &fieldName, QVariant::Type type) This method creates an object of class QSqlField. Python specific notes: |
(2) Signature: [static] new QSqlField new (const QSqlField other) Description: Constructor QSqlField::QSqlField(const QSqlField &other) This method creates an object of class QSqlField. Python specific notes: | |
precision | Signature: [const] int precision Description: Method int QSqlField::precision() Python specific notes: |
precision= | Signature: void precision= (int precision) Description: Method void QSqlField::setPrecision(int precision) Python specific notes: |
readOnly | Signature: [const] bool readOnly Description: Method bool QSqlField::isReadOnly() Python specific notes: |
readOnly= | Signature: void readOnly= (bool readOnly) Description: Method void QSqlField::setReadOnly(bool readOnly) Python specific notes: |
requiredStatus | Signature: [const] QSqlField_RequiredStatus requiredStatus Description: Method QSqlField::RequiredStatus QSqlField::requiredStatus() Python specific notes: |
requiredStatus= | Signature: void requiredStatus= (const QSqlField_RequiredStatus status) Description: Method void QSqlField::setRequiredStatus(QSqlField::RequiredStatus status) Python specific notes: |
setAutoValue | Signature: void setAutoValue (bool autoVal) Description: Method void QSqlField::setAutoValue(bool autoVal) Python specific notes: |
setDefaultValue | Signature: void setDefaultValue (variant value) Description: Method void QSqlField::setDefaultValue(const QVariant &value) Python specific notes: |
setGenerated | Signature: void setGenerated (bool gen) Description: Method void QSqlField::setGenerated(bool gen) Python specific notes: |
setLength | Signature: void setLength (int fieldLength) Description: Method void QSqlField::setLength(int fieldLength) Python specific notes: |
setName | Signature: void setName (string name) Description: Method void QSqlField::setName(const QString &name) Python specific notes: |
setPrecision | Signature: void setPrecision (int precision) Description: Method void QSqlField::setPrecision(int precision) Python specific notes: |
setReadOnly | Signature: void setReadOnly (bool readOnly) Description: Method void QSqlField::setReadOnly(bool readOnly) Python specific notes: |
setRequired | Signature: void setRequired (bool required) Description: Method void QSqlField::setRequired(bool required) |
setRequiredStatus | Signature: void setRequiredStatus (const QSqlField_RequiredStatus status) Description: Method void QSqlField::setRequiredStatus(QSqlField::RequiredStatus status) Python specific notes: |
setSqlType | Signature: void setSqlType (int type) Description: Method void QSqlField::setSqlType(int type) |
setType | Signature: void setType (const QVariant_Type type) Description: Method void QSqlField::setType(QVariant::Type type) Python specific notes: |
setValue | Signature: void setValue (variant value) Description: Method void QSqlField::setValue(const QVariant &value) Python specific notes: |
type | Signature: [const] QVariant_Type type Description: Method QVariant::Type QSqlField::type() Python specific notes: |
type= | Signature: void type= (const QVariant_Type type) Description: Method void QSqlField::setType(QVariant::Type type) Python specific notes: |
typeID | Signature: [const] int typeID Description: Method int QSqlField::typeID() |
value | Signature: [const] variant value Description: Method QVariant QSqlField::value() Python specific notes: |
value= | Signature: void value= (variant value) Description: Method void QSqlField::setValue(const QVariant &value) Python specific notes: |