//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.qt; import org.kde.qt.Qt; public class QMessageBox extends QDialog { protected QMessageBox(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 QMetaObject metaObject(); public native String className(); public QMessageBox(QWidget parent, String name) { super((Class) null); newQMessageBox(parent,name); } private native void newQMessageBox(QWidget parent, String name); public QMessageBox(QWidget parent) { super((Class) null); newQMessageBox(parent); } private native void newQMessageBox(QWidget parent); public QMessageBox() { super((Class) null); newQMessageBox(); } 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) { super((Class) null); newQMessageBox(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) { super((Class) null); newQMessageBox(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) { super((Class) null); newQMessageBox(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) { super((Class) null); newQMessageBox(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) { super((Class) null); newQMessageBox(caption,text,icon,button0,button1,button2); } private native void newQMessageBox(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 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(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 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); 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); /** 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(); }