SCIMBridge  0.4.x
scim-bridge-client-qt.h
Go to the documentation of this file.
1 /*
2  * SCIM Bridge
3  *
4  * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
5  *
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation and
10  * appearing in the file LICENSE.LGPL included in the package of this file.
11  * You can also redistribute it and/or modify it under the terms of
12  * the GNU General Public License as published by the Free Software Foundation and
13  * appearing in the file LICENSE.GPL included in the package of this file.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18  */
19 
26 #ifndef SCIMBRIDGECLIENTQT_H_
27 #define SCIMBRIDGECLIENTQT_H_
28 
29 #ifdef QT4
30 #include <QObject>
31 #include <QSocketNotifier>
32 #else
33 #include <qobject.h>
34 #include <qsocketnotifier.h>
35 #endif
36 
37 #include "scim-bridge.h"
40 
44 class ScimBridgeClientQt: public QObject
45 {
46 
47  Q_OBJECT
48 
49  public slots:
50 
51  void handle_message ();
52 
53 
54  public:
55 
56 
61 
62 
67 
68 
72  void messenger_opened ();
73 
74 
78  void messenger_closed ();
79 
80 
81  private:
82 
83 
87  QSocketNotifier *socket_notifier;
88 
89 };
90 
91 #endif /*SCIMBRIDGECLIENTQT_H_*/
void messenger_opened()
Definition: scim-bridge-client-qt.cpp:71
This is the common header for qt client of scim-bridge.
~ScimBridgeClientQt()
Definition: scim-bridge-client-qt.cpp:60
This header describes about fundamental definitions of scim-bridge.
void messenger_closed()
Definition: scim-bridge-client-qt.cpp:81
ScimBridgeClientQt()
Definition: scim-bridge-client-qt.cpp:48
This is the header of the public interface of IMContexts.
Definition: scim-bridge-client-qt.h:44