Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
7
9
10QDBusArgument &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
20{
21 arg.beginStructure();
22 arg >> ts.m_seconds;
23 arg >> ts.m_microseconds;
24 arg.endStructure();
25 return arg;
26}
27
\inmodule QtDBus
quint64 m_microseconds
quint64 m_seconds
const QDBusArgument & operator>>(const QDBusArgument &arg, Timestamp &ts)
Combined button and popup list for selecting options.
#define QT_IMPL_METATYPE_EXTERN(TYPE)
Definition qmetatype.h:1369
SSL_CTX int(*) void arg)