Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qcocoasystemtrayicon.mm File Reference

(5b451efe817a0bef8ed1463fdc5ca483f34a53fd)

#include <AppKit/AppKit.h>
#include "qcocoasystemtrayicon.h"
#include <qtemporaryfile.h>
#include <qimagewriter.h>
#include <qdebug.h>
#include <QtCore/private/qcore_mac_p.h>
#include "qcocoamenu.h"
#include "qcocoansmenu.h"
#include "qcocoahelpers.h"
#include "qcocoaintegration.h"
#include "qcocoascreen.h"
#include <QtGui/private/qcoregraphics_p.h>
+ Include dependency graph for qcocoasystemtrayicon.mm:

Go to the source code of this file.

Macros

#define NSUserNotificationCenter   QT_IGNORE_DEPRECATIONS(NSUserNotificationCenter)
 
#define NSUserNotification   QT_IGNORE_DEPRECATIONS(NSUserNotification)
 

Functions

static bool heightCompareFunction (QSize a, QSize b)
 
static QList< QSizesortByHeight (const QList< QSize > &sizes)
 

Macro Definition Documentation

◆ NSUserNotification

#define NSUserNotification   QT_IGNORE_DEPRECATIONS(NSUserNotification)

Definition at line 63 of file qcocoasystemtrayicon.mm.

◆ NSUserNotificationCenter

#define NSUserNotificationCenter   QT_IGNORE_DEPRECATIONS(NSUserNotificationCenter)

Definition at line 62 of file qcocoasystemtrayicon.mm.

Function Documentation

◆ heightCompareFunction()

static bool heightCompareFunction ( QSize a,
QSize b )
static

Definition at line 107 of file qcocoasystemtrayicon.mm.

Referenced by sortByHeight().

+ Here is the caller graph for this function:

◆ sortByHeight()

static QList< QSize > sortByHeight ( const QList< QSize > & sizes)
static

Definition at line 108 of file qcocoasystemtrayicon.mm.

References heightCompareFunction().

+ Here is the call graph for this function: