diff options
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQMessageBox.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQMessageBox.java | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMessageBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQMessageBox.java new file mode 100644 index 00000000..097f6390 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMessageBox.java @@ -0,0 +1,144 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +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; + public static final int Yes = 3; + public static final int No = 4; + public static final int Abort = 5; + public static final int Retry = 6; + public static final int Ignore = 7; + public static final int YesAll = 8; + public static final int NoAll = 9; + public static final int ButtonMask = 0xff; + public static final int Default = 0x100; + public static final int Escape = 0x200; + public static final int FlagMask = 0x300; + + public static final int NoIcon = 0; + public static final int Information = 1; + public static final int Warning = 2; + public static final int Critical = 3; + public static final int Question = 4; + + public native TQMetaObject metaObject(); + public native String className(); + public TQMessageBox(TQWidget parent, String name) { + super((Class) null); + newTQMessageBox(parent,name); + } + private native void newTQMessageBox(TQWidget parent, String name); + public TQMessageBox(TQWidget parent) { + super((Class) null); + newTQMessageBox(parent); + } + private native void newTQMessageBox(TQWidget parent); + public TQMessageBox() { + super((Class) null); + newTQMessageBox(); + } + 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); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal,f); + } + 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); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal); + } + 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); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name); + } + 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); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent); + } + 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); + newTQMessageBox(caption,text,icon,button0,button1,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(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(); + public native int textFormat(); + 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(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 aboutTQt(TQWidget parent, String caption); + public static native void aboutTQt(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, 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 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() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |