From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- qtjava/javalib/org/kde/qt/QSplitter.java | 66 ++++++++++++++++---------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'qtjava/javalib/org/kde/qt/QSplitter.java') diff --git a/qtjava/javalib/org/kde/qt/QSplitter.java b/qtjava/javalib/org/kde/qt/QSplitter.java index 3340ec6b..2eb1cfde 100644 --- a/qtjava/javalib/org/kde/qt/QSplitter.java +++ b/qtjava/javalib/org/kde/qt/QSplitter.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSplitter extends QFrame { - protected QSplitter(Class dummy){super((Class) null);} +public class TQSplitter extends TQFrame { + protected TQSplitter(Class dummy){super((Class) null);} public static final int DefaultResizeMode = 3; public static final int Stretch = 0; @@ -12,65 +12,65 @@ public class QSplitter extends QFrame { public static final int FollowSizeHint = 2; public static final int Auto = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QSplitter(QWidget parent, String name) { + public TQSplitter(TQWidget parent, String name) { super((Class) null); - newQSplitter(parent,name); + newTQSplitter(parent,name); } - private native void newQSplitter(QWidget parent, String name); - public QSplitter(QWidget parent) { + private native void newTQSplitter(TQWidget parent, String name); + public TQSplitter(TQWidget parent) { super((Class) null); - newQSplitter(parent); + newTQSplitter(parent); } - private native void newQSplitter(QWidget parent); - public QSplitter() { + private native void newTQSplitter(TQWidget parent); + public TQSplitter() { super((Class) null); - newQSplitter(); + newTQSplitter(); } - private native void newQSplitter(); - public QSplitter(int arg1, QWidget parent, String name) { + private native void newTQSplitter(); + public TQSplitter(int arg1, TQWidget parent, String name) { super((Class) null); - newQSplitter(arg1,parent,name); + newTQSplitter(arg1,parent,name); } - private native void newQSplitter(int arg1, QWidget parent, String name); - public QSplitter(int arg1, QWidget parent) { + private native void newTQSplitter(int arg1, TQWidget parent, String name); + public TQSplitter(int arg1, TQWidget parent) { super((Class) null); - newQSplitter(arg1,parent); + newTQSplitter(arg1,parent); } - private native void newQSplitter(int arg1, QWidget parent); - public QSplitter(int arg1) { + private native void newTQSplitter(int arg1, TQWidget parent); + public TQSplitter(int arg1) { super((Class) null); - newQSplitter(arg1); + newTQSplitter(arg1); } - private native void newQSplitter(int arg1); + private native void newTQSplitter(int arg1); public native void setOrientation(int arg1); public native int orientation(); public native void setChildrenCollapsible(boolean arg1); public native boolean childrenCollapsible(); - public native void setCollapsible(QWidget w, boolean arg2); - public native void setResizeMode(QWidget w, int arg2); + public native void setCollapsible(TQWidget w, boolean arg2); + public native void setResizeMode(TQWidget w, int arg2); public native void setOpaqueResize(boolean arg1); public native void setOpaqueResize(); public native boolean opaqueResize(); - public native void moveToFirst(QWidget arg1); - public native void moveToLast(QWidget arg1); + public native void moveToFirst(TQWidget arg1); + public native void moveToLast(TQWidget arg1); public native void refresh(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); public native int[] sizes(); public native void setSizes(int[] arg1); public native int handleWidth(); public native void setHandleWidth(int arg1); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void childEvent(QChildEvent arg1); - public native boolean event(QEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native int idAfter(QWidget arg1); + protected native void childEvent(TQChildEvent arg1); + public native boolean event(TQEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native int idAfter(TQWidget arg1); protected native void moveSplitter(int pos, int id); - protected native void drawSplitter(QPainter arg1, int x, int y, int w, int h); - public native void styleChange(QStyle arg1); + protected native void drawSplitter(TQPainter arg1, int x, int y, int w, int h); + public native void styleChange(TQStyle arg1); protected native int adjustPos(int arg1, int arg2); protected native void setRubberband(int arg1); protected native void getRange(int id, int[] arg2, int[] arg3); -- cgit v1.2.1