00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef XIMCLIENT_H
00022 #define XIMCLIENT_H
00023
00024 #include "qximinputmethod.h"
00025
00026 class XimClient : public QXimInputMethod
00027 {
00028 Q_OBJECT
00029 public:
00030 XimClient(QObject *parent = 0);
00031 ~XimClient();
00032
00033 void updateHandler(UpdateType type);
00034
00035 protected:
00036 WId winId();
00037 const char *name() const;
00038 const char *locale() const;
00039 bool filter(int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat);
00040
00041 private:
00042 class Private;
00043 Private *d;
00044 };
00045
00046 #include "qimsysabstractpluginobject.h"
00047 class XimClientObject : public QimsysAbstractPluginObject
00048 {
00049 Q_OBJECT
00050 public:
00051 XimClientObject(QObject *parent = 0);
00052 ~XimClientObject();
00053
00054 private:
00055 class Private;
00056 Private *d;
00057 };
00058
00059 #include "qimsysplugin.h"
00060
00061 class XimClientPlugin : public QimsysPlugin
00062 {
00063 Q_OBJECT
00064 Q_INTERFACES(QimsysPlugin)
00065 public:
00066 XimClientPlugin();
00067
00068 protected:
00069 QimsysAbstractPluginObject *createObject(QObject *parent);
00070 };
00071
00072 #endif//XIMCLIENT_H