/* SPDX-FileCopyrightText: 2008, 2009 Fredrik Höglund SPDX-License-Identifier: LGPL-2.0-only */ #pragma once #include #include #include class KDirWatch; class DesktopNotifier : public KDEDModule { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.kde.DesktopNotifier") public: DesktopNotifier(QObject *parent, const QList &); public Q_SLOTS: Q_SCRIPTABLE Q_NOREPLY void watchDir(const QString &path); private Q_SLOTS: void created(const QString &path); void dirty(const QString &path); private: void checkDesktopLocation(); KDirWatch *dirWatch; QUrl m_desktopLocation; };