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 @@ | |||
1 | #include <qutfcodec.h> | ||
2 | #include <qframe.h> | ||
3 | #include "QtDasherScreen.h" | ||
4 | #include "DasherInterface.h" | ||
5 | #include "DashEdit.h" | ||
6 | |||
7 | class QtDasherPlugin : public QFrame, public CDashEditbox | ||
8 | { | ||
9 | Q_OBJECT | ||
10 | public: | ||
11 | QtDasherPlugin(QWidget* parent=0, const char* name=0, WFlags f=0); | ||
12 | ~QtDasherPlugin(); | ||
13 | |||
14 | void resetState(); | ||
15 | QSize sizeHint() const; | ||
16 | |||
17 | void write_to_file() {}; | ||
18 | void get_new_context(std::string&, int) {}; | ||
19 | void unflush(); | ||
20 | void output(int); | ||
21 | void deletetext(); | ||
22 | void flush(int); | ||
23 | void Clear() {}; | ||
24 | void SetEncoding(Dasher::Opts::FileEncodingFormats) {}; | ||
25 | void SetFont(std::string Name, long Size) {}; | ||
26 | |||
27 | signals: | ||
28 | void key( ushort, ushort, ushort, bool, bool); | ||
29 | |||
30 | private: | ||
31 | QtDasherScreen *d; | ||
32 | CDasherInterface *interface; | ||
33 | int flushcount; | ||
34 | QUtf8Codec *utf8_codec; | ||
35 | }; | ||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||