Qt 4.8
quikitsoftwareinputhandler.h
Go to the documentation of this file.
1 
2 
3 /****************************************************************************
4 **
5 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
6 ** Contact: http://www.qt-project.org/legal
7 **
8 ** This file is part of the plugins of the Qt Toolkit.
9 **
10 ** $QT_BEGIN_LICENSE:LGPL$
11 ** Commercial License Usage
12 ** Licensees holding valid commercial Qt licenses may use this file in
13 ** accordance with the commercial license agreement provided with the
14 ** Software or, alternatively, in accordance with the terms contained in
15 ** a written agreement between you and Digia. For licensing terms and
16 ** conditions see http://qt.digia.com/licensing. For further information
17 ** use the contact form at http://qt.digia.com/contact-us.
18 **
19 ** GNU Lesser General Public License Usage
20 ** Alternatively, this file may be used under the terms of the GNU Lesser
21 ** General Public License version 2.1 as published by the Free Software
22 ** Foundation and appearing in the file LICENSE.LGPL included in the
23 ** packaging of this file. Please review the following information to
24 ** ensure the GNU Lesser General Public License version 2.1 requirements
25 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
26 **
27 ** In addition, as a special exception, Digia gives you certain additional
28 ** rights. These rights are described in the Digia Qt LGPL Exception
29 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
30 **
31 ** GNU General Public License Usage
32 ** Alternatively, this file may be used under the terms of the GNU
33 ** General Public License version 3.0 as published by the Free Software
34 ** Foundation and appearing in the file LICENSE.GPL included in the
35 ** packaging of this file. Please review the following information to
36 ** ensure the GNU General Public License version 3.0 requirements will be
37 ** met: http://www.gnu.org/copyleft/gpl.html.
38 **
39 **
40 ** $QT_END_LICENSE$
41 **
42 ****************************************************************************/
43 
44 #ifndef QUIKITSOFTWAREINPUTHANDLER_H
45 #define QUIKITSOFTWAREINPUTHANDLER_H
46 
47 #include <QtCore/QObject>
48 #include <QtCore/QPointer>
49 #include <QtGui/QWidget>
50 
52 
54 {
55  Q_OBJECT
56 
57 public:
59  bool eventFilter(QObject *obj, QEvent *event);
60 
61 private slots:
62  void activeFocusChanged(bool focus);
63 
64 private:
66 
69 };
70 
72 
73 #endif
#define QT_END_NAMESPACE
This macro expands to.
Definition: qglobal.h:90
QPointer< QWidget > widget
void activeFocusChanged(bool focus)
The QWidget class is the base class of all user interface objects.
Definition: qwidget.h:150
The QObject class is the base class of all Qt objects.
Definition: qobject.h:111
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
Definition: qobject.cpp:1200
bool closeSoftwareInputPanel(QWidget *widget)
#define QT_BEGIN_NAMESPACE
This macro expands to.
Definition: qglobal.h:89
#define Q_OBJECT
Definition: qobjectdefs.h:157
#define slots
Definition: qobjectdefs.h:68
The QEvent class is the base class of all event classes.
Definition: qcoreevent.h:56
bool eventFilter(QObject *obj, QEvent *event)
Filters events if this object has been installed as an event filter for the watched object...