diff options
author | Timothy Pearson <[email protected]> | 2011-11-29 01:11:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-29 01:11:08 -0600 |
commit | 8a055d66f43592c257cece2eb8cc021808062917 (patch) | |
tree | d0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qfontdatabase.sip | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'sip/qt/qfontdatabase.sip')
-rw-r--r-- | sip/qt/qfontdatabase.sip | 138 |
1 files changed, 69 insertions, 69 deletions
diff --git a/sip/qt/qfontdatabase.sip b/sip/qt/qfontdatabase.sip index cacecea..4676e43 100644 --- a/sip/qt/qfontdatabase.sip +++ b/sip/qt/qfontdatabase.sip @@ -1,119 +1,119 @@ -// This is the SIP interface definition for QFontDatabase. +// This is the SIP interface definition for TQFontDatabase. // // 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>QFontDatabase (Qt v2.1+)</Title> +<Sect2><Title>TQFontDatabase (TQt v2.1+)</Title> <Para> -<Literal>QFontDatabase</Literal> is fully implemented. +<Literal>TQFontDatabase</Literal> is fully implemented. </Para> </Sect2> %End -%If (Qt_FONTDATABASE) -%If (Qt_2_1_0 -) +%If (TQt_FONTDATABASE) +%If (TQt_2_1_0 -) -class QFontDatabase +class TQFontDatabase { %TypeHeaderCode #include <qfontdatabase.h> %End public: - QFontDatabase(); + TQFontDatabase(); - static QValueList<int> standardSizes(); + static TQValueList<int> standardSizes(); -%If (- Qt_3_0_0) - QStringList charSets(const QString &,bool = 1 ) const; - QStringList families(bool = 1) const; - QStringList styles(const QString &, - const QString & = QString::null) const; - QValueList<int> pointSizes(const QString &, - const QString & = QString::null, - const QString & = QString::null); - QValueList<int> smoothSizes(const QString &,const QString &, - const QString & = QString::null); +%If (- TQt_3_0_0) + TQStringList charSets(const TQString &,bool = 1 ) const; + TQStringList families(bool = 1) const; + TQStringList styles(const TQString &, + const TQString & = TQString::null) const; + TQValueList<int> pointSizes(const TQString &, + const TQString & = TQString::null, + const TQString & = TQString::null); + TQValueList<int> smoothSizes(const TQString &,const TQString &, + const TQString & = TQString::null); %End -%If (Qt_3_0_0 -) - QStringList families() const; -%If (Qt_3_2_0 -) - QStringList families(QFont::Script) const; +%If (TQt_3_0_0 -) + TQStringList families() const; +%If (TQt_3_2_0 -) + TQStringList families(TQFont::Script) const; %End - QStringList styles(const QString &) const; - QValueList<int> pointSizes(const QString &, - const QString & = QString::null); - QValueList<int> smoothSizes(const QString &,const QString &); + TQStringList styles(const TQString &) const; + TQValueList<int> pointSizes(const TQString &, + const TQString & = TQString::null); + TQValueList<int> smoothSizes(const TQString &,const TQString &); %End - QString styleString(const QFont &); + TQString styleString(const TQFont &); -%If (- Qt_3_0_0) - QFont font(const QString,const QString &,int, - const QString = QString::null); +%If (- TQt_3_0_0) + TQFont font(const TQString,const TQString &,int, + const TQString = TQString::null); - bool isBitmapScalable(const QString &,const QString & = QString::null, - const QString & = QString::null) const; - bool isSmoothlyScalable(const QString &, - const QString & = QString::null, - const QString & = QString::null) const; - bool isScalable(const QString &,const QString & = QString::null, - const QString & = QString::null) const; + bool isBitmapScalable(const TQString &,const TQString & = TQString::null, + const TQString & = TQString::null) const; + bool isSmoothlyScalable(const TQString &, + const TQString & = TQString::null, + const TQString & = TQString::null) const; + bool isScalable(const TQString &,const TQString & = TQString::null, + const TQString & = TQString::null) const; %End -%If (Qt_3_0_0 -) - QFont font(const QString,const QString &,int); +%If (TQt_3_0_0 -) + TQFont font(const TQString,const TQString &,int); - bool isBitmapScalable(const QString &, - const QString & = QString::null) const; - bool isSmoothlyScalable(const QString &, - const QString & = QString::null) const; - bool isScalable(const QString &,const QString & = QString::null) const; + bool isBitmapScalable(const TQString &, + const TQString & = TQString::null) const; + bool isSmoothlyScalable(const TQString &, + const TQString & = TQString::null) const; + bool isScalable(const TQString &,const TQString & = TQString::null) const; %End -%If (Qt_2_3_0 - Qt_3_0_0) - bool isFixedPitch(const QString &,const QString & = QString::null, - const QString & = QString::null) const; +%If (TQt_2_3_0 - TQt_3_0_0) + bool isFixedPitch(const TQString &,const TQString & = TQString::null, + const TQString & = TQString::null) const; %End -%If (Qt_3_0_0 -) - bool isFixedPitch(const QString &, - const QString & = QString::null) const; +%If (TQt_3_0_0 -) + bool isFixedPitch(const TQString &, + const TQString & = TQString::null) const; %End -%If (- Qt_3_0_0) - bool italic(const QString &,const QString &, - const QString & = QString::null) const; - bool bold(const QString &,const QString &, - const QString & = QString::null) const; - int weight(const QString &,const QString &, - const QString & = QString::null) const; +%If (- TQt_3_0_0) + bool italic(const TQString &,const TQString &, + const TQString & = TQString::null) const; + bool bold(const TQString &,const TQString &, + const TQString & = TQString::null) const; + int weight(const TQString &,const TQString &, + const TQString & = TQString::null) const; - static QString verboseCharSetName(const QString &); - static QString charSetSample(const QString &); + static TQString verboseCharSetName(const TQString &); + static TQString charSetSample(const TQString &); %End -%If (Qt_3_0_0 -) - bool italic(const QString &,const QString &) const; - bool bold(const QString &,const QString &) const; - int weight(const QString &,const QString &) const; +%If (TQt_3_0_0 -) + bool italic(const TQString &,const TQString &) const; + bool bold(const TQString &,const TQString &) const; + int weight(const TQString &,const TQString &) const; - static QString scriptName(QFont::Script); - static QString scriptSample(QFont::Script); + static TQString scriptName(TQFont::Script); + static TQString scriptSample(TQFont::Script); %End }; |