Debian Codegraph @

src/LomiriSystemInfo/lomiriinputinfo.h

raw symbols SCIP
1 /****************************************************************************
2 **
3 ** Copyright (C) 2018 Canonical, Ltd. and/or its subsidiary(-ies).
4 ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies).
5 ** Contact: http://www.qt-project.org/legal
6 **
7 ** This file is part of the QtSystems module of the Qt Toolkit.
8 **
9 ** $QT_BEGIN_LICENSE:LGPL$
10 ** Commercial License Usage
11 ** Licensees holding valid commercial Qt licenses may use this file in
12 ** accordance with the commercial license agreement provided with the
13 ** Software or, alternatively, in accordance with the terms contained in
14 ** a written agreement between you and The Qt Company. For licensing terms
15 ** and conditions see https://www.qt.io/terms-conditions. For further
16 ** information use the contact form at https://www.qt.io/contact-us.
17 **
18 ** GNU Lesser General Public License Usage
19 ** Alternatively, this file may be used under the terms of the GNU Lesser
20 ** General Public License version 3 as published by the Free Software
21 ** Foundation and appearing in the file LICENSE.LGPL3 included in the
22 ** packaging of this file. Please review the following information to
23 ** ensure the GNU Lesser General Public License version 3 requirements
24 ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
25 **
26 ** GNU General Public License Usage
27 ** Alternatively, this file may be used under the terms of the GNU
28 ** General Public License version 2.0 or (at your option) the GNU General
29 ** Public license version 3 or any later version approved by the KDE Free
30 ** Qt Foundation. The licenses are as published by the Free Software
31 ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
32 ** included in the packaging of this file. Please review the following
33 ** information to ensure the GNU General Public License requirements will
34 ** be met: https://www.gnu.org/licenses/gpl-2.0.html and
35 ** https://www.gnu.org/licenses/gpl-3.0.html.
36 **
37 ** $QT_END_LICENSE$
38 **
39 ****************************************************************************/
40
41 #ifndef QINPUTINFO_H
42 #define QINPUTINFO_Hcxx . . $ `src/LomiriSystemInfo/lomiriinputinfo.h:42:9`!
43
44 #include "lomirisysteminfoglobal.h"cxx . . $ `<file>/src/LomiriSystemInfo/lomirisysteminfoglobal.h`/
45 #include <QObject>
46 #include <QVector>
47 #include <QMap>
48 #include <QSocketNotifier>
49 #include <QDebug>
50 #include <QVariant>
51 #include <QtCore/qglobal.h>
52
53 QT_BEGIN_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:103:10`!
54
55 class LomiriInputInfoManagerPrivatecxx . . $ LomiriInputInfoManagerPrivate#;
56 class LomiriInputDevicePrivatecxx . . $ LomiriInputDevicePrivate#;
57 class LomiriInputDevicecxx . . $ LomiriInputDevice#;
58
59 class LomiriInputInfoManagercxx . . $ LomiriInputInfoManager#;
60
61 #ifndef QT_NO_MIRcxx . . $ `<built-in>:485:9`!
62 class LomiriInputInfoManagerMir;
63 #endif
64 #ifndef QT_NO_UDEV
65 class LomiriInputInfoManagerUdevcxx . . $ LomiriInputInfoManagerUdev#;
66 #endif
67
68 class LOMIRISYSTEMINFO_EXPORTcxx . . $ `src/LomiriSystemInfo/lomirisysteminfoglobal.h:61:13`! LomiriInputDevicecxx . . $ LomiriInputDevice# : public QObjectcxx . . $ QObject#
69 {
70 Q_OBJECTcxx . . $ LomiriInputDevice#staticMetaObject.
71
72 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(QVariantMap properties READ properties CONSTANT)
73 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(LomiriInputDevice::InputTypeFlags types READ types CONSTANT)
74
75 public:
76
77 enum InputTypecxx . . $ LomiriInputDevice#InputType# {
78 UnknownTypecxx . . $ LomiriInputDevice#UnknownType. = 0,
79 Buttoncxx . . $ LomiriInputDevice#Button. = 1,
80 Mousecxx . . $ LomiriInputDevice#Mouse. = 2,
81 TouchPadcxx . . $ LomiriInputDevice#TouchPad. = 4,
82 TouchScreencxx . . $ LomiriInputDevice#TouchScreen. = 8,
83 Keyboardcxx . . $ LomiriInputDevice#Keyboard. = 16,
84 Switchcxx . . $ LomiriInputDevice#Switch. = 32
85 };
86 Q_ENUMScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:65:9`!(InputType)
87
88 Q_DECLARE_FLAGScxx . . $ `<external>/8897976039008836886/qflags.h:217:9`!(InputTypeFlags, InputType)
89 Q_FLAGScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:66:9`!(InputTypeFlags)
90
91 explicit LomiriInputDevicecxx . . $ LomiriInputDevice#LomiriInputDevice(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = Q_NULLPTRcxx . . $ `<external>/13147557517174114922/qcompilerdetection.h:956:10`!);
92 QStringcxx . . $ QString# namecxx . . $ LomiriInputDevice#name(6ef7b6c27b00b43d).() const;
93 QStringcxx . . $ QString# identifiercxx . . $ LomiriInputDevice#identifier(6ef7b6c27b00b43d).() const;
94 QListcxx . . $ QList# <int> buttonscxx . . $ LomiriInputDevice#buttons(acfbda32237c20a3).() const; //keys event code
95 QListcxx . . $ QList# <int> switchescxx . . $ LomiriInputDevice#switches(acfbda32237c20a3).() const;
96 QListcxx . . $ QList# <int> relativeAxescxx . . $ LomiriInputDevice#relativeAxes(acfbda32237c20a3).() const;
97 QListcxx . . $ QList# <int> absoluteAxescxx . . $ LomiriInputDevice#absoluteAxes(acfbda32237c20a3).() const;
98 LomiriInputDevicecxx . . $ LomiriInputDevice#::InputTypeFlagscxx . . $ LomiriInputDevice#InputTypeFlags# typescxx . . $ LomiriInputDevice#types(542ec365239c658).() const;
99 /*
100 * name
101 * identifier
102 * buttons
103 * switches
104 * rAxes
105 * xAxes
106 * types
107 * */
108 QVariantMapcxx . . $ QVariantMap# propertiescxx . . $ LomiriInputDevice#properties(3d2101c3acc1c1e9).();
109
110 private:
111
112 LomiriInputDevicePrivatecxx . . $ LomiriInputDevicePrivate# *d_ptrcxx . . $ LomiriInputDevice#d_ptr.;
113
114 friend class LomiriInputDeviceManagerPrivatecxx . . $ LomiriInputDeviceManagerPrivate#;
115 #ifndef QT_NO_MIRcxx . . $ `<built-in>:485:9`!
116 friend class LomiriInputInfoManagerMir;
117 #endif
118 #ifndef QT_NO_UDEV
119 friend class LomiriInputInfoManagerUdevcxx . . $ LomiriInputInfoManagerUdev#;
120 #endif
121 void setNamecxx . . $ LomiriInputDevice#setName(3520e46b33348bf6).(const QStringcxx . . $ QString# &);
122 void setIdentifiercxx . . $ LomiriInputDevice#setIdentifier(3520e46b33348bf6).(const QStringcxx . . $ QString# &);
123 void addButtoncxx . . $ LomiriInputDevice#addButton(d4f767463ce0a6b3).(int);
124 void addSwitchcxx . . $ LomiriInputDevice#addSwitch(d4f767463ce0a6b3).(int);
125 void addRelativeAxiscxx . . $ LomiriInputDevice#addRelativeAxis(d4f767463ce0a6b3).(int);
126 void addAbsoluteAxiscxx . . $ LomiriInputDevice#addAbsoluteAxis(d4f767463ce0a6b3).(int);
127 void setTypescxx . . $ LomiriInputDevice#setTypes(5c02dbe9d84a2d62).(LomiriInputDevicecxx . . $ LomiriInputDevice#::InputTypeFlagscxx . . $ LomiriInputDevice#InputTypeFlags# flags);
128 QVariantMapcxx . . $ QVariantMap# devicePropertiescxx . . $ LomiriInputDevice#deviceProperties.;
129
130 };
131
132 class LOMIRISYSTEMINFO_EXPORTcxx . . $ `src/LomiriSystemInfo/lomirisysteminfoglobal.h:61:13`! LomiriInputInfoManagercxx . . $ LomiriInputInfoManager# : public QObjectcxx . . $ QObject#
133 {
134 Q_OBJECTcxx . . $ QMetaObject#Call#
135
136 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(int count READ count NOTIFY countChanged)
137 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(LomiriInputDevice::InputTypeFlags filter READ filter WRITE setFilter NOTIFY filterChanged)
138 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(LomiriInputDevice * lastAdded READ lastAdded NOTIFY deviceAdded)
139
140 public:
141
142 explicit LomiriInputInfoManagercxx . . $ LomiriInputInfoManager#LomiriInputInfoManager(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = Q_NULLPTRcxx . . $ `<external>/13147557517174114922/qcompilerdetection.h:956:10`!);
143 ~cxx . . $ LomiriInputInfoManager#`~LomiriInputInfoManager`(ced63f7c635d850d).LomiriInputInfoManagercxx . . $ LomiriInputInfoManager#();
144
145 int countcxx . . $ LomiriInputInfoManager#count(455f465bc33b4cdf).() const;
146 int countcxx . . $ LomiriInputInfoManager#count(2df3da8903fb4063).(const LomiriInputDevicecxx . . $ LomiriInputDevice#::InputTypecxx . . $ LomiriInputDevice#InputType# filter) const;
147
148 void setFiltercxx . . $ LomiriInputInfoManager#setFilter(5c02dbe9d84a2d62).(LomiriInputDevicecxx . . $ LomiriInputDevice#::InputTypeFlagscxx . . $ LomiriInputDevice#InputTypeFlags# filterFlags);
149 LomiriInputDevicecxx . . $ LomiriInputDevice#::InputTypeFlagscxx . . $ LomiriInputDevice#InputTypeFlags# filtercxx . . $ LomiriInputInfoManager#filter(753a209eff0c7a35).();
150
151 QMapcxx . . $ QMap# <QStringcxx . . $ QString#, LomiriInputDevicecxx . . $ LomiriInputDevice# *> deviceMapcxx . . $ LomiriInputInfoManager#deviceMap(638de9b8452953f).();
152 LomiriInputDevicecxx . . $ LomiriInputDevice# *lastAddedcxx . . $ LomiriInputInfoManager#lastAdded(e5e179ad87fb078).();
153
154 Q_SIGNALScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:47:10`!:
155
156 void readycxx . . $ LomiriInputInfoManager#ready(49f6e7a06ebc5aa8).();
157 void deviceAddedcxx . . $ LomiriInputInfoManager#deviceAdded(46a361a52fc11f7f).(LomiriInputDevicecxx . . $ LomiriInputDevice# *inputDevice);
158 void deviceRemovedcxx . . $ LomiriInputInfoManager#deviceRemoved(3520e46b33348bf6).(const QStringcxx . . $ QString# &deviceId);
159
160 void countChangedcxx . . $ LomiriInputInfoManager#countChanged(d4f767463ce0a6b3).(int count);
161 void filterChangedcxx . . $ LomiriInputInfoManager#filterChanged(5c02dbe9d84a2d62).(LomiriInputDevicecxx . . $ LomiriInputDevice#::InputTypeFlagscxx . . $ LomiriInputDevice#InputTypeFlags# filterFlags);
162
163 private Q_SLOTScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:46:10`!:
164 void addedDevicecxx . . $ LomiriInputInfoManager#addedDevice(46a361a52fc11f7f).(LomiriInputDevicecxx . . $ LomiriInputDevice# *devicePath);
165 void removedDevicecxx . . $ LomiriInputInfoManager#removedDevice(3520e46b33348bf6).(const QStringcxx . . $ QString# &deviceId);
166
167 private:
168
169 Q_DISABLE_COPYcxx . . $ LomiriInputInfoManager#`operator=`(c2477bc096c5ceb).(LomiriInputInfoManager)
170 LomiriInputInfoManagerPrivatecxx . . $ LomiriInputInfoManagerPrivate# *const d_ptrcxx . . $ LomiriInputInfoManager#d_ptr.;
171 Q_DECLARE_PRIVATEcxx . . $ qGetPtrHelper(b38c2e6c2a62f0aa).(LomiriInputInfoManager)
172 LomiriInputDevicecxx . . $ LomiriInputDevice#::InputTypeFlagscxx . . $ LomiriInputDevice#InputTypeFlags# currentFiltercxx . . $ LomiriInputInfoManager#currentFilter.;
173 QMapcxx . . $ QMap# <QStringcxx . . $ QString#, LomiriInputDevicecxx . . $ LomiriInputDevice# *> currentFilteredMapcxx . . $ LomiriInputInfoManager#currentFilteredMap.;
174 int filteredCountcxx . . $ LomiriInputInfoManager#filteredCount.;
175
176 private Q_SLOTScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:46:10`!:
177 void privateReadycxx . . $ LomiriInputInfoManager#privateReady(49f6e7a06ebc5aa8).();
178 };
179
180
181 QT_END_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:104:10`!
182
183 Q_DECLARE_METATYPEcxx . . $ std/array#data(8e614c7de0b1573e).(QT_PREPEND_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:101:10`!(LomiriInputDevice::InputType))
184 Q_DECLARE_METATYPEcxx . . $ `<external>/1389693584836040939/qmetatype.h:1507:9`!(QT_PREPEND_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:101:10`!(LomiriInputDevice::InputTypeFlags))
185 Q_DECLARE_OPERATORS_FOR_FLAGScxx . . $ `operator^`(80c16e45575ef8be).(QT_PREPEND_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:101:10`!(LomiriInputDevice::InputTypeFlags))
186
187 #endif // QINPUTINFO_H