summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QMessageBox.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QMessageBox.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QMessageBox.java156
1 files changed, 78 insertions, 78 deletions
diff --git a/qtjava/javalib/org/kde/qt/QMessageBox.java b/qtjava/javalib/org/kde/qt/QMessageBox.java
index 2c46f334..2b5131a0 100644
--- a/qtjava/javalib/org/kde/qt/QMessageBox.java
+++ b/qtjava/javalib/org/kde/qt/QMessageBox.java
@@ -3,8 +3,8 @@ package org.kde.qt;
import org.kde.qt.Qt;
-public class QMessageBox extends QDialog {
- protected QMessageBox(Class dummy){super((Class) null);}
+public class TQMessageBox extends TQDialog {
+ protected TQMessageBox(Class dummy){super((Class) null);}
public static final int NoButton = 0;
public static final int Ok = 1;
public static final int Cancel = 2;
@@ -26,55 +26,55 @@ public class QMessageBox extends QDialog {
public static final int Critical = 3;
public static final int Question = 4;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public QMessageBox(QWidget parent, String name) {
+ public TQMessageBox(TQWidget parent, String name) {
super((Class) null);
- newQMessageBox(parent,name);
+ newTQMessageBox(parent,name);
}
- private native void newQMessageBox(QWidget parent, String name);
- public QMessageBox(QWidget parent) {
+ private native void newTQMessageBox(TQWidget parent, String name);
+ public TQMessageBox(TQWidget parent) {
super((Class) null);
- newQMessageBox(parent);
+ newTQMessageBox(parent);
}
- private native void newQMessageBox(QWidget parent);
- public QMessageBox() {
+ private native void newTQMessageBox(TQWidget parent);
+ public TQMessageBox() {
super((Class) null);
- newQMessageBox();
+ newTQMessageBox();
}
- private native void newQMessageBox();
- public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal, int f) {
+ private native void newTQMessageBox();
+ public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal, int f) {
super((Class) null);
- newQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal,f);
+ newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal,f);
}
- private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal, int f);
- public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal) {
+ private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal, int f);
+ public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal) {
super((Class) null);
- newQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal);
+ newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal);
}
- private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal);
- public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name) {
+ private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal);
+ public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name) {
super((Class) null);
- newQMessageBox(caption,text,icon,button0,button1,button2,parent,name);
+ newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name);
}
- private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name);
- public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent) {
+ private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name);
+ public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent) {
super((Class) null);
- newQMessageBox(caption,text,icon,button0,button1,button2,parent);
+ newTQMessageBox(caption,text,icon,button0,button1,button2,parent);
}
- private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent);
- public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2) {
+ private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent);
+ public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2) {
super((Class) null);
- newQMessageBox(caption,text,icon,button0,button1,button2);
+ newTQMessageBox(caption,text,icon,button0,button1,button2);
}
- private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2);
+ private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2);
public native String text();
public native void setText(String arg1);
public native int iconId();
public native void setIcon(int arg1);
- public native void setIcon(QPixmap arg1);
- public native QPixmap iconPixmap();
- public native void setIconPixmap(QPixmap arg1);
+ public native void setIcon(TQPixmap arg1);
+ public native TQPixmap iconPixmap();
+ public native void setIconPixmap(TQPixmap arg1);
public native String buttonText(int button);
public native void setButtonText(int button, String arg2);
public native void adjustSize();
@@ -82,59 +82,59 @@ public class QMessageBox extends QDialog {
public native void setTextFormat(int arg1);
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
- public static native int information(QWidget parent, String caption, String text, int button0, int button1, int button2);
- public static native int information(QWidget parent, String caption, String text, int button0, int button1);
- public static native int information(QWidget parent, String caption, String text, int button0);
- public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
- public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
- public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
- public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text);
- public static native int information(QWidget parent, String caption, String text, String button0Text);
- public static native int information(QWidget parent, String caption, String text);
- public static native int question(QWidget parent, String caption, String text, int button0, int button1, int button2);
- public static native int question(QWidget parent, String caption, String text, int button0, int button1);
- public static native int question(QWidget parent, String caption, String text, int button0);
- public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
- public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
- public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
- public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text);
- public static native int question(QWidget parent, String caption, String text, String button0Text);
- public static native int question(QWidget parent, String caption, String text);
- public static native int warning(QWidget parent, String caption, String text, int button0, int button1, int button2);
- public static native int warning(QWidget parent, String caption, String text, int button0, int button1);
- public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
- public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
- public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
- public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text);
- public static native int warning(QWidget parent, String caption, String text, String button0Text);
- public static native int warning(QWidget parent, String caption, String text);
- public static native int critical(QWidget parent, String caption, String text, int button0, int button1, int button2);
- public static native int critical(QWidget parent, String caption, String text, int button0, int button1);
- public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
- public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
- public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
- public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text);
- public static native int critical(QWidget parent, String caption, String text, String button0Text);
- public static native int critical(QWidget parent, String caption, String text);
- public static native void about(QWidget parent, String caption, String text);
- public static native void aboutQt(QWidget parent, String caption);
- public static native void aboutQt(QWidget parent);
- public static native int message(String caption, String text, String buttonText, QWidget parent, String arg5);
- public static native int message(String caption, String text, String buttonText, QWidget parent);
+ public static native int information(TQWidget parent, String caption, String text, int button0, int button1, int button2);
+ public static native int information(TQWidget parent, String caption, String text, int button0, int button1);
+ public static native int information(TQWidget parent, String caption, String text, int button0);
+ public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
+ public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
+ public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
+ public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text);
+ public static native int information(TQWidget parent, String caption, String text, String button0Text);
+ public static native int information(TQWidget parent, String caption, String text);
+ public static native int question(TQWidget parent, String caption, String text, int button0, int button1, int button2);
+ public static native int question(TQWidget parent, String caption, String text, int button0, int button1);
+ public static native int question(TQWidget parent, String caption, String text, int button0);
+ public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
+ public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
+ public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
+ public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text);
+ public static native int question(TQWidget parent, String caption, String text, String button0Text);
+ public static native int question(TQWidget parent, String caption, String text);
+ public static native int warning(TQWidget parent, String caption, String text, int button0, int button1, int button2);
+ public static native int warning(TQWidget parent, String caption, String text, int button0, int button1);
+ public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
+ public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
+ public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
+ public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text);
+ public static native int warning(TQWidget parent, String caption, String text, String button0Text);
+ public static native int warning(TQWidget parent, String caption, String text);
+ public static native int critical(TQWidget parent, String caption, String text, int button0, int button1, int button2);
+ public static native int critical(TQWidget parent, String caption, String text, int button0, int button1);
+ public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
+ public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
+ public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
+ public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text);
+ public static native int critical(TQWidget parent, String caption, String text, String button0Text);
+ public static native int critical(TQWidget parent, String caption, String text);
+ public static native void about(TQWidget parent, String caption, String text);
+ public static native void aboutQt(TQWidget parent, String caption);
+ public static native void aboutQt(TQWidget parent);
+ public static native int message(String caption, String text, String buttonText, TQWidget parent, String arg5);
+ public static native int message(String caption, String text, String buttonText, TQWidget parent);
public static native int message(String caption, String text, String buttonText);
public static native int message(String caption, String text);
- public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, QWidget parent, String arg6);
- public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, QWidget parent);
+ public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, TQWidget parent, String arg6);
+ public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, TQWidget parent);
public static native boolean query(String caption, String text, String yesButtonText, String noButtonText);
public static native boolean query(String caption, String text, String yesButtonText);
public static native boolean query(String caption, String text);
- public static native QPixmap standardIcon(int icon, int arg2);
- public static native QPixmap standardIcon(int icon);
- protected native void resizeEvent(QResizeEvent arg1);
- public native void showEvent(QShowEvent arg1);
- protected native void closeEvent(QCloseEvent arg1);
- protected native void keyPressEvent(QKeyEvent arg1);
- protected native void styleChanged(QStyle arg1);
+ public static native TQPixmap standardIcon(int icon, int arg2);
+ public static native TQPixmap standardIcon(int icon);
+ protected native void resizeEvent(TQResizeEvent arg1);
+ public native void showEvent(TQShowEvent arg1);
+ protected native void closeEvent(TQCloseEvent arg1);
+ protected native void keyPressEvent(TQKeyEvent arg1);
+ protected native void styleChanged(TQStyle arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */