/* SPDX-FileCopyrightText: 2021 Andrey Butirsky SPDX-License-Identifier: GPL-2.0-or-later */ #include "layoutnames.h" #include void LayoutNames::registerMetaType() { qDBusRegisterMetaType(); qDBusRegisterMetaType>(); } QDBusArgument &operator<<(QDBusArgument &argument, const LayoutNames &layoutNames) { argument.beginStructure(); argument << layoutNames.shortName << layoutNames.displayName << layoutNames.longName; argument.endStructure(); return argument; } const QDBusArgument &operator>>(const QDBusArgument &argument, LayoutNames &layoutNames) { argument.beginStructure(); argument >> layoutNames.shortName >> layoutNames.displayName >> layoutNames.longName; argument.endStructure(); return argument; }