1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_java_awt_peer_qt_QtToolkit__
|
5 |
|
|
#define __gnu_java_awt_peer_qt_QtToolkit__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <gnu/java/awt/ClasspathToolkit.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace java
|
17 |
|
|
{
|
18 |
|
|
namespace awt
|
19 |
|
|
{
|
20 |
|
|
class EmbeddedWindow;
|
21 |
|
|
namespace peer
|
22 |
|
|
{
|
23 |
|
|
class ClasspathFontPeer;
|
24 |
|
|
class EmbeddedWindowPeer;
|
25 |
|
|
namespace qt
|
26 |
|
|
{
|
27 |
|
|
class MainQtThread;
|
28 |
|
|
class QtGraphicsEnvironment;
|
29 |
|
|
class QtRepaintThread;
|
30 |
|
|
class QtToolkit;
|
31 |
|
|
}
|
32 |
|
|
}
|
33 |
|
|
}
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
namespace java
|
37 |
|
|
{
|
38 |
|
|
namespace awt
|
39 |
|
|
{
|
40 |
|
|
class Button;
|
41 |
|
|
class Canvas;
|
42 |
|
|
class Checkbox;
|
43 |
|
|
class CheckboxMenuItem;
|
44 |
|
|
class Choice;
|
45 |
|
|
class Dialog;
|
46 |
|
|
class Dialog$ModalExclusionType;
|
47 |
|
|
class Dialog$ModalityType;
|
48 |
|
|
class Dimension;
|
49 |
|
|
class EventQueue;
|
50 |
|
|
class FileDialog;
|
51 |
|
|
class Font;
|
52 |
|
|
class FontMetrics;
|
53 |
|
|
class Frame;
|
54 |
|
|
class GraphicsDevice;
|
55 |
|
|
class GraphicsEnvironment;
|
56 |
|
|
class Image;
|
57 |
|
|
class Label;
|
58 |
|
|
class List;
|
59 |
|
|
class Menu;
|
60 |
|
|
class MenuBar;
|
61 |
|
|
class MenuItem;
|
62 |
|
|
class Panel;
|
63 |
|
|
class PopupMenu;
|
64 |
|
|
class PrintJob;
|
65 |
|
|
class ScrollPane;
|
66 |
|
|
class Scrollbar;
|
67 |
|
|
class TextArea;
|
68 |
|
|
class TextField;
|
69 |
|
|
class Window;
|
70 |
|
|
namespace datatransfer
|
71 |
|
|
{
|
72 |
|
|
class Clipboard;
|
73 |
|
|
}
|
74 |
|
|
namespace dnd
|
75 |
|
|
{
|
76 |
|
|
class DragGestureEvent;
|
77 |
|
|
namespace peer
|
78 |
|
|
{
|
79 |
|
|
class DragSourceContextPeer;
|
80 |
|
|
}
|
81 |
|
|
}
|
82 |
|
|
namespace event
|
83 |
|
|
{
|
84 |
|
|
class AWTEventListener;
|
85 |
|
|
}
|
86 |
|
|
namespace im
|
87 |
|
|
{
|
88 |
|
|
class InputMethodHighlight;
|
89 |
|
|
}
|
90 |
|
|
namespace image
|
91 |
|
|
{
|
92 |
|
|
class ColorModel;
|
93 |
|
|
class ImageObserver;
|
94 |
|
|
class ImageProducer;
|
95 |
|
|
}
|
96 |
|
|
namespace peer
|
97 |
|
|
{
|
98 |
|
|
class ButtonPeer;
|
99 |
|
|
class CanvasPeer;
|
100 |
|
|
class CheckboxMenuItemPeer;
|
101 |
|
|
class CheckboxPeer;
|
102 |
|
|
class ChoicePeer;
|
103 |
|
|
class DialogPeer;
|
104 |
|
|
class FileDialogPeer;
|
105 |
|
|
class FontPeer;
|
106 |
|
|
class FramePeer;
|
107 |
|
|
class LabelPeer;
|
108 |
|
|
class ListPeer;
|
109 |
|
|
class MenuBarPeer;
|
110 |
|
|
class MenuItemPeer;
|
111 |
|
|
class MenuPeer;
|
112 |
|
|
class PanelPeer;
|
113 |
|
|
class PopupMenuPeer;
|
114 |
|
|
class RobotPeer;
|
115 |
|
|
class ScrollPanePeer;
|
116 |
|
|
class ScrollbarPeer;
|
117 |
|
|
class TextAreaPeer;
|
118 |
|
|
class TextFieldPeer;
|
119 |
|
|
class WindowPeer;
|
120 |
|
|
}
|
121 |
|
|
}
|
122 |
|
|
namespace net
|
123 |
|
|
{
|
124 |
|
|
class URL;
|
125 |
|
|
}
|
126 |
|
|
}
|
127 |
|
|
}
|
128 |
|
|
|
129 |
|
|
class gnu::java::awt::peer::qt::QtToolkit : public ::gnu::java::awt::ClasspathToolkit
|
130 |
|
|
{
|
131 |
|
|
|
132 |
|
|
static void initToolkit();
|
133 |
|
|
public:
|
134 |
|
|
QtToolkit();
|
135 |
|
|
public: // actually package-private
|
136 |
|
|
virtual JArray< ::java::lang::String * > * nativeFontFamilies();
|
137 |
|
|
virtual jint numScreens();
|
138 |
|
|
virtual jint defaultScreen();
|
139 |
|
|
public:
|
140 |
|
|
virtual void beep();
|
141 |
|
|
virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
|
142 |
|
|
public: // actually protected
|
143 |
|
|
virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *);
|
144 |
|
|
virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *);
|
145 |
|
|
virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *);
|
146 |
|
|
virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *);
|
147 |
|
|
virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *);
|
148 |
|
|
public:
|
149 |
|
|
virtual ::java::awt::dnd::peer::DragSourceContextPeer * createDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *);
|
150 |
|
|
public: // actually protected
|
151 |
|
|
virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *);
|
152 |
|
|
virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *);
|
153 |
|
|
public:
|
154 |
|
|
virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
|
155 |
|
|
virtual ::java::awt::Image * createImage(JArray< jbyte > *, jint, jint);
|
156 |
|
|
virtual ::java::awt::Image * createImage(::java::lang::String *);
|
157 |
|
|
virtual ::java::awt::Image * createImage(::java::net::URL *);
|
158 |
|
|
public: // actually protected
|
159 |
|
|
virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *);
|
160 |
|
|
virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *);
|
161 |
|
|
virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *);
|
162 |
|
|
virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *);
|
163 |
|
|
virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *);
|
164 |
|
|
virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *);
|
165 |
|
|
virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *);
|
166 |
|
|
virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *);
|
167 |
|
|
virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *);
|
168 |
|
|
virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *);
|
169 |
|
|
virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *);
|
170 |
|
|
virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *);
|
171 |
|
|
virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *);
|
172 |
|
|
public:
|
173 |
|
|
virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners();
|
174 |
|
|
virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners(jlong);
|
175 |
|
|
virtual ::java::awt::image::ColorModel * getColorModel();
|
176 |
|
|
virtual JArray< ::java::lang::String * > * getFontList();
|
177 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
|
178 |
|
|
public: // actually protected
|
179 |
|
|
virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint);
|
180 |
|
|
public:
|
181 |
|
|
virtual ::java::awt::Image * getImage(::java::lang::String *);
|
182 |
|
|
virtual ::java::awt::Image * getImage(::java::net::URL *);
|
183 |
|
|
virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *);
|
184 |
|
|
virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard();
|
185 |
|
|
public: // actually protected
|
186 |
|
|
virtual ::java::awt::EventQueue * getSystemEventQueueImpl();
|
187 |
|
|
public:
|
188 |
|
|
virtual ::java::awt::Dimension * getScreenSize();
|
189 |
|
|
virtual jint getScreenResolution();
|
190 |
|
|
virtual ::java::util::Map * mapInputMethodHighlight(::java::awt::im::InputMethodHighlight *);
|
191 |
|
|
virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
|
192 |
|
|
virtual void sync();
|
193 |
|
|
virtual ::java::awt::GraphicsEnvironment * getLocalGraphicsEnvironment();
|
194 |
|
|
virtual ::gnu::java::awt::peer::ClasspathFontPeer * getClasspathFontPeer(::java::lang::String *, ::java::util::Map *);
|
195 |
|
|
virtual ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
|
196 |
|
|
virtual ::java::awt::peer::RobotPeer * createRobot(::java::awt::GraphicsDevice *);
|
197 |
|
|
virtual ::gnu::java::awt::peer::EmbeddedWindowPeer * createEmbeddedWindow(::gnu::java::awt::EmbeddedWindow *);
|
198 |
|
|
virtual jboolean isModalExclusionTypeSupported(::java::awt::Dialog$ModalExclusionType *);
|
199 |
|
|
virtual jboolean isModalityTypeSupported(::java::awt::Dialog$ModalityType *);
|
200 |
|
|
static ::java::awt::EventQueue * eventQueue;
|
201 |
|
|
static ::gnu::java::awt::peer::qt::QtRepaintThread * repaintThread;
|
202 |
|
|
static ::gnu::java::awt::peer::qt::MainQtThread * guiThread;
|
203 |
|
|
static ::gnu::java::awt::peer::qt::QtGraphicsEnvironment * graphicsEnv;
|
204 |
|
|
static ::java::lang::Class class$;
|
205 |
|
|
};
|
206 |
|
|
|
207 |
|
|
#endif // __gnu_java_awt_peer_qt_QtToolkit__
|