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)
QDBusConnection sessionBus()
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)
void append(const T &value)
bool save(const QString &fileName, const char *format, int quality) const
QWidget * topLevelWidget() const
const KShortcut & insert()
Toggle insert/overwrite (with visual feedback, e.g.
Definition: kstandardguiitem.cpp:264
bool isEmpty() const
The notification will NOT be automatically closed after a timeout.
Definition: knotification.h:226
WId winId() const
QString componentName() const
bool isNull() 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.