summaryrefslogtreecommitdiffstats
path: root/sip/qt/qsimplerichtext.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-07-31 16:43:31 +0200
commit30381ed7e532384067ad63b4631950d821313199 (patch)
tree88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qsimplerichtext.sip
parent4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff)
downloadpytqt-30381ed7e532384067ad63b4631950d821313199.tar.gz
pytqt-30381ed7e532384067ad63b4631950d821313199.zip
Remove support for earlier Qt/TQt versions
Conditional code in the .sip files linked to specific older versions has been removed. Since the versions of TQt and python-tqt are running in parallel, the support for older versions was clutter that would never actually be used now. Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 33a0297b35ab40e2d09cf37e351095b58725c8d5)
Diffstat (limited to 'sip/qt/qsimplerichtext.sip')
-rw-r--r--sip/qt/qsimplerichtext.sip27
1 files changed, 0 insertions, 27 deletions
diff --git a/sip/qt/qsimplerichtext.sip b/sip/qt/qsimplerichtext.sip
index 9d9386c..cc21df5 100644
--- a/sip/qt/qsimplerichtext.sip
+++ b/sip/qt/qsimplerichtext.sip
@@ -29,8 +29,6 @@
%End
-%If (TQt_2_00 -)
-
class TQSimpleRichText
{
%TypeHeaderCode
@@ -41,51 +39,26 @@ public:
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 (TQt_2_1_0 -)
void setWidth(int);
-%End
void setWidth(TQPainter *,int);
-%If (TQt_3_0_0 -)
void setDefaultFont(const TQFont &);
-%End
int width() const;
int widthUsed() const;
int height() const;
-%If (TQt_2_1_0 -)
void adjustSize();
-%End
-%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 (TQt_3_0_0 -)
void draw(TQPainter *,int,int,const TQRect &,const TQColorGroup &,
const TQBrush * = 0) const;
-%End
TQString context() const;
-%If (- TQt_3_0_0)
- TQString anchor(TQPainter *,const TQPoint &);
-%End
-%If (TQt_2_1_0 -)
TQString anchorAt(const TQPoint &) const;
bool inText(const TQPoint &) const;
-%End
private:
-%If (TQt_3_0_0 -)
TQSimpleRichText(const TQSimpleRichText &);
-%End
};
-
-%End