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/qwhatsthis.sip | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'sip/qt/qwhatsthis.sip')
-rw-r--r-- | sip/qt/qwhatsthis.sip | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/sip/qt/qwhatsthis.sip b/sip/qt/qwhatsthis.sip index b745449..a93f1d3 100644 --- a/sip/qt/qwhatsthis.sip +++ b/sip/qt/qwhatsthis.sip @@ -1,96 +1,96 @@ -// This is the SIP interface definition for QWhatsThis. +// This is the SIP interface definition for TQWhatsThis. // // 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>QWhatsThis</Title> +<Sect2><Title>TQWhatsThis</Title> <Para> -<Literal>QWhatsThis</Literal> is fully implemented. +<Literal>TQWhatsThis</Literal> is fully implemented. </Para> </Sect2> %End -%If (- Qt_2_00) +%If (- TQt_2_00) -class QWhatsThis +class TQWhatsThis { %TypeHeaderCode #include <qwhatsthis.h> %End public: - static void add(QWidget *,const char *,bool = 1); - static void add(QWidget *,const QPixmap &,const char *,const char *,bool = 1); - static void remove(QWidget *); - static const char *textFor(QWidget *); - static QToolButton *whatsThisButton(QWidget *); + static void add(TQWidget *,const char *,bool = 1); + static void add(TQWidget *,const TQPixmap &,const char *,const char *,bool = 1); + static void remove(TQWidget *); + static const char *textFor(TQWidget *); + static TQToolButton *whatsThisButton(TQWidget *); }; %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) -class QWhatsThis : Qt +class TQWhatsThis : TQt { %TypeHeaderCode #include <qwhatsthis.h> %End public: - QWhatsThis(QWidget *); + TQWhatsThis(TQWidget *); - virtual QString text(const QPoint &); -%If (Qt_3_0_0 -) - virtual bool clicked(const QString &); + virtual TQString text(const TQPoint &); +%If (TQt_3_0_0 -) + virtual bool clicked(const TQString &); %End -%If (Qt_3_1_0 -) - static void setFont(const QFont &); +%If (TQt_3_1_0 -) + static void setFont(const TQFont &); %End - static void add(QWidget *,const QString &); - static void remove(QWidget *); -%If (- Qt_3_0_0) - static QString textFor(QWidget *,const QPoint & = QPoint()); + static void add(TQWidget *,const TQString &); + static void remove(TQWidget *); +%If (- TQt_3_0_0) + static TQString textFor(TQWidget *,const TQPoint & = TQPoint()); %End -%If (Qt_3_0_0 -) - static QString textFor(QWidget *,const QPoint & = QPoint(),bool = 0); +%If (TQt_3_0_0 -) + static TQString textFor(TQWidget *,const TQPoint & = TQPoint(),bool = 0); %End - static QToolButton *whatsThisButton(QWidget *); + static TQToolButton *whatsThisButton(TQWidget *); static void enterWhatsThisMode(); static bool inWhatsThisMode(); -%If (- Qt_3_0_0) - static void leaveWhatsThisMode(const QString & = QString::null, - const QPoint & = QCursor::pos()); +%If (- TQt_3_0_0) + static void leaveWhatsThisMode(const TQString & = TQString::null, + const TQPoint & = TQCursor::pos()); %End -%If (Qt_3_0_0 -) - static void leaveWhatsThisMode(const QString & = QString::null, - const QPoint & = QCursor::pos(), - QWidget * = 0); +%If (TQt_3_0_0 -) + static void leaveWhatsThisMode(const TQString & = TQString::null, + const TQPoint & = TQCursor::pos(), + TQWidget * = 0); - static void display(const QString &,const QPoint & = QCursor::pos(), - QWidget * = 0); + static void display(const TQString &,const TQPoint & = TQCursor::pos(), + TQWidget * = 0); %End }; |