summaryrefslogtreecommitdiffstats
path: root/sip/qt/qfont.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qfont.sip')
-rw-r--r--sip/qt/qfont.sip166
1 files changed, 83 insertions, 83 deletions
diff --git a/sip/qt/qfont.sip b/sip/qt/qfont.sip
index b2abfd4..54689e9 100644
--- a/sip/qt/qfont.sip
+++ b/sip/qt/qfont.sip
@@ -1,43 +1,43 @@
-// This is the SIP interface definition for QFont.
+// This is the SIP interface definition for TQFont.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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>QFont</Title>
+<Sect2><Title>TQFont</Title>
<Para>
-<Literal>QFont</Literal> is fully implemented, including the Python
+<Literal>TQFont</Literal> is fully implemented, including the Python
<Literal>==</Literal> and <Literal>!=</Literal> operators.
</Para>
</Sect2>
%End
-class QFont
+class TQFont
{
%TypeHeaderCode
#include <qfont.h>
%End
public:
-%If (- Qt_2_00)
+%If (- TQt_2_00)
enum CharSet {
Latin1, ISO_8859_1 = Latin1, AnyCharSet,
Latin2, ISO_8859_2 = Latin2,
@@ -51,7 +51,7 @@ public:
KOI8R
};
%End
-%If (Qt_2_00 - Qt_2_1_0)
+%If (TQt_2_00 - TQt_2_1_0)
enum CharSet {
ISO_8859_1, Latin1 = ISO_8859_1, AnyCharSet,
ISO_8859_2, Latin2 = ISO_8859_2,
@@ -77,7 +77,7 @@ public:
Unicode
};
%End
-%If (Qt_2_1_0 - Qt_2_2_0)
+%If (TQt_2_1_0 - TQt_2_2_0)
enum CharSet {
ISO_8859_1, Latin1 = ISO_8859_1, AnyCharSet,
ISO_8859_2, Latin2 = ISO_8859_2,
@@ -105,7 +105,7 @@ public:
Set_Big5
};
%End
-%If (Qt_2_2_0 - Qt_3_0_0)
+%If (TQt_2_2_0 - TQt_3_0_0)
enum CharSet {
ISO_8859_1, Latin1 = ISO_8859_1, AnyCharSet,
ISO_8859_2, Latin2 = ISO_8859_2,
@@ -153,7 +153,7 @@ public:
Decorative
};
-%If (Qt_2_2_0 -)
+%If (TQt_2_2_0 -)
enum StyleStrategy {
PreferDefault,
PreferBitmap,
@@ -162,11 +162,11 @@ public:
ForceOutline,
PreferMatch,
PreferQuality,
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
PreferAntialias,
NoAntialias,
%End
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
OpenGLCompatible,
%End
};
@@ -180,7 +180,7 @@ public:
Black
};
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
enum Stretch {
UltraCondensed,
ExtraCondensed,
@@ -194,29 +194,29 @@ public:
};
%End
- QFont();
-%If (- Qt_2_00)
- QFont(const char *,int = 12,int = Normal,bool = 0);
- QFont(const char *,int,int,bool,CharSet);
+ TQFont();
+%If (- TQt_2_00)
+ TQFont(const char *,int = 12,int = Normal,bool = 0);
+ TQFont(const char *,int,int,bool,CharSet);
%End
-%If (Qt_2_00 - Qt_3_2_0)
- QFont(const QString &,int = 12,int = Normal,bool = 0);
+%If (TQt_2_00 - TQt_3_2_0)
+ TQFont(const TQString &,int = 12,int = Normal,bool = 0);
%End
-%If (Qt_3_2_0 -)
- QFont(const QString &,int = 12,int = -1,bool = 0);
+%If (TQt_3_2_0 -)
+ TQFont(const TQString &,int = 12,int = -1,bool = 0);
%End
-%If (Qt_2_00 - Qt_3_0_0)
- QFont(const QString &,int,int,bool,CharSet);
+%If (TQt_2_00 - TQt_3_0_0)
+ TQFont(const TQString &,int,int,bool,CharSet);
%End
- QFont(const QFont &);
+ TQFont(const TQFont &);
-%If (- Qt_2_00)
+%If (- TQt_2_00)
const char *family() const;
void setFamily(const char *);
%End
-%If (Qt_2_00 -)
- QString family() const;
- void setFamily(const QString &);
+%If (TQt_2_00 -)
+ TQString family() const;
+ void setFamily(const TQString &);
float pointSizeFloat() const;
void setPointSizeFloat(float);
@@ -240,7 +240,7 @@ public:
bool underline() const;
void setUnderline(bool);
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
bool overline() const;
void setOverline(bool);
%End
@@ -252,26 +252,26 @@ public:
void setFixedPitch(bool);
StyleHint styleHint() const;
-%If (Qt_2_2_0 -)
+%If (TQt_2_2_0 -)
StyleStrategy styleStrategy() const;
%End
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
void setStyleHint(StyleHint);
%End
-%If (Qt_2_2_0 - Qt_3_0_0)
+%If (TQt_2_2_0 - TQt_3_0_0)
void setStyleHint(StyleHint,StyleStrategy);
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
void setStyleHint(StyleHint,StyleStrategy = PreferDefault);
void setStyleStrategy(StyleStrategy);
%End
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
CharSet charSet() const;
void setCharSet(CharSet);
%End
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
int stretch() const;
void setStretch(int);
%End
@@ -281,59 +281,59 @@ public:
bool exactMatch() const;
- bool operator==(const QFont &) const;
- bool operator!=(const QFont &) const;
+ bool operator==(const TQFont &) const;
+ bool operator!=(const TQFont &) const;
- bool isCopyOf(const QFont &) const;
+ bool isCopyOf(const TQFont &) const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
HANDLE handle(HANDLE = 0);
const char *rawName() const;
- static const QFont &defaultFont();
+ static const TQFont &defaultFont();
static const char *substitute(const char *);
static void insertSubstitution(const char *,const char *);
static void removeSubstitution(const char *);
- static void listSubstitutions(QStrList *);
+ static void listSubstitutions(TQStrList *);
%End
-%If (Qt_2_00 - Qt_3_0_0)
+%If (TQt_2_00 - TQt_3_0_0)
static CharSet charSetForLocale();
%End
-%If (Qt_2_00 -)
-%If (- Qt_3_0_0)
+%If (TQt_2_00 -)
+%If (- TQt_3_0_0)
%If (WS_X11)
HANDLE handle() const;
%End
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
%If (WS_X11)
- Qt::HANDLE handle() const;
+ TQt::HANDLE handle() const;
%End
%End
- void setRawName(const QString &);
- QString rawName() const;
+ void setRawName(const TQString &);
+ TQString rawName() const;
%End
- QString key() const;
-%If (Qt_3_0_0 -)
- QString toString() const;
- bool fromString(const QString &);
+ TQString key() const;
+%If (TQt_3_0_0 -)
+ TQString toString() const;
+ bool fromString(const TQString &);
%End
-%If (Qt_2_00 - Qt_3_0_0)
- static QString encodingName(CharSet);
+%If (TQt_2_00 - TQt_3_0_0)
+ static TQString encodingName(CharSet);
%End
-%If (Qt_2_00 -)
- static QString substitute(const QString &);
-%If (Qt_3_0_0 -)
- static QStringList substitutes(const QString &);
+%If (TQt_2_00 -)
+ static TQString substitute(const TQString &);
+%If (TQt_3_0_0 -)
+ static TQStringList substitutes(const TQString &);
%End
- static QStringList substitutions();
- static void insertSubstitution(const QString &,const QString &);
-%If (Qt_3_0_0 -)
- static void insertSubstitutions(const QString &,const QStringList &);
+ static TQStringList substitutions();
+ static void insertSubstitution(const TQString &,const TQString &);
+%If (TQt_3_0_0 -)
+ static void insertSubstitutions(const TQString &,const TQStringList &);
%End
- static void removeSubstitution(const QString &);
-%If (- Qt_3_0_0)
+ static void removeSubstitution(const TQString &);
+%If (- TQt_3_0_0)
static void locale_init();
%End
%End
@@ -342,7 +342,7 @@ public:
static void cleanup();
static void cacheStatistics();
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
enum Script {
Latin,
Greek,
@@ -399,7 +399,7 @@ public:
Unicode,
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
Tagalog,
Hanunoo,
Buhid,
@@ -408,34 +408,34 @@ public:
KatakanaHalfWidth,
%End
-%If (Qt_3_3_0 -)
+%If (TQt_3_3_0 -)
Limbu,
TaiLe,
%End
};
- QString defaultFamily() const;
- QString lastResortFamily() const;
- QString lastResortFont() const;
+ TQString defaultFamily() const;
+ TQString lastResortFamily() const;
+ TQString lastResortFont() const;
%End
-%If (Qt_2_00 - Qt_3_0_0)
- static QFont defaultFont();
+%If (TQt_2_00 - TQt_3_0_0)
+ static TQFont defaultFont();
%End
-%If (- Qt_3_0_0)
- static void setDefaultFont(const QFont &);
+%If (- TQt_3_0_0)
+ static void setDefaultFont(const TQFont &);
%End
-%If (Qt_3_2_0 -)
- QFont resolve(const QFont &) const;
+%If (TQt_3_2_0 -)
+ TQFont resolve(const TQFont &) const;
%End
protected:
bool dirty() const;
-%If (- Qt_3_0_0)
- QString defaultFamily() const;
- QString lastResortFamily() const;
- QString lastResortFont() const;
+%If (- TQt_3_0_0)
+ TQString defaultFamily() const;
+ TQString lastResortFamily() const;
+ TQString lastResortFont() const;
%End
int deciPointSize() const;
};