![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
Macintosh-specific notification handler (supports UserNotificationCenter and Growl). More...
#include <macnotificationhandler.h>
Inheritance diagram for MacNotificationHandler:
Collaboration diagram for MacNotificationHandler:Public Member Functions | |
| void | showNotification (const QString &title, const QString &text) |
| shows a 10.8+ UserNotification in the UserNotificationCenter More... | |
| void | sendAppleScript (const QString &script) |
| executes AppleScript More... | |
| bool | hasUserNotificationCenterSupport (void) |
| check if OS can handle UserNotifications More... | |
Static Public Member Functions | |
| static MacNotificationHandler * | instance () |
Macintosh-specific notification handler (supports UserNotificationCenter and Growl).
Definition at line 12 of file macnotificationhandler.h.
| bool MacNotificationHandler::hasUserNotificationCenterSupport | ( | void | ) |
check if OS can handle UserNotifications
Referenced by Notificator::Notificator(), and showNotification().
Here is the caller graph for this function:
|
static |
Definition at line 63 of file macnotificationhandler.mm.
Referenced by Notificator::Notificator().
Here is the caller graph for this function:| void MacNotificationHandler::sendAppleScript | ( | const QString & | script | ) |
executes AppleScript
Definition at line 38 of file macnotificationhandler.mm.
| void MacNotificationHandler::showNotification | ( | const QString & | title, |
| const QString & | text | ||
| ) |
shows a 10.8+ UserNotification in the UserNotificationCenter
Definition at line 10 of file macnotificationhandler.mm.
References hasUserNotificationCenterSupport().
Here is the call graph for this function:
1.8.8