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

« back to all changes in this revision

Viewing changes to src/windowdata.h

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo, Sergio Schvezov, Ricardo Salveti de Araujo
  • Date: 2013-07-23 19:47:04 UTC
  • mfrom: (1.1.2) (1.2.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130723194704-1lsy1kmlda069cea
Tags: 0.99.0+git20130615+97e8335-0ubuntu1
[ Sergio Schvezov ]
* New build from HEAD 97e8335.
* Packaging import from lp:phablet-extras/maliit-framework.

[ Ricardo Salveti de Araujo ]
* debian/control: adding vcs and fixing dependencies
* General package cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* * This file is part of Maliit framework *
 
2
 *
 
3
 * Copyright (C) 2013 Openismus GmbH
 
4
 *
 
5
 * Contact: maliit-discuss@lists.maliit.org
 
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 version 2.1 as published by the Free Software Foundation
 
10
 * and appearing in the file LICENSE.LGPL included in the packaging
 
11
 * of this file.
 
12
 */
 
13
 
 
14
#ifndef MALIIT_WINDOW_DATA_H
 
15
#define MALIIT_WINDOW_DATA_H
 
16
 
 
17
#include <QPointer>
 
18
#include <QWindow>
 
19
#include <QRegion>
 
20
 
 
21
#include <maliit/namespace.h>
 
22
 
 
23
namespace Maliit
 
24
{
 
25
 
 
26
struct WindowData
 
27
{
 
28
    // apparently QVector<WindowData>::append() needs it...
 
29
    WindowData();
 
30
    WindowData(QWindow *window, Maliit::Position position);
 
31
 
 
32
    QPointer<QWindow> m_window;
 
33
    Maliit::Position m_position;
 
34
    QRegion m_inputMethodArea;
 
35
};
 
36
 
 
37
} // namespace Maliit
 
38
 
 
39
#endif // MALIIT_WINDOW_DATA_H