// SPDX-FileCopyrightText: 2021 Carl Schwan // SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL #pragma once #include #include class ApplicationIntegration : public QObject { Q_OBJECT Q_PROPERTY(bool korganizerInstalled READ korganizerInstalled CONSTANT) public: explicit ApplicationIntegration(QObject *parent = nullptr); ~ApplicationIntegration() = default; bool korganizerInstalled() const; Q_INVOKABLE void launchKorganizer() const; private: KService::Ptr m_korganizerService; };