File indexing completed on 2024-04-28 05:36:51
0001 /* 0002 * SPDX-FileCopyrightText: 2017 Red Hat Inc 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 * 0006 * SPDX-FileCopyrightText: 2017 Jan Grulich <jgrulich@redhat.com> 0007 */ 0008 0009 #ifndef XDG_DESKTOP_PORTAL_KDE_INHIBIT_H 0010 #define XDG_DESKTOP_PORTAL_KDE_INHIBIT_H 0011 0012 #include <QDBusAbstractAdaptor> 0013 #include <QDBusObjectPath> 0014 0015 #include "request.h" 0016 0017 class InhibitPortal : public QDBusAbstractAdaptor 0018 { 0019 Q_OBJECT 0020 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.impl.portal.Inhibit") 0021 public: 0022 explicit InhibitPortal(QObject *parent); 0023 0024 public Q_SLOTS: 0025 void Inhibit(const QDBusObjectPath &handle, const QString &app_id, const QString &window, uint flags, const QVariantMap &options); 0026 }; 0027 0028 #endif // XDG_DESKTOP_PORTAL_KDE_INHIBIT_H