1 /* 2 SPDX-FileCopyrightText: 2005-2006 Olivier Goffart <ogoffart at kde.org> 3 4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 5 */ 6 7 #ifndef NOTIFYBYEXECUTE_H 8 #define NOTIFYBYEXECUTE_H 9 10 #include "knotificationplugin.h" 11 12 class NotifyByExecute : public KNotificationPlugin 13 { 14 Q_OBJECT 15 public: 16 explicit NotifyByExecute(QObject *parent = nullptr); 17 ~NotifyByExecute() override; 18 optionName()19 QString optionName() override 20 { 21 return QStringLiteral("Execute"); 22 } 23 void notify(KNotification *notification, KNotifyConfig *config) override; 24 }; 25 26 #endif 27