diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 17:43:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 17:43:19 +0000 |
commit | 0292059f4a16434600564cfa3f0ad2309a508a54 (patch) | |
tree | d95953cd53011917c4df679b96aedca39401b54f /examples/qtapp/myqt.h | |
download | libksquirrel-0292059f4a16434600564cfa3f0ad2309a508a54.tar.gz libksquirrel-0292059f4a16434600564cfa3f0ad2309a508a54.zip |
Added libksquirrel for KDE3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/libksquirrel@1095624 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'examples/qtapp/myqt.h')
-rw-r--r-- | examples/qtapp/myqt.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/qtapp/myqt.h b/examples/qtapp/myqt.h new file mode 100644 index 0000000..9e63d4f --- /dev/null +++ b/examples/qtapp/myqt.h @@ -0,0 +1,33 @@ +#ifndef GLWIDGET_H +#define GLWIDGET_H + +#include <qlabel.h> + +#include <csetjmp> + +#include "ksquirrel-libs/fmt_types.h" +#include "ksquirrel-libs/fileio.h" +#include "ksquirrel-libs/fmt_codec_base.h" + +class MyQT : public QLabel +{ + Q_OBJECT + + public: + MyQT(QWidget *parent = 0, const char *name = 0); + ~MyQT(); + + QPixmap loadImage(); + + public slots: + void bind(); + + private: + fmt_codec_base* (*codec_create)(); + void (*codec_destroy)(fmt_codec_base*); + + fmt_codec_base *codeK; + +}; + +#endif |