~timo-jyrinki/ubuntu/trusty/maliit-framework/fix_qt52

« back to all changes in this revision

Viewing changes to maliit/inputmethod_p.h

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-01-31 13:26:48 UTC
  • Revision ID: package-import@ubuntu.com-20130131132648-w1u9d2279tppxcft
Tags: upstream-0.94.1
ImportĀ upstreamĀ versionĀ 0.94.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* * This file is part of Maliit framework *
 
2
 *
 
3
 * Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies).
 
4
 * All rights reserved.
 
5
 *
 
6
 * Contact: maliit-discuss@lists.maliit.org
 
7
 *
 
8
 * This library is free software; you can redistribute it and/or
 
9
 * modify it under the terms of the GNU Lesser General Public
 
10
 * License version 2.1 as published by the Free Software Foundation
 
11
 * and appearing in the file LICENSE.LGPL included in the packaging
 
12
 * of this file.
 
13
 */
 
14
 
 
15
// Based on minputmethodstate_p.h from libmeegotouch
 
16
 
 
17
#ifndef INPUTMETHOD_P_H
 
18
#define INPUTMETHOD_P_H
 
19
 
 
20
#include "inputmethod.h"
 
21
 
 
22
namespace Maliit {
 
23
 
 
24
class InputMethodPrivate
 
25
{
 
26
public:
 
27
    InputMethodPrivate();
 
28
    ~InputMethodPrivate();
 
29
 
 
30
    //! Current input method area
 
31
    QRect area;
 
32
 
 
33
    QWidget *widget;
 
34
 
 
35
    //! Current orientation angle of application's active window
 
36
    OrientationAngle orientationAngle;
 
37
 
 
38
    //! Indicate during rotation changing.
 
39
    bool rotationInProgress;
 
40
 
 
41
    //! Current language of active input method
 
42
    QString language;
 
43
 
 
44
private:
 
45
    Q_DISABLE_COPY(InputMethodPrivate)
 
46
};
 
47
 
 
48
}
 
49
 
 
50
#endif // INPUTMETHOD_P_H