diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QFontMetrics.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QFontMetrics.java | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/qtjava/javalib/org/kde/qt/QFontMetrics.java b/qtjava/javalib/org/kde/qt/QFontMetrics.java index 6786b95e..6c1f61ea 100644 --- a/qtjava/javalib/org/kde/qt/QFontMetrics.java +++ b/qtjava/javalib/org/kde/qt/QFontMetrics.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFontMetrics implements QtSupport { +public class TQFontMetrics implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QFontMetrics(Class dummy){} + protected TQFontMetrics(Class dummy){} - public QFontMetrics(QFont arg1) { - newQFontMetrics(arg1); + public TQFontMetrics(TQFont arg1) { + newTQFontMetrics(arg1); } - private native void newQFontMetrics(QFont arg1); - public QFontMetrics(QFont arg1, int arg2) { - newQFontMetrics(arg1,arg2); + private native void newTQFontMetrics(TQFont arg1); + public TQFontMetrics(TQFont arg1, int arg2) { + newTQFontMetrics(arg1,arg2); } - private native void newQFontMetrics(QFont arg1, int arg2); - public QFontMetrics(QFontMetrics arg1) { - newQFontMetrics(arg1); + private native void newTQFontMetrics(TQFont arg1, int arg2); + public TQFontMetrics(TQFontMetrics arg1) { + newTQFontMetrics(arg1); } - private native void newQFontMetrics(QFontMetrics arg1); + private native void newTQFontMetrics(TQFontMetrics arg1); public native int ascent(); public native int descent(); public native int height(); @@ -35,19 +35,19 @@ public class QFontMetrics implements QtSupport { public native int width(String arg1); public native int width(char arg1); public native int charWidth(String str, int pos); - public native QRect boundingRect(String arg1, int len); - public native QRect boundingRect(String arg1); - public native QRect boundingRect(char arg1); - // QRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,int arg8,int* arg9,QTextParag** arg10); >>>> NOT CONVERTED - public native QRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops, int[] tabarray); - public native QRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops); - public native QRect boundingRect(int x, int y, int w, int h, int flags, String str, int len); - public native QRect boundingRect(int x, int y, int w, int h, int flags, String str); - // QSize size(int arg1,const QString& arg2,int arg3,int arg4,int* arg5,QTextParag** arg6); >>>> NOT CONVERTED - public native QSize size(int flags, String str, int len, int tabstops, int[] tabarray); - public native QSize size(int flags, String str, int len, int tabstops); - public native QSize size(int flags, String str, int len); - public native QSize size(int flags, String str); + public native TQRect boundingRect(String arg1, int len); + public native TQRect boundingRect(String arg1); + public native TQRect boundingRect(char arg1); + // TQRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,int arg8,int* arg9,TQTextParag** arg10); >>>> NOT CONVERTED + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops, int[] tabarray); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str); + // TQSize size(int arg1,const TQString& arg2,int arg3,int arg4,int* arg5,TQTextParag** arg6); >>>> NOT CONVERTED + public native TQSize size(int flags, String str, int len, int tabstops, int[] tabarray); + public native TQSize size(int flags, String str, int len, int tabstops); + public native TQSize size(int flags, String str, int len); + public native TQSize size(int flags, String str); public native int underlinePos(); public native int overlinePos(); public native int strikeOutPos(); |