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
4
#
include
"geocluetypes.h"
5
6
QT_BEGIN_NAMESPACE
7
8
QT_IMPL_METATYPE_EXTERN(Timestamp)
9
10
QDBusArgument &operator<<(QDBusArgument &arg,
const
Timestamp &ts)
11
{
12
arg.beginStructure();
13
arg << ts.m_seconds;
14
arg << ts.m_microseconds;
15
arg.endStructure();
16
return
arg;
17
}
18
19
const
QDBusArgument &operator>>(
const
QDBusArgument &arg, Timestamp &ts)
20
{
21
arg.beginStructure();
22
arg >> ts.m_seconds;
23
arg >> ts.m_microseconds;
24
arg.endStructure();
25
return
arg;
26
}
27
28
QT_END_NAMESPACE
qtpositioning
src
plugins
position
geoclue2
geocluetypes.cpp
Generated on
for Qt by
1.14.0