Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qcocoasystemtrayicon.mm File Reference
#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 QList< T >::begin(), QList< T >::end(), and heightCompareFunction().

+ Here is the call graph for this function: