Warning, file /plasma/libksysguard/systemstats/DBusInterface.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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.ksystemstats.h" 0010 #include "systemstats_export.h" 0011 0012 namespace KSysGuard 0013 { 0014 namespace SystemStats 0015 { 0016 const QString ServiceName = QStringLiteral("org.kde.ksystemstats"); 0017 const QString ObjectPath = QStringLiteral("/"); 0018 0019 /** 0020 * This exposes the generated DBus interface for org.kde.ksystemstats 0021 */ 0022 class SYSTEMSTATS_EXPORT DBusInterface : public org::kde::ksystemstats 0023 { 0024 Q_OBJECT 0025 public: 0026 DBusInterface(const QString &service = ServiceName, 0027 const QString &path = ObjectPath, 0028 const QDBusConnection &connection = QDBusConnection::sessionBus(), 0029 QObject *parent = nullptr); 0030 }; 0031 0032 } // namespace SystemStats 0033 } // namespace KSysGuard