You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1018 B
36 lines
1018 B
/* |
|
KWin - the KDE window manager |
|
This file is part of the KDE project. |
|
|
|
SPDX-FileCopyrightText: 2018 Marco Martin <mart@kde.org> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#ifndef KWIN_VIRTUALDESKTOPS_DBUS_TYPES_H |
|
#define KWIN_VIRTUALDESKTOPS_DBUS_TYPES_H |
|
|
|
#include <QtDBus> |
|
|
|
namespace KWin |
|
{ |
|
|
|
struct DBusDesktopDataStruct { |
|
uint position; |
|
QString id; |
|
QString name; |
|
}; |
|
typedef QVector<DBusDesktopDataStruct> DBusDesktopDataVector; |
|
} |
|
|
|
const QDBusArgument &operator<<(QDBusArgument &argument, const KWin::DBusDesktopDataStruct &desk); |
|
const QDBusArgument &operator>>(const QDBusArgument &argument, KWin::DBusDesktopDataStruct &desk); |
|
|
|
Q_DECLARE_METATYPE(KWin::DBusDesktopDataStruct) |
|
|
|
const QDBusArgument &operator<<(QDBusArgument &argument, const KWin::DBusDesktopDataVector &deskVector); |
|
const QDBusArgument &operator>>(const QDBusArgument &argument, KWin::DBusDesktopDataVector &deskVector); |
|
|
|
Q_DECLARE_METATYPE(KWin::DBusDesktopDataVector) |
|
|
|
#endif // KWIN_VIRTUALDESKTOPS_DBUS_TYPES_H
|
|
|