19 #ifndef GNASH_KDESUP_H
20 #define GNASH_KDESUP_H
28 #include <qapplication.h>
29 #include <qpopupmenu.h>
31 #ifdef RENDERER_OPENGL
34 # define WIDGETCLASS QGLWidget
35 # define GLUE KdeOpenGLGlue
36 #elif defined(RENDERER_CAIRO)
39 # error "Cairo not supported yet for KDE!"
40 #elif defined(RENDERER_AGG)
42 # define WIDGETCLASS QWidget
43 # define GLUE KdeAggGlue
61 void contextMenuEvent(QContextMenuEvent *event);
90 virtual bool init(
int argc,
char **argv[]);
91 virtual bool createWindow(
const char* windowtitle,
int width,
int height,
92 int xPosition = 0,
int yPosition = 0);
94 virtual bool createMenu();
95 virtual bool setupEvents();
96 virtual void renderBuffer();
97 virtual void setInterval(
unsigned int interval);
98 virtual void setTimeout(
unsigned int timeout);
99 virtual void handleKeyEvent(QKeyEvent *event,
bool down);
102 void resize(
int width,
int height);
105 std::auto_ptr<QApplication> _qapp;
106 std::auto_ptr<qwidget> _qwidget;
110 int qtToGnashModifier(Qt::ButtonState state);
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
gnash_cursor_type
Enumerates mouse cursor types.
Definition: gui.h:80
Definition: klash_part.cpp:329
code
Definition: GnashKey.h:43
Parent class from which all GUI implementations will depend.
Definition: gui.h:87
Definition: GnashKey.h:164
Definition: klash_part.cpp:329
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:43
#define DSOEXPORT
Definition: dsodefs.h:55