5 #ifndef FABCOIN_QT_NOTIFICATOR_H 6 #define FABCOIN_QT_NOTIFICATOR_H 8 #if defined(HAVE_CONFIG_H) 16 class QSystemTrayIcon;
52 void notify(
Class cls,
const QString &title,
const QString &text,
53 const QIcon &icon = QIcon(),
int millisTimeout = 10000);
69 QDBusInterface *interface;
71 void notifyDBus(
Class cls,
const QString &title,
const QString &text,
const QIcon &icon,
int millisTimeout);
73 void notifySystray(
Class cls,
const QString &title,
const QString &text,
const QIcon &icon,
int millisTimeout);
75 void notifyGrowl(
Class cls,
const QString &title,
const QString &text,
const QIcon &icon);
76 void notifyMacUserNotificationCenter(
Class cls,
const QString &title,
const QString &text,
const QIcon &icon);
80 #endif // FABCOIN_QT_NOTIFICATOR_H
Use DBus org.freedesktop.Notifications.
Notificator(const QString &programName, QSystemTrayIcon *trayIcon, QWidget *parent)
Create a new notificator.
Notify user of potential problem.
Ignore informational notifications, and show a modal pop-up dialog for Critical notifications.
Use the 10.8+ User Notification Center (Mac only)
void notify(Class cls, const QString &title, const QString &text, const QIcon &icon=QIcon(), int millisTimeout=10000)
Show notification message.
Cross-platform desktop notification client.
QSystemTrayIcon * trayIcon
Use the Growl 1.2 notification system (Mac only)
Use QSystemTray::showMessage.
void notifySystray(Class cls, const QString &title, const QString &text, const QIcon &icon, int millisTimeout)
Use the Growl 1.3 notification system (Mac only)