diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-29 01:11:08 -0600 |
commit | 8a055d66f43592c257cece2eb8cc021808062917 (patch) | |
tree | d0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qfontdialog.sip | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'sip/qt/qfontdialog.sip')
-rw-r--r-- | sip/qt/qfontdialog.sip | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/sip/qt/qfontdialog.sip b/sip/qt/qfontdialog.sip index 9196000..e4f93f1 100644 --- a/sip/qt/qfontdialog.sip +++ b/sip/qt/qfontdialog.sip @@ -1,104 +1,104 @@ -// This is the SIP interface definition for QFontDialog. +// This is the SIP interface definition for TQFontDialog. // // 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>QFontDialog (Qt v2+)</Title> +<Sect2><Title>TQFontDialog (TQt v2+)</Title> <FuncSynopsis> - <FuncDef>static QFont <Function>getFont</Function></FuncDef> + <FuncDef>static TQFont <Function>getFont</Function></FuncDef> <ParamDef>bool *<Parameter>ok</Parameter></ParamDef> - <ParamDef>const QFont &<Parameter>def</Parameter></ParamDef> - <ParamDef>QWidget *<Parameter>parent</Parameter> = 0</ParamDef> + <ParamDef>const TQFont &<Parameter>def</Parameter></ParamDef> + <ParamDef>TQWidget *<Parameter>parent</Parameter> = 0</ParamDef> <ParamDef>const char *<Parameter>name</Parameter> = 0</ParamDef> </FuncSynopsis> <Para> This takes the <Literal>def</Literal>, <Literal>parent</Literal> and <Literal>name</Literal> parameters and returns a tuple containing the -<Literal>QFont</Literal> result and the <Literal>ok</Literal> value. +<Literal>TQFont</Literal> result and the <Literal>ok</Literal> value. </Para> <FuncSynopsis> - <FuncDef>static QFont <Function>getFont</Function></FuncDef> + <FuncDef>static TQFont <Function>getFont</Function></FuncDef> <ParamDef>bool *<Parameter>ok</Parameter></ParamDef> - <ParamDef>QWidget *<Parameter>parent</Parameter> = 0</ParamDef> + <ParamDef>TQWidget *<Parameter>parent</Parameter> = 0</ParamDef> <ParamDef>const char *<Parameter>name</Parameter> = 0</ParamDef> </FuncSynopsis> <Para> This takes the <Literal>parent</Literal> and <Literal>name</Literal> parameters -and returns a tuple containing the <Literal>QFont</Literal> result and the +and returns a tuple containing the <Literal>TQFont</Literal> result and the <Literal>ok</Literal> value. </Para> </Sect2> %End -%If (Qt_2_00 -) -%If (Qt_FONTDIALOG) +%If (TQt_2_00 -) +%If (TQt_FONTDIALOG) -class QFontDialog : QDialog +class TQFontDialog : TQDialog { %TypeHeaderCode #include <qfontdialog.h> %End public: - static QFont getFont(bool *,const QFont &,QWidget * = 0, + static TQFont getFont(bool *,const TQFont &,TQWidget * = 0, const char * = 0); - static QFont getFont(bool *,QWidget * = 0,const char * = 0); + static TQFont getFont(bool *,TQWidget * = 0,const char * = 0); signals: -%If (- Qt_3_2_0) - void fontSelected(const QFont &); - void fontHighlighted(const QFont &); +%If (- TQt_3_2_0) + void fontSelected(const TQFont &); + void fontHighlighted(const TQFont &); %End protected: -%If (- Qt_3_2_0) - bool eventFilter(QObject *,QEvent *); +%If (- TQt_3_2_0) + bool eventFilter(TQObject *,TQEvent *); - QListBox *familyListBox() const; + TQListBox *familyListBox() const; virtual void updateFamilies(); - QListBox *styleListBox() const; + TQListBox *styleListBox() const; virtual void updateStyles(); - QListBox *sizeListBox() const; + TQListBox *sizeListBox() const; virtual void updateSizes(); - QComboBox *scriptCombo() const; + TQComboBox *scriptCombo() const; virtual void updateScripts(); %End protected slots: -%If (- Qt_3_2_0) - void sizeChanged(const QString &); +%If (- TQt_3_2_0) + void sizeChanged(const TQString &); %End private: - QFontDialog(QWidget * /TransferThis/ = 0,const char * = 0,bool = 0, + TQFontDialog(TQWidget * /TransferThis/ = 0,const char * = 0,bool = 0, WFlags = 0); -%If (Qt_2_1_0 -) - QFontDialog(const QFontDialog &); +%If (TQt_2_1_0 -) + TQFontDialog(const TQFontDialog &); %End - ~QFontDialog(); + ~TQFontDialog(); }; %End |