author | mickeyl <mickeyl> | 2003-09-27 11:29:26 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-09-27 11:29:26 (UTC) |
commit | 651b6c612db4e809c506973996f2580c4158ac3a (patch) (side-by-side diff) | |
tree | 8c8edc86e4b206dd4542a6b556ad1a319d6698ab /inputmethods/dasher/QtDasherPlugin.h | |
parent | d1a11b45e805fe7771ea05944757d767c3c4c8ea (diff) | |
download | opie-651b6c612db4e809c506973996f2580c4158ac3a.zip opie-651b6c612db4e809c506973996f2580c4158ac3a.tar.gz opie-651b6c612db4e809c506973996f2580c4158ac3a.tar.bz2 |
merge dasher which has been introduced in BRANCH first (wtf?) into HEAD
Diffstat (limited to 'inputmethods/dasher/QtDasherPlugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/dasher/QtDasherPlugin.h | 42 |
1 files changed, 42 insertions, 0 deletions
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 <qutfcodec.h> +#include <qframe.h> +#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; +}; + + + + + + + |