File indexing completed on 2025-01-19 13:55:02
0001 /* 0002 KWin - the KDE window manager 0003 This file is part of the KDE project. 0004 0005 SPDX-FileCopyrightText: 2018 Marco Martin <mart@kde.org> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 0012 #include <QtDBus> 0013 0014 namespace KWin 0015 { 0016 0017 struct DBusDesktopDataStruct 0018 { 0019 uint position; 0020 QString id; 0021 QString name; 0022 }; 0023 typedef QVector<DBusDesktopDataStruct> DBusDesktopDataVector; 0024 } 0025 0026 const QDBusArgument &operator<<(QDBusArgument &argument, const KWin::DBusDesktopDataStruct &desk); 0027 const QDBusArgument &operator>>(const QDBusArgument &argument, KWin::DBusDesktopDataStruct &desk); 0028 0029 Q_DECLARE_METATYPE(KWin::DBusDesktopDataStruct) 0030 0031 const QDBusArgument &operator<<(QDBusArgument &argument, const KWin::DBusDesktopDataVector &deskVector); 0032 const QDBusArgument &operator>>(const QDBusArgument &argument, KWin::DBusDesktopDataVector &deskVector); 0033 0034 Q_DECLARE_METATYPE(KWin::DBusDesktopDataVector)