From 651b6c612db4e809c506973996f2580c4158ac3a Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 27 Sep 2003 11:29:26 +0000 Subject: merge dasher which has been introduced in BRANCH first (wtf?) into HEAD --- (limited to 'inputmethods/dasher/QtDasherPlugin.h') diff --git a/inputmethods/dasher/QtDasherPlugin.h b/inputmethods/dasher/QtDasherPlugin.h new file mode 100644 index 0000000..5f70acf --- a/dev/null +++ b/inputmethods/dasher/QtDasherPlugin.h @@ -0,0 +1,42 @@ +#include +#include +#include "QtDasherScreen.h" +#include "DasherInterface.h" +#include "DashEdit.h" + +class QtDasherPlugin : public QFrame, public CDashEditbox +{ + Q_OBJECT +public: + QtDasherPlugin(QWidget* parent=0, const char* name=0, WFlags f=0); + ~QtDasherPlugin(); + + void resetState(); + QSize sizeHint() const; + + void write_to_file() {}; + void get_new_context(std::string&, int) {}; + void unflush(); + void output(int); + void deletetext(); + void flush(int); + void Clear() {}; + void SetEncoding(Dasher::Opts::FileEncodingFormats) {}; + void SetFont(std::string Name, long Size) {}; + + signals: + void key( ushort, ushort, ushort, bool, bool); + + private: + QtDasherScreen *d; + CDasherInterface *interface; + int flushcount; + QUtf8Codec *utf8_codec; +}; + + + + + + + -- cgit v0.9.0.2