Qt
6.x
The Qt SDK
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Symbols
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1
// Copyright (C) 2014 Robin Burchell <robin.burchell@viroteck.net>
2
// Copyright (C) 2016 The Qt Company Ltd.
3
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5
#include <QtGui/qgenericplugin.h>
6
#include <QCoreApplication>
7
8
#include "
qtuiohandler_p.h
"
9
10
QT_BEGIN_NAMESPACE
11
12
class
QTuioTouchPlugin
:
public
QGenericPlugin
13
{
14
Q_OBJECT
15
Q_PLUGIN_METADATA
(
IID
QGenericPluginFactoryInterface_iid
FILE
"tuiotouch.json"
)
16
17
public
:
18
QTuioTouchPlugin
();
19
20
QObject
*
create
(
const
QString
&
key
,
const
QString
&specification)
override
;
21
};
22
23
QTuioTouchPlugin::QTuioTouchPlugin
()
24
{
25
}
26
27
QObject
*
QTuioTouchPlugin::create
(
const
QString
&
key
,
28
const
QString
&spec)
29
{
30
if
(!
key
.compare(
QLatin1String
(
"TuioTouch"
),
Qt::CaseInsensitive
))
31
return
new
QTuioHandler
(spec);
32
33
return
nullptr
;
34
}
35
36
QT_END_NAMESPACE
37
38
#include "main.moc"
QGenericPlugin
\inmodule QtGui
Definition
qgenericplugin.h:16
QLatin1StringView
Definition
qlatin1stringview.h:31
QObject
\inmodule QtCore
Definition
qobject.h:90
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QTuioHandler
Definition
qtuiohandler_p.h:24
QTuioTouchPlugin
Definition
main.cpp:13
QTuioTouchPlugin::QTuioTouchPlugin
QTuioTouchPlugin()
Definition
main.cpp:23
QTuioTouchPlugin::create
QObject * create(const QString &key, const QString &specification) override
Implement this function to create a driver matching the type specified by the given key and specifica...
Definition
main.cpp:27
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
Qt::CaseInsensitive
@ CaseInsensitive
Definition
qnamespace.h:1257
QGenericPluginFactoryInterface_iid
#define QGenericPluginFactoryInterface_iid
Definition
qgenericplugin.h:13
key
GLuint64 key
Definition
qopengles2ext.h:2268
QtPluginMetaDataKeys::IID
@ IID
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
Q_PLUGIN_METADATA
#define Q_PLUGIN_METADATA(x)
Definition
qtmetamacros.h:54
qtuiohandler_p.h
create
view create()
qtbase
src
plugins
generic
tuiotouch
main.cpp
Generated by
1.9.7