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