23 const QString &text) {
25 if (this->hasUserNotificationCenterSupport()) {
26 NSUserNotification *userNotification =
27 [[NSUserNotification alloc] init];
28 userNotification.title = title.toNSString();
29 userNotification.informativeText = text.toNSString();
30 [[NSUserNotificationCenter defaultUserNotificationCenter]
31 deliverNotification:userNotification];
32 [userNotification release];