diff options
Diffstat (limited to 'sip/qt/qfontmetrics.sip')
-rw-r--r-- | sip/qt/qfontmetrics.sip | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/sip/qt/qfontmetrics.sip b/sip/qt/qfontmetrics.sip index 9ab3d89..18e5b4e 100644 --- a/sip/qt/qfontmetrics.sip +++ b/sip/qt/qfontmetrics.sip @@ -61,9 +61,7 @@ class TQFontMetrics public: TQFontMetrics(const TQFont &); -%If (TQt_3_2_0 -) TQFontMetrics(const TQFont &,TQFont::Script); -%End TQFontMetrics(const TQFontMetrics &); int ascent() const; @@ -74,60 +72,12 @@ public: int minLeftBearing() const; int minRightBearing() const; int maxWidth() const; -%If (- TQt_2_00) - bool inFont(char) const; - int leftBearing(char) const; - int rightBearing(char) const; - int width(const char *,int = -1) const; - int width(char) const; - TQRect boundingRect(const char *,int = -1) const; - TQRect boundingRect(char) const; - - TQRect boundingRect(int,int,int,int,int,const char *,int = -1, - SIP_PYLIST /AllowNone/ = 0) const; -%MethodCode - int *tabarray; - - if (intListToArray(a8,&tabarray) < 0) - sipIsErr = 1; - else - { - Py_BEGIN_ALLOW_THREADS - sipRes = new TQRect(sipCpp -> TQFontMetrics::boundingRect(a0,a1,a2,a3,a4,a5,a6,a7,tabarray)); - Py_END_ALLOW_THREADS - - if (tabarray) - sipFree((void *)tabarray); - } -%End - - TQSize size(int,const char *,int = -1,int = 0, - SIP_PYLIST /AllowNone/ = 0) const; -%MethodCode - int *tabarray; - - if (intListToArray(a4,&tabarray) < 0) - sipIsErr = 1; - else - { - Py_BEGIN_ALLOW_THREADS - sipRes = new TQSize(sipCpp -> TQFontMetrics::size(a0,a1,a2,a3,tabarray)); - Py_END_ALLOW_THREADS - - if (tabarray) - sipFree((void *)tabarray); - } -%End -%End -%If (TQt_2_00 -) bool inFont(TQChar) const; int leftBearing(TQChar) const; int rightBearing(TQChar) const; int width(const TQString &,int = -1) const; int width(TQChar) const; -%If (TQt_3_0_0 -) int charWidth(const TQString &,int) const; -%End TQRect boundingRect(const TQString &,int = -1) const; TQRect boundingRect(TQChar) const; @@ -166,12 +116,9 @@ public: sipFree((void *)tabarray); } %End -%End int underlinePos() const; -%If (TQt_3_2_0 -) int overlinePos() const; -%End int strikeOutPos() const; int lineWidth() const; |