diff options
Diffstat (limited to 'sip/qt/qtextbrowser.sip')
-rw-r--r-- | sip/qt/qtextbrowser.sip | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/sip/qt/qtextbrowser.sip b/sip/qt/qtextbrowser.sip index d7f4570..d9c60d3 100644 --- a/sip/qt/qtextbrowser.sip +++ b/sip/qt/qtextbrowser.sip @@ -1,92 +1,92 @@ -// This is the SIP interface definition for QTextBrowser. +// This is the SIP interface definition for TQTextBrowser. // // 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>QTextBrowser (Qt v2+)</Title> +<Sect2><Title>TQTextBrowser (TQt v2+)</Title> <Para> -<Literal>QTextBrowser</Literal> is fully implemented. +<Literal>TQTextBrowser</Literal> is fully implemented. </Para> </Sect2> %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) -class QTextBrowser : QTextEdit +class TQTextBrowser : TQTextEdit { %TypeHeaderCode #include <qtextbrowser.h> %End public: - QTextBrowser(QWidget * /TransferThis/ = 0,const char * = 0); + TQTextBrowser(TQWidget * /TransferThis/ = 0,const char * = 0); - QString source() const; + TQString source() const; public slots: - virtual void setSource(const QString &); + virtual void setSource(const TQString &); virtual void backward(); virtual void forward(); virtual void home(); virtual void reload(); - void setText(const QString &); - virtual void setText(const QString &,const QString &); + void setText(const TQString &); + virtual void setText(const TQString &,const TQString &); signals: void backwardAvailable(bool); void forwardAvailable(bool); -%If (Qt_3_1_0 -) - void sourceChanged(const QString &); +%If (TQt_3_1_0 -) + void sourceChanged(const TQString &); %End - void highlighted(const QString &); - void linkClicked(const QString &); -%If (Qt_3_1_0 -) - void anchorClicked(const QString &,const QString &); + void highlighted(const TQString &); + void linkClicked(const TQString &); +%If (TQt_3_1_0 -) + void anchorClicked(const TQString &,const TQString &); %End protected: - void keyPressEvent(QKeyEvent *); + void keyPressEvent(TQKeyEvent *); private: - QTextBrowser(const QTextBrowser &); + TQTextBrowser(const TQTextBrowser &); }; %End -%If (Qt_2_00 - Qt_3_0_0) +%If (TQt_2_00 - TQt_3_0_0) -class QTextBrowser : QTextView +class TQTextBrowser : TQTextView { %TypeHeaderCode #include <qtextbrowser.h> %End public: - QTextBrowser(QWidget * /TransferThis/ = 0,const char * = 0); + TQTextBrowser(TQWidget * /TransferThis/ = 0,const char * = 0); - virtual void setSource(const QString &); - QString source() const; - void setText(const QString &,const QString & = QString::null); - void scrollToAnchor(const QString &); + virtual void setSource(const TQString &); + TQString source() const; + void setText(const TQString &,const TQString & = TQString::null); + void scrollToAnchor(const TQString &); public slots: virtual void backward(); @@ -96,18 +96,18 @@ public slots: signals: void backwardAvailable(bool); void forwardAvailable(bool); - void highlighted(const QString &); + void highlighted(const TQString &); void textChanged(); protected: - void viewportMousePressEvent(QMouseEvent *); - void viewportMouseReleaseEvent(QMouseEvent *); - void viewportMouseMoveEvent(QMouseEvent *); - void keyPressEvent(QKeyEvent *); + void viewportMousePressEvent(TQMouseEvent *); + void viewportMouseReleaseEvent(TQMouseEvent *); + void viewportMouseMoveEvent(TQMouseEvent *); + void keyPressEvent(TQKeyEvent *); private: -%If (Qt_2_1_0 -) - QTextBrowser(const QTextBrowser &); +%If (TQt_2_1_0 -) + TQTextBrowser(const TQTextBrowser &); %End }; |