File indexing completed on 2024-04-28 11:43:48

0001 /*
0002     SPDX-FileCopyrightText: 2005-2006 Olivier Goffart <ogoffart at kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #ifndef NOTIFYBYEXECUTE_H
0008 #define NOTIFYBYEXECUTE_H
0009 
0010 #include "knotificationplugin.h"
0011 
0012 class NotifyByExecute : public KNotificationPlugin
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit NotifyByExecute(QObject *parent = nullptr);
0017     ~NotifyByExecute() override;
0018 
0019     QString optionName() override
0020     {
0021         return QStringLiteral("Execute");
0022     }
0023     void notify(KNotification *notification, KNotifyConfig *config) override;
0024 };
0025 
0026 #endif