Warning, file /pim/akonadi-calendar/reminder-daemon/tests/notificationobject.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: 2023-2024 Laurent Montel <montel.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include <KNotification>
0009 #include <QObject>
0010 #include <QPointer>
0011 
0012 class NotificationObject : public QObject
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit NotificationObject(QObject *parent = nullptr);
0017     ~NotificationObject() override;
0018 
0019     void sendNotification(const QString &title, const QString &summary);
0020 
0021 private:
0022     QPointer<KNotification> m_notification;
0023 };