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/qtextview.sip | |
parent | b388516ca2691303a076a0764fd40bf7116fe43d (diff) | |
download | pytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip |
Initial TQt conversion
Diffstat (limited to 'sip/qt/qtextview.sip')
-rw-r--r-- | sip/qt/qtextview.sip | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/sip/qt/qtextview.sip b/sip/qt/qtextview.sip index d79a34a..c17b0d0 100644 --- a/sip/qt/qtextview.sip +++ b/sip/qt/qtextview.sip @@ -1,127 +1,127 @@ -// This is the SIP interface definition for QTextView. +// This is the SIP interface definition for TQTextView. // // 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>QTextView (Qt v2+)</Title> +<Sect2><Title>TQTextView (TQt v2+)</Title> <Para> -<Literal>QTextView</Literal> is fully implemented. +<Literal>TQTextView</Literal> is fully implemented. </Para> </Sect2> %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) -class QTextView : QTextEdit +class TQTextView : TQTextEdit { %TypeHeaderCode #include <qtextview.h> %End public: - QTextView(QWidget * /TransferThis/ = 0,const char * = 0); - QTextView(const QString &,const QString & = QString::null, - QWidget * /TransferThis/ = 0,const char * = 0); + TQTextView(TQWidget * /TransferThis/ = 0,const char * = 0); + TQTextView(const TQString &,const TQString & = TQString::null, + TQWidget * /TransferThis/ = 0,const char * = 0); private: -%If (Qt_3_1_0 -) - QTextView(const QTextView &); +%If (TQt_3_1_0 -) + TQTextView(const TQTextView &); %End }; %End -%If (Qt_2_00 - Qt_3_0_0) +%If (TQt_2_00 - TQt_3_0_0) -class QTextView : QScrollView +class TQTextView : TQScrollView { %TypeHeaderCode #include <qtextview.h> %End public: - QTextView(QWidget * /TransferThis/ = 0,const char * = 0); - QTextView(const QString &,const QString & = QString::null, - QWidget * /TransferThis/ = 0,const char * = 0); + TQTextView(TQWidget * /TransferThis/ = 0,const char * = 0); + TQTextView(const TQString &,const TQString & = TQString::null, + TQWidget * /TransferThis/ = 0,const char * = 0); -%If (- Qt_2_1_0) - virtual void setText(const QString &,const QString & = QString::null); +%If (- TQt_2_1_0) + virtual void setText(const TQString &,const TQString & = TQString::null); %End -%If (Qt_2_1_0 -) - virtual void setText(const QString &,const QString &); - void setText(const QString &); +%If (TQt_2_1_0 -) + virtual void setText(const TQString &,const TQString &); + void setText(const TQString &); %End - virtual QString text() const; - virtual QString context() const; - Qt::TextFormat textFormat() const; - void setTextFormat(Qt::TextFormat); - QStyleSheet *styleSheet() const; - void setStyleSheet(QStyleSheet *); - void setPaper(const QBrush &); - const QBrush &paper(); - void setPaperColorGroup(const QColorGroup &); - const QColorGroup &paperColorGroup() const; - void setLinkColor(const QColor &); - const QColor &linkColor() const; + virtual TQString text() const; + virtual TQString context() const; + TQt::TextFormat textFormat() const; + void setTextFormat(TQt::TextFormat); + TQStyleSheet *styleSheet() const; + void setStyleSheet(TQStyleSheet *); + void setPaper(const TQBrush &); + const TQBrush &paper(); + void setPaperColorGroup(const TQColorGroup &); + const TQColorGroup &paperColorGroup() const; + void setLinkColor(const TQColor &); + const TQColor &linkColor() const; void setLinkUnderline(bool); bool linkUnderline() const; - void setMimeSourceFactory(QMimeSourceFactory *); - QMimeSourceFactory *mimeSourceFactory() const; - QString documentTitle() const; + void setMimeSourceFactory(TQMimeSourceFactory *); + TQMimeSourceFactory *mimeSourceFactory() const; + TQString documentTitle() const; int heightForWidth(int) const; -%If (Qt_2_1_0 -) - void append(const QString &); +%If (TQt_2_1_0 -) + void append(const TQString &); bool hasSelectedText() const; - QString selectedText() const; + TQString selectedText() const; %End public slots: -%If (Qt_2_1_0 -) -%If (Qt_CLIPBOARD) +%If (TQt_2_1_0 -) +%If (TQt_CLIPBOARD) void copy(); %End void selectAll(); %End protected: - void drawContentsOffset(QPainter *,int,int,int,int,int,int); - void resizeEvent(QResizeEvent *); - void viewportResizeEvent(QResizeEvent *); - void viewportMousePressEvent(QMouseEvent *); - void viewportMouseReleaseEvent(QMouseEvent *); - void viewportMouseMoveEvent(QMouseEvent *); - void keyPressEvent(QKeyEvent *); -%If (Qt_2_1_0 -) - void showEvent(QShowEvent *); - void focusInEvent(QFocusEvent *); - void focusOutEvent(QFocusEvent *); + void drawContentsOffset(TQPainter *,int,int,int,int,int,int); + void resizeEvent(TQResizeEvent *); + void viewportResizeEvent(TQResizeEvent *); + void viewportMousePressEvent(TQMouseEvent *); + void viewportMouseReleaseEvent(TQMouseEvent *); + void viewportMouseMoveEvent(TQMouseEvent *); + void keyPressEvent(TQKeyEvent *); +%If (TQt_2_1_0 -) + void showEvent(TQShowEvent *); + void focusInEvent(TQFocusEvent *); + void focusOutEvent(TQFocusEvent *); %End -// QRichText &richText() const; - void paletteChange(const QPalette &); +// TQRichText &richText() const; + void paletteChange(const TQPalette &); private: -%If (Qt_2_1_0 -) - QTextView(const QTextView &); +%If (TQt_2_1_0 -) + TQTextView(const TQTextView &); %End }; |