QtMac Namespace
The QtMac namespace contains miscellaneous functionality specific to the OS X operating system. More...
Header: | #include <QtMac> |
qmake: | QT += macextras |
Since: | Qt 5.2 |
Functions
int | applicationIconBadgeNumber() |
QString | badgeLabelText() |
CGContextRef | currentCGContext() |
QPixmap | fromCGImageRef(CGImageRef image) |
bool | isMainWindow(QWindow * window) |
void | setApplicationIconBadgeNumber(int number) |
void | setBadgeLabelText(const QString & text) |
CGImageRef | toCGImageRef(const QPixmap & pixmap) |
NSImage * | toNSImage(const QPixmap & pixmap) |
Detailed Description
The QtMac namespace contains miscellaneous functionality specific to the OS X operating system.
Function Documentation
int QtMac::applicationIconBadgeNumber()
See also setApplicationIconBadgeNumber().
QString QtMac::badgeLabelText()
See also setBadgeLabelText().
CGContextRef QtMac::currentCGContext()
QPixmap QtMac::fromCGImageRef(CGImageRef image)
bool QtMac::isMainWindow(QWindow * window)
void QtMac::setApplicationIconBadgeNumber(int number)
See also applicationIconBadgeNumber().
void QtMac::setBadgeLabelText(const QString & text)
See also badgeLabelText().