Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
geocluetypes.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 Denis Shienkov <denis.shienkov@gmail.com>
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
include
"geocluetypes.h"
6
7
QT_BEGIN_NAMESPACE
8
9
QT_IMPL_METATYPE_EXTERN(Timestamp)
10
11
QDBusArgument &operator<<(QDBusArgument &arg,
const
Timestamp &ts)
12
{
13
arg.beginStructure();
14
arg << ts.m_seconds;
15
arg << ts.m_microseconds;
16
arg.endStructure();
17
return
arg;
18
}
19
20
const
QDBusArgument &operator>>(
const
QDBusArgument &arg, Timestamp &ts)
21
{
22
arg.beginStructure();
23
arg >> ts.m_seconds;
24
arg >> ts.m_microseconds;
25
arg.endStructure();
26
return
arg;
27
}
28
29
QT_END_NAMESPACE
qtpositioning
src
plugins
position
geoclue2
geocluetypes.cpp
Generated on
for Qt by
1.16.1