KDEUI
knotificationmanager.cpp
Go to the documentation of this file.
63 new org::kde::KNotify(QLatin1String("org.kde.knotify"), QLatin1String("/Notify"), QDBusConnection::sessionBus(), this);
137 args << n->eventId() << (appname.isEmpty() ? KGlobal::mainComponent().componentName() : appname);
139 args << n->title() << n->text() << pixmapData << QVariant(actions) << timeout << qlonglong(winId) ;
140 return d->knotify->callWithCallback( "event", args, n, SLOT(slotReceivedId(int)), SLOT(slotReceivedIdError(QDBusError)));
int timeout
#define K_GLOBAL_STATIC(TYPE, NAME)
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void activate(unsigned int action=0)
Activate the action specified action If the action is zero, then the default action is activated...
Definition: knotification.cpp:222
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
static int startServiceByDesktopPath(const QString &_name, const QString &URL, QString *error=0, QString *serviceName=0, int *pid=0, const QByteArray &startup_id=QByteArray(), bool noWait=false)
const KShortcut & insert()
Toggle insert/overwrite (with visual feedback, e.g.
Definition: kstandardguiitem.cpp:264
The notification will NOT be automatically closed after a timeout.
Definition: knotification.h:226
QString componentName() const
const KComponentData & mainComponent()
QWidget * widget() const
the widget associated to the notification
Definition: knotification.cpp:130
KAction * close(const QObject *recvr, const char *slot, QObject *parent)
Close the current document.
Definition: kstandardaction.cpp:269
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.