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.h
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
#
ifndef
GEOCLUETYPES_H
6
#
define
GEOCLUETYPES_H
7
8
#
include
<
QtDBus
/
QDBusArgument
>
9
10
class
Timestamp
11
{
12
public
:
13
quint64
m_seconds
= 0;
14
quint64
m_microseconds
= 0;
15
};
16
17
QT_BEGIN_NAMESPACE
18
19
Q_DECLARE_TYPEINFO
(
Timestamp
,
Q_RELOCATABLE_TYPE
);
20
21
QDBusArgument
&
operator
<<(QDBusArgument &arg,
const
Timestamp
&ts);
22
const
QDBusArgument
&
operator
>>(
const
QDBusArgument &arg,
Timestamp
&ts);
23
24
QT_END_NAMESPACE
25
26
QT_DECL_METATYPE_EXTERN(Timestamp,
/* not exported */
)
27
28
#
endif
// GEOCLUETYPES_H
Timestamp
Definition
geocluetypes.h:11
Timestamp::m_microseconds
quint64 m_microseconds
Definition
geocluetypes.h:14
Timestamp::m_seconds
quint64 m_seconds
Definition
geocluetypes.h:13
operator<<
QDBusArgument & operator<<(QDBusArgument &arg, const Timestamp &ts)
Definition
geocluetypes.cpp:11
operator>>
const QDBusArgument & operator>>(const QDBusArgument &arg, Timestamp &ts)
Definition
geocluetypes.cpp:20
Q_DECLARE_TYPEINFO
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(Timestamp, Q_RELOCATABLE_TYPE)
qtpositioning
src
plugins
position
geoclue2
geocluetypes.h
Generated on
for Qt by
1.16.1