1
/****************************************************************************
4
** Definition of QHIMEInputContextPlugin class
6
** Copyright (C) 2004 immodule for Qt Project. All rights reserved.
8
** This file is written to contribute to Trolltech AS under their own
9
** licence. You may use this file under your Qt license. Following
10
** description is copied from their original file headers. Contact
11
** immodule-qt@freedesktop.org if any conditions of this licensing are
15
** This file is part of the input method module of the Qt GUI Toolkit.
17
** This file may be distributed under the terms of the Q Public License
18
** as defined by Trolltech AS of Norway and appearing in the file
19
** LICENSE.QPL included in the packaging of this file.
21
** This file may be distributed and/or modified under the terms of the
22
** GNU General Public License version 2 as published by the Free Software
23
** Foundation and appearing in the file LICENSE.GPL included in the
24
** packaging of this file.
26
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
27
** licenses may use this file in accordance with the Qt Commercial License
28
** Agreement provided with the Software.
30
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
31
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
33
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
34
** information about Qt Commercial License Agreements.
35
** See http://www.trolltech.com/qpl/ for QPL licensing information.
36
** See http://www.trolltech.com/gpl/ for GPL licensing information.
38
** Contact info@trolltech.com if any conditions of this licensing are
41
**********************************************************************/
43
#include "qhimeinputcontext.h"
44
#include <qinputcontextplugin.h>
45
// #include <qstringlist.h>
48
class QHIMEInputContextPlugin : public QInputContextPlugin
52
QHIMEInputContextPlugin();
53
~QHIMEInputContextPlugin();
55
QStringList keys() const;
56
QInputContext *create( const QString &key );
57
QStringList languages( const QString &key );
58
QString displayName( const QString &key );
59
QString description( const QString &key );