tagging release
[dasher.git] / trunk / Src / Qt / QtDasherPlugin.h
blob2ef18b1bf4550249f272e11c93436176cf06cfc8
1 #include <qutfcodec.h>
2 #include <qframe.h>
3 #include "QtDasherScreen.h"
4 #include "DasherInterface.h"
5 #include "DashEdit.h"
7 class QtDasherPlugin:public QFrame, public CDashEditbox {
8 Q_OBJECT public:
9 QtDasherPlugin(QWidget * parent = 0, const char *name = 0, WFlags f = 0);
10 ~QtDasherPlugin();
12 void resetState();
13 QSize sizeHint() const;
15 void write_to_file() {
17 void get_new_context(std::string &, int) {
19 void unflush();
20 void output(int);
21 void outputcontrol(void *pointer, int data, int) {
23 void deletetext();
24 void deletetext(int) {
25 deletetext();
27 void flush(int);
28 void Clear() {
30 void SetEncoding(Dasher::Opts::FileEncodingFormats) {
32 void SetFont(std::string Name, long Size) {
35 signals:
36 void key(ushort, ushort, ushort, bool, bool);
38 private:
39 QtDasherScreen * d;
40 CDasherInterface *interface;
41 int flushcount;
42 QUtf8Codec *utf8_codec;