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();
98 virtual void setTimeout(
unsigned int timeout);
99 virtual void handleKeyEvent(QKeyEvent *event,
bool down);
102 void resize(
int width,
int height);
105 std::unique_ptr<QApplication> _qapp;
106 std::unique_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:81
Definition: klash_part.cpp:329
code
Definition: GnashKey.h:43
Parent class from which all GUI implementations will depend.
Definition: gui.h:88
Definition: GnashKey.h:164
Definition: klash_part.cpp:329
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:53
#define DSOEXPORT
Definition: dsodefs.h:55