diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QDialog.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QDialog.java | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/qtjava/javalib/org/kde/qt/QDialog.java b/qtjava/javalib/org/kde/qt/QDialog.java index 5ab01ad1..8c178929 100644 --- a/qtjava/javalib/org/kde/qt/QDialog.java +++ b/qtjava/javalib/org/kde/qt/QDialog.java @@ -3,53 +3,53 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDialog extends QWidget { - protected QDialog(Class dummy){super((Class) null);} +public class TQDialog extends TQWidget { + protected TQDialog(Class dummy){super((Class) null);} public static final int Rejected = 0; public static final int Accepted = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QDialog(QWidget parent, String name, boolean modal, int f) { + public TQDialog(TQWidget parent, String name, boolean modal, int f) { super((Class) null); - newQDialog(parent,name,modal,f); + newTQDialog(parent,name,modal,f); } - private native void newQDialog(QWidget parent, String name, boolean modal, int f); - public QDialog(QWidget parent, String name, boolean modal) { + private native void newTQDialog(TQWidget parent, String name, boolean modal, int f); + public TQDialog(TQWidget parent, String name, boolean modal) { super((Class) null); - newQDialog(parent,name,modal); + newTQDialog(parent,name,modal); } - private native void newQDialog(QWidget parent, String name, boolean modal); - public QDialog(QWidget parent, String name) { + private native void newTQDialog(TQWidget parent, String name, boolean modal); + public TQDialog(TQWidget parent, String name) { super((Class) null); - newQDialog(parent,name); + newTQDialog(parent,name); } - private native void newQDialog(QWidget parent, String name); - public QDialog(QWidget parent) { + private native void newTQDialog(TQWidget parent, String name); + public TQDialog(TQWidget parent) { super((Class) null); - newQDialog(parent); + newTQDialog(parent); } - private native void newQDialog(QWidget parent); - public QDialog() { + private native void newTQDialog(TQWidget parent); + public TQDialog() { super((Class) null); - newQDialog(); + newTQDialog(); } - private native void newQDialog(); + private native void newTQDialog(); public native int result(); public native void show(); public native void hide(); public native void move(int x, int y); - public native void move(QPoint p); + public native void move(TQPoint p); public native void resize(int w, int h); - public native void resize(QSize arg1); + public native void resize(TQSize arg1); public native void setGeometry(int x, int y, int w, int h); - public native void setGeometry(QRect arg1); + public native void setGeometry(TQRect arg1); public native void setOrientation(int orientation); public native int orientation(); - public native void setExtension(QWidget extension); - public native QWidget extension(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + public native void setExtension(TQWidget extension); + public native TQWidget extension(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); public native void setSizeGripEnabled(boolean arg1); public native boolean isSizeGripEnabled(); public native void setModal(boolean modal); @@ -58,12 +58,12 @@ public class QDialog extends QWidget { public static native String tr(String arg1, String arg2); public static native String tr(String arg1); protected native void setResult(int r); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void closeEvent(QCloseEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void contextMenuEvent(QContextMenuEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); - protected native void adjustPosition(QWidget arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + protected native void adjustPosition(TQWidget arg1); protected native void done(int arg1); protected native void accept(); protected native void reject(); |