• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

KNotify

Static Public Member Functions | List of all members
NotifyByPopupGrowl Class Reference

#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

bool NotifyByPopupGrowl::canPopup ( )
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.

QStringList NotifyByPopupGrowl::capabilities ( )
static

Get the capabilities supported by Growl.

Definition at line 43 of file notifybypopupgrowl.cpp.

void NotifyByPopupGrowl::popup ( const QPixmap *  icon,
int  timeout,
const QString &  title,
const QString &  message 
)
static

Send a popup through Growl.

Parameters
iconThe icon inside the notification. Currently ignored.
timeoutThe time in ms to show the notification.
titleThe title displayed inside the notification.
messageThe message displayed inside the notification.

Definition at line 55 of file notifybypopupgrowl.cpp.


The documentation for this class was generated from the following files:
  • notifybypopupgrowl.h
  • notifybypopupgrowl.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KNotify

Skip menu "KNotify"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal