~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/plugins/inputmethods/imsw-multi/qmultiinputcontextplugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
** $Id$
 
3
**
 
4
** Definition of QMultiInputContextPlugin class
 
5
**
 
6
** Copyright (C) 2004 immodule for Qt Project.  All rights reserved.
 
7
**
 
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
 
12
** not clear to you.
 
13
**
 
14
****************************************************************************/
 
15
 
 
16
/****************************************************************************
 
17
**
 
18
** Copyright (C) 1992-2004 Trolltech AS. All rights reserved.
 
19
**
 
20
** This file is part of the input method module of the Qt Toolkit.
 
21
**
 
22
** Licensees holding valid Qt Preview licenses may use this file in
 
23
** accordance with the Qt Preview License Agreement provided with the
 
24
** Software.
 
25
**
 
26
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
 
27
** information about Qt Commercial License Agreements.
 
28
**
 
29
** Contact info@trolltech.com if any conditions of this licensing are
 
30
** not clear to you.
 
31
**
 
32
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 
33
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
34
**
 
35
****************************************************************************/
 
36
 
 
37
#ifndef QT_NO_IM
 
38
#include "qmultiinputcontext.h"
 
39
#include <qinputcontextplugin.h>
 
40
#include <qstringlist.h>
 
41
 
 
42
 
 
43
class QMultiInputContextPlugin : public QInputContextPlugin
 
44
{
 
45
    Q_OBJECT
 
46
public:
 
47
    QMultiInputContextPlugin();
 
48
    ~QMultiInputContextPlugin();
 
49
 
 
50
    QStringList keys() const;
 
51
    QInputContext *create( const QString &key );
 
52
    QStringList languages( const QString &key );
 
53
    QString displayName( const QString &key );
 
54
    QString description( const QString &key );
 
55
};
 
56
 
 
57
#endif