/* This file is part of the KDE libraries SPDX-FileCopyrightText: 2006-2008 Rafael Fernández López SPDX-FileCopyrightText: 2006-2008 Kevin Ottens SPDX-FileCopyrightText: 2000 Matej Koss SPDX-FileCopyrightText: 2000 David Faure SPDX-FileCopyrightText: 2000 Stephan Kulow SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef KUISERVERJOBTRACKER_P_H #define KUISERVERJOBTRACKER_P_H #include #include #include "jobviewserverinterface.h" class Q_DECL_HIDDEN KSharedUiServerProxy : public QObject { Q_OBJECT public: KSharedUiServerProxy(); ~KSharedUiServerProxy() override; org::kde::JobViewServer *uiserver(); Q_SIGNALS: void serverRegistered(); void serverUnregistered(); private: void uiserverOwnerChanged(const QString &serviceName, const QString &oldOwner, const QString &newOwner); std::unique_ptr m_uiserver; std::unique_ptr m_watcher; }; #endif