diff options
Diffstat (limited to 'sip/qtsql/qsqlfield.sip')
-rw-r--r-- | sip/qtsql/qsqlfield.sip | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/sip/qtsql/qsqlfield.sip b/sip/qtsql/qsqlfield.sip index 39dc046..42339ab 100644 --- a/sip/qtsql/qsqlfield.sip +++ b/sip/qtsql/qsqlfield.sip @@ -1,87 +1,87 @@ -// This is the SIP interface definition for QSqlField and QSqlFieldInfo. +// This is the SIP interface definition for TQSqlField and TQSqlFieldInfo. // // Copyright (c) 2007 // Riverbank Computing Limited <[email protected]> // -// This file is part of PyQt. +// This file is part of PyTQt. // -// This copy of PyQt is free software; you can redistribute it and/or modify it +// This copy of PyTQt is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free // Software Foundation; either version 2, or (at your option) any later // version. // -// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY +// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more // details. // // You should have received a copy of the GNU General Public License along with -// PyQt; see the file LICENSE. If not, write to the Free Software Foundation, +// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation, // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. %ExportedDoc -<Sect2><Title>QSqlField (Qt v3+)</Title> +<Sect2><Title>TQSqlField (TQt v3+)</Title> <Para> -<Literal>QSqlField</Literal> is fully implemented. +<Literal>TQSqlField</Literal> is fully implemented. </Para> </Sect2> -<Sect2><Title>QSqlFieldInfo (Qt v3+)</Title> +<Sect2><Title>TQSqlFieldInfo (TQt v3+)</Title> <Para> -<Literal>QSqlFieldInfo</Literal> is fully implemented. +<Literal>TQSqlFieldInfo</Literal> is fully implemented. </Para> </Sect2> %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) -class QSqlField +class TQSqlField { %TypeHeaderCode #include <qsqlfield.h> %End public: - QSqlField(const QString & = QString::null, - QVariant::Type = QVariant::Invalid ); - QSqlField(const QSqlField &); + TQSqlField(const TQString & = TQString::null, + TQVariant::Type = TQVariant::Invalid ); + TQSqlField(const TQSqlField &); - virtual void setValue(const QVariant &); - virtual QVariant value() const; - virtual void setName(const QString &); - QString name() const; + virtual void setValue(const TQVariant &); + virtual TQVariant value() const; + virtual void setName(const TQString &); + TQString name() const; virtual void setNull(); bool isNull() const; virtual void setReadOnly(bool); bool isReadOnly() const; void clear(bool = 1); - QVariant::Type type() const; + TQVariant::Type type() const; }; -class QSqlFieldInfo +class TQSqlFieldInfo { %TypeHeaderCode #include <qsqlfield.h> %End public: - QSqlFieldInfo(const QString & = QString::null, - QVariant::Type = QVariant::Invalid,int = -1,int = -1, - int = -1,const QVariant & = QVariant(),int = 0,bool = 1, + TQSqlFieldInfo(const TQString & = TQString::null, + TQVariant::Type = TQVariant::Invalid,int = -1,int = -1, + int = -1,const TQVariant & = TQVariant(),int = 0,bool = 1, bool = 0,bool = 0); - QSqlFieldInfo(const QSqlFieldInfo &); - QSqlFieldInfo(const QSqlField &,bool = 1); + TQSqlFieldInfo(const TQSqlFieldInfo &); + TQSqlFieldInfo(const TQSqlField &,bool = 1); - QSqlField toField() const; - int isRequired() const; - QVariant::Type type() const; + TQSqlField toField() const; + int isRetquired() const; + TQVariant::Type type() const; int length() const; int precision() const; - QVariant defaultValue() const; - QString name() const; + TQVariant defaultValue() const; + TQString name() const; int typeID() const; bool isGenerated() const; bool isTrim() const; |