KNotify
Go to the documentation of this file.
22 #include <kuniqueapplication.h>
23 #include <kaboutdata.h>
24 #include <kcmdlineargs.h>
29 #include <kpassivepopupmessagehandler.h>
30 #include <kdeversion.h>
36 int main(
int argc,
char **argv)
38 KAboutData aboutdata(
"knotify",
"knotify4", ki18n(
"KNotify"),
39 KDE_VERSION_STRING, ki18n(
"KDE Notification Daemon"),
40 KAboutData::License_GPL, ki18n(
"(C) 1997-2008, KDE Developers"));
41 aboutdata.addAuthor(ki18n(
"Olivier Goffart"),ki18n(
"Current Maintainer"),
"ogoffart@kde.org");
42 aboutdata.addAuthor(ki18n(
"Carsten Pfeiffer"),ki18n(
"Previous Maintainer"),
"pfeiffer@kde.org");
43 aboutdata.addAuthor(ki18n(
"Christian Esken"),KLocalizedString(),
"esken@kde.org");
44 aboutdata.addAuthor(ki18n(
"Stefan Westerfeld"),ki18n(
"Sound support"),
"stefan@space.twc.de");
45 aboutdata.addAuthor(ki18n(
"Charles Samuels"),ki18n(
"Previous Maintainer"),
"charles@kde.org");
46 aboutdata.addAuthor(ki18n(
"Allan Sandfeld Jensen"),ki18n(
"Porting to KDE 4"),
"kde@carewolf.com");
48 KCmdLineArgs::init( argc, argv, &aboutdata );
49 KUniqueApplication::addCmdLineOptions();
52 if ( !KUniqueApplication::start() ) {
53 kDebug() <<
"Running knotify found";
61 unsetenv(
"SESSION_MANAGER" );
62 KUniqueApplication app;
69 KMessage::setMessageHandler(
new KPassivePopupMessageHandler(0) );
int main(int argc, char **argv)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:40 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.