File indexing completed on 2024-05-05 05:34:39
0001 /* 0002 SPDX-FileCopyrightText: 2021 Arjen Hiemstra <ahiemstra@heimr.nl> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "org.kde.ksystemstats1.h" 0010 #include "systemstats_export.h" 0011 0012 namespace KSysGuard 0013 { 0014 namespace SystemStats 0015 { 0016 const QString ServiceName = QStringLiteral("org.kde.ksystemstats1"); 0017 const QString ObjectPath = QStringLiteral("/org/kde/ksystemstats1"); 0018 const QString InterfaceName = QStringLiteral("org.kde.ksystemstats1"); 0019 0020 /** 0021 * This exposes the generated DBus interface for org.kde.ksystemstats 0022 */ 0023 class SYSTEMSTATS_EXPORT DBusInterface : public org::kde::ksystemstats1 0024 { 0025 Q_OBJECT 0026 public: 0027 DBusInterface(const QString &service = ServiceName, 0028 const QString &path = ObjectPath, 0029 const QDBusConnection &connection = QDBusConnection::sessionBus(), 0030 QObject *parent = nullptr); 0031 }; 0032 0033 } // namespace SystemStats 0034 } // namespace KSysGuard