This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
/* |
| 2 |
Copyright (C) 2010 by Jeffery MacEachern <j.maceachern@gmail.com> |
| 3 |
|
| 4 |
|
| 5 |
This program is free software; you can redistribute it and/or modify |
| 6 |
it under the terms of the GNU General Public License as published by |
| 7 |
the Free Software Foundation; either version 2, or (at your option) |
| 8 |
any later version. |
| 9 |
|
| 10 |
This program is distributed in the hope that it will be useful, |
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
GNU General Public License for more details. |
| 14 |
|
| 15 |
You should have received a copy of the GNU General Public License |
| 16 |
along with this program; if not, write to the Free Software |
| 17 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 18 |
|
| 19 |
*/ |
| 20 |
|
| 21 |
#include "notifybydummy.h" |
| 22 |
|
| 23 |
NotifyByDummy::NotifyByDummy(QObject *parent, const QVariantList &args) |
| 24 |
: KNotifyPlugin(parent) |
| 25 |
{ |
| 26 |
Q_UNUSED(args) |
| 27 |
} |
| 28 |
|
| 29 |
NotifyByDummy::~NotifyByDummy() |
| 30 |
{} |
| 31 |
|
| 32 |
|
| 33 |
QString NotifyByDummy::optionName() |
| 34 |
{ |
| 35 |
return "Dummy"; |
| 36 |
} |
| 37 |
|
| 38 |
void NotifyByDummy::notify( int id, KNotifyConfig *config ) |
| 39 |
{ |
| 40 |
Q_UNUSED(config) |
| 41 |
kDebug() << "Dummy Notification is doing nothing! And it's doing it really well!"; |
| 42 |
finish(id); |
| 43 |
} |
| 44 |
|
| 45 |
K_EXPORT_KNOTIFY_METHOD(dummy, NotifyByDummy) |