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

KNotify

  • sources
  • kde-4.14
  • kde-runtime
  • knotify
notifybypopupgrowl.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2010 by Sjors Gielen <dazjorz@dazjorz.com>
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2, or (at your option)
7  any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 
18  */
19 
20 #ifndef NOTIFYBYPOPUPGROWL_H
21 #define NOTIFYBYPOPUPGROWL_H
22 
23 #include <QPixmap>
24 #include <QString>
25 
37 class NotifyByPopupGrowl
38 {
39 public:
40  static bool canPopup();
41  static QStringList capabilities();
42  static void popup( const QPixmap *icon, int timeout,
43  const QString &title, const QString &message );
44 };
45 
46 #endif // NOTIFYBYPOPUPGROWL_H
NotifyByPopupGrowl::canPopup
static bool canPopup()
Check if Growl can display plugins.
Definition: notifybypopupgrowl.cpp:34
NotifyByPopupGrowl
Display a notification using Growl.
Definition: notifybypopupgrowl.h:37
QString
QStringList
QPixmap
NotifyByPopupGrowl::popup
static void popup(const QPixmap *icon, int timeout, const QString &title, const QString &message)
Send a popup through Growl.
Definition: notifybypopupgrowl.cpp:55
NotifyByPopupGrowl::capabilities
static QStringList capabilities()
Get the capabilities supported by Growl.
Definition: notifybypopupgrowl.cpp:43
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