KNotify
#include <notifybypopupgrowl.h>
Static Public Member Functions | |
static bool | canPopup () |
static QStringList | capabilities () |
static void | popup (const QPixmap *icon, int timeout, const QString &title, const QString &message) |
Detailed Description
Display a notification using Growl.
Currently, this class uses QSystemTrayIcon to actually display the notification. Inside the Growl project, a protocol is being developed to display notifications; this protocol is currently only implemented (partly) in the Windows version of Growl. Once it is finished, it will be implemented in KNotify and used instead. (The normal Growl API is written in Objective C. It's possible to use it, but it's a lot harder than just waiting for GNTP to stabilize.)
Definition at line 37 of file notifybypopupgrowl.h.
Member Function Documentation
|
static |
Check if Growl can display plugins.
Currently, this checks only if Growl is installed, not if it's running. As soon as the Growl Notification Protocol is finished, it will be implemented and used for this check.
Definition at line 34 of file notifybypopupgrowl.cpp.
|
static |
Get the capabilities supported by Growl.
Definition at line 43 of file notifybypopupgrowl.cpp.
|
static |
Send a popup through Growl.
- Parameters
-
icon The icon inside the notification. Currently ignored. timeout The time in ms to show the notification. title The title displayed inside the notification. message The message displayed inside the notification.
Definition at line 55 of file notifybypopupgrowl.cpp.
The documentation for this class was generated from the following files:
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.