summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-01-08 20:06:00 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-08 20:06:00 +0100
commit636f509299122d02087c6fd62e1e4a46dbd22026 (patch)
tree70e43efceeb5b00e7f19cdac8da44928bd2fb459 /qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java
parent719b61750c08343f530068ed4127623aeac71cf0 (diff)
downloadtdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz
tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java61
1 files changed, 61 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java b/qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java
new file mode 100644
index 00000000..b7db681b
--- /dev/null
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java
@@ -0,0 +1,61 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.qt;
+
+import org.trinitydesktop.qt.Qt;
+
+public class TQFontMetrics implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected TQFontMetrics(Class dummy){}
+
+ public TQFontMetrics(TQFont arg1) {
+ newTQFontMetrics(arg1);
+ }
+ private native void newTQFontMetrics(TQFont arg1);
+ public TQFontMetrics(TQFont arg1, int arg2) {
+ newTQFontMetrics(arg1,arg2);
+ }
+ private native void newTQFontMetrics(TQFont arg1, int arg2);
+ public TQFontMetrics(TQFontMetrics arg1) {
+ newTQFontMetrics(arg1);
+ }
+ private native void newTQFontMetrics(TQFontMetrics arg1);
+ public native int ascent();
+ public native int descent();
+ public native int height();
+ public native int leading();
+ public native int lineSpacing();
+ public native int minLeftBearing();
+ public native int minRightBearing();
+ public native int maxWidth();
+ public native boolean inFont(char arg1);
+ public native int leftBearing(char arg1);
+ public native int rightBearing(char arg1);
+ public native int width(String arg1, int len);
+ public native int width(String arg1);
+ public native int width(char arg1);
+ public native int charWidth(String str, int pos);
+ 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();
+ public native int lineWidth();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}