summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QFontMetrics.java
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QFontMetrics.java
downloadtdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz
tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QFontMetrics.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QFontMetrics.java61
1 files changed, 61 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QFontMetrics.java b/qtjava/javalib/org/kde/qt/QFontMetrics.java
new file mode 100644
index 00000000..6786b95e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFontMetrics.java
@@ -0,0 +1,61 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFontMetrics implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QFontMetrics(Class dummy){}
+
+ public QFontMetrics(QFont arg1) {
+ newQFontMetrics(arg1);
+ }
+ private native void newQFontMetrics(QFont arg1);
+ public QFontMetrics(QFont arg1, int arg2) {
+ newQFontMetrics(arg1,arg2);
+ }
+ private native void newQFontMetrics(QFont arg1, int arg2);
+ public QFontMetrics(QFontMetrics arg1) {
+ newQFontMetrics(arg1);
+ }
+ private native void newQFontMetrics(QFontMetrics 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 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 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();
+}