diff options
Diffstat (limited to 'sip/qt/qlocale.sip')
-rw-r--r-- | sip/qt/qlocale.sip | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/sip/qt/qlocale.sip b/sip/qt/qlocale.sip index 71f3e6d..c68c1d1 100644 --- a/sip/qt/qlocale.sip +++ b/sip/qt/qlocale.sip @@ -1,27 +1,27 @@ -// This is the SIP interface definition for QLocale. +// This is the SIP interface definition for TQLocale. // // 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>QLocale (Qt v3.3+)</Title> +<Sect2><Title>TQLocale (TQt v3.3+)</Title> <FuncSynopsis> <FuncDef>short <Function>toShort</Function></FuncDef> <ParamDef>bool *<Parameter>ok</Parameter> = 0</ParamDef> @@ -97,9 +97,9 @@ This returns a tuple of the <Literal>double</Literal> result and the %End -%If (Qt_3_3_0 -) +%If (TQt_3_3_0 -) -class QLocale +class TQLocale { %TypeHeaderCode #include <qlocale.h> @@ -495,43 +495,43 @@ public: LastCountry }; - QLocale(); - QLocale(const QString &); - QLocale(Language,Country = AnyCountry); - QLocale(const QLocale &); + TQLocale(); + TQLocale(const TQString &); + TQLocale(Language,Country = AnyCountry); + TQLocale(const TQLocale &); Language language() const; Country country() const; - QString name() const; + TQString name() const; - short toShort(const QString &,bool * = 0) const; - ushort toUShort(const QString &,bool * = 0) const; - int toInt(const QString &,bool * = 0) const; - uint toUInt(const QString &,bool * = 0) const; - Q_LONG toLong(const QString &,bool * = 0) const; - Q_ULONG toULong(const QString &,bool * = 0) const; - //Q_LLONG toLongLong(const QString &,bool * = 0) const; - //Q_ULLONG toULongLong(const QString &,bool * = 0) const; - float toFloat(const QString &,bool * = 0) const; - double toDouble(const QString &,bool * = 0) const; + short toShort(const TQString &,bool * = 0) const; + ushort toUShort(const TQString &,bool * = 0) const; + int toInt(const TQString &,bool * = 0) const; + uint toUInt(const TQString &,bool * = 0) const; + Q_LONG toLong(const TQString &,bool * = 0) const; + Q_ULONG toULong(const TQString &,bool * = 0) const; + //Q_LLONG toLongLong(const TQString &,bool * = 0) const; + //Q_ULLONG toULongLong(const TQString &,bool * = 0) const; + float toFloat(const TQString &,bool * = 0) const; + double toDouble(const TQString &,bool * = 0) const; - //QString toString(short) const; - //QString toString(ushort) const; - QString toString(int /Constrained/) const; - //QString toString(uint) const; - //QString toString(Q_LONG) const; - //QString toString(Q_ULONG) const; - //QString toString(Q_LLONG) const; - //QString toString(Q_ULLONG) const; - //QString toString(float,char = 'g',int = 6) const; - QString toString(double,char = 'g',int = 6) const; + //TQString toString(short) const; + //TQString toString(ushort) const; + TQString toString(int /Constrained/) const; + //TQString toString(uint) const; + //TQString toString(Q_LONG) const; + //TQString toString(Q_ULONG) const; + //TQString toString(Q_LLONG) const; + //TQString toString(Q_ULLONG) const; + //TQString toString(float,char = 'g',int = 6) const; + TQString toString(double,char = 'g',int = 6) const; - static QString languageToString(Language); - static QString countryToString(Country); - static void setDefault(const QLocale &); + static TQString languageToString(Language); + static TQString countryToString(Country); + static void setDefault(const TQLocale &); - static QLocale c(); - static QLocale system(); + static TQLocale c(); + static TQLocale system(); }; %End |