4
* Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
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.
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.
22
* @author Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
23
* @brief This is the header for qt client of scim-bridge.
26
#ifndef SCIMBRIDGECLIENTQT_H_
27
#define SCIMBRIDGECLIENTQT_H_
31
#include <QSocketNotifier>
34
#include <qsocketnotifier.h>
37
#include "scim-bridge.h"
38
#include "scim-bridge-client-imcontext-qt.h"
39
#include "scim-bridge-client-common-qt.h"
42
* The public interface of scim-bridge-client for Qt apps.
44
class ScimBridgeClientQt: public QObject
51
void handle_message ();
60
ScimBridgeClientQt ();
66
~ScimBridgeClientQt ();
70
* A messenger is opened.
72
void messenger_opened ();
76
* A messenger is closed.
78
void messenger_closed ();
85
* The notifier for the messenger socket.
87
QSocketNotifier *socket_notifier;
91
#endif /*SCIMBRIDGECLIENTQT_H_*/