summaryrefslogtreecommitdiffstats
path: root/sip/qt/qsimplerichtext.sip
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
committerTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qsimplerichtext.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qsimplerichtext.sip')
-rw-r--r--sip/qt/qsimplerichtext.sip74
1 files changed, 37 insertions, 37 deletions
diff --git a/sip/qt/qsimplerichtext.sip b/sip/qt/qsimplerichtext.sip
index 7b189c3..a44be99 100644
--- a/sip/qt/qsimplerichtext.sip
+++ b/sip/qt/qsimplerichtext.sip
@@ -1,90 +1,90 @@
-// This is the SIP interface definition for QSimpleRichText.
+// This is the SIP interface definition for TQSimpleRichText.
//
// Copyright (c) 2007
// Riverbank Computing Limited <[email protected]>
//
-// 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>QSimpleRichText (Qt v2+)</Title>
+<Sect2><Title>TQSimpleRichText (TQt v2+)</Title>
<Para>
-<Literal>QSimpleRichText</Literal> is fully implemented.
+<Literal>TQSimpleRichText</Literal> is fully implemented.
</Para>
</Sect2>
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
-class QSimpleRichText
+class TQSimpleRichText
{
%TypeHeaderCode
#include <qsimplerichtext.h>
%End
public:
- QSimpleRichText(const QString &,const QFont &,
- const QString & = QString::null,
- const QStyleSheet * = 0);
-%If (Qt_2_1_0 -)
- QSimpleRichText(const QString &,const QFont &,const QString &,
- const QStyleSheet *,const QMimeSourceFactory *,
- int = -1,const QColor & = Qt::blue,bool = 1);
+ TQSimpleRichText(const TQString &,const TQFont &,
+ const TQString & = TQString::null,
+ const TQStyleSheet * = 0);
+%If (TQt_2_1_0 -)
+ TQSimpleRichText(const TQString &,const TQFont &,const TQString &,
+ const TQStyleSheet *,const TQMimeSourceFactory *,
+ int = -1,const TQColor & = TQt::blue,bool = 1);
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void setWidth(int);
%End
- void setWidth(QPainter *,int);
-%If (Qt_3_0_0 -)
- void setDefaultFont(const QFont &);
+ void setWidth(TQPainter *,int);
+%If (TQt_3_0_0 -)
+ void setDefaultFont(const TQFont &);
%End
int width() const;
int widthUsed() const;
int height() const;
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void adjustSize();
%End
-%If (- Qt_3_0_0)
- void draw(QPainter *,int,int,const QRegion &,const QPalette &,
- const QBrush * = 0) const;
- void draw(QPainter *,int,int,const QRegion &,const QColorGroup &,
- const QBrush * = 0) const;
+%If (- TQt_3_0_0)
+ void draw(TQPainter *,int,int,const TQRegion &,const TQPalette &,
+ const TQBrush * = 0) const;
+ void draw(TQPainter *,int,int,const TQRegion &,const TQColorGroup &,
+ const TQBrush * = 0) const;
%End
-%If (Qt_3_0_0 -)
- void draw(QPainter *,int,int,const QRect &,const QColorGroup &,
- const QBrush * = 0) const;
+%If (TQt_3_0_0 -)
+ void draw(TQPainter *,int,int,const TQRect &,const TQColorGroup &,
+ const TQBrush * = 0) const;
%End
- QString context() const;
-%If (- Qt_3_0_0)
- QString anchor(QPainter *,const QPoint &);
+ TQString context() const;
+%If (- TQt_3_0_0)
+ TQString anchor(TQPainter *,const TQPoint &);
%End
-%If (Qt_2_1_0 -)
- QString anchorAt(const QPoint &) const;
+%If (TQt_2_1_0 -)
+ TQString anchorAt(const TQPoint &) const;
- bool inText(const QPoint &) const;
+ bool inText(const TQPoint &) const;
%End
private:
-%If (Qt_3_0_0 -)
- QSimpleRichText(const QSimpleRichText &);
+%If (TQt_3_0_0 -)
+ TQSimpleRichText(const TQSimpleRichText &);
%End
};