#ifndef TOOLKIT_H
#define TOOLKIT_H
#include "../ui/toolkit.h"
#include "../common/context.h"
#include "../common/object.h"
#include <QApplication>
class UiEventWrapper : public QObject {
Q_OBJECT
UiObject *obj;
ui_callback callback;
void *userdata;
public:
UiEventWrapper(UiObject *obj, ui_callback f,
void *userdata);
public slots:
void slot();
};
#endif