summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQMessageBox.java
blob: 097f6390fb0610d7e359a53eb88a2813107c4bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
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();
}