Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qcocoascreen.mm File Reference
#include <AppKit/AppKit.h>
#include "qcocoascreen.h"
#include "qcocoawindow.h"
#include "qcocoahelpers.h"
#include "qcocoaintegration.h"
#include <QtCore/qcoreapplication.h>
#include <QtGui/private/qcoregraphics_p.h>
#include <IOKit/graphics/IOGraphicsLib.h>
#include <QtGui/private/qwindow_p.h>
#include <QtCore/private/qcore_mac_p.h>
#include <QtCore/private/qeventdispatcher_cf_p.h>
#include "qcocoascreen.moc"
+ Include dependency graph for qcocoascreen.mm:

Go to the source code of this file.

Classes

struct  DeferredDebugHelper
 

Namespaces

namespace  CoreGraphics
 

Macros

#define qDeferredDebug(helper)   if (Q_UNLIKELY(helper.debug)) *helper.debug
 

Enumerations

enum  CoreGraphics::DisplayChange {
  CoreGraphics::ReconfiguredWithFlagsMissing = 0 , CoreGraphics::Moved = kCGDisplayMovedFlag , CoreGraphics::SetMain = kCGDisplaySetMainFlag , CoreGraphics::SetMode = kCGDisplaySetModeFlag ,
  CoreGraphics::Added = kCGDisplayAddFlag , CoreGraphics::Removed = kCGDisplayRemoveFlag , CoreGraphics::Enabled = kCGDisplayEnabledFlag , CoreGraphics::Disabled = kCGDisplayDisabledFlag ,
  CoreGraphics::Mirrored = kCGDisplayMirrorFlag , CoreGraphics::UnMirrored = kCGDisplayUnMirrorFlag , CoreGraphics::DesktopShapeChanged = kCGDisplayDesktopShapeChangedFlag
}
 

Functions

static QString displayName (CGDirectDisplayID displayID)
 
 Q_LOGGING_CATEGORY (lcQpaScreenUpdates, "qt.qpa.screen.updates", QtCriticalMsg)
 
QDebug operator<< (QDebug debug, const QCocoaScreen *screen)
 

Macro Definition Documentation

◆ qDeferredDebug

#define qDeferredDebug (   helper)    if (Q_UNLIKELY(helper.debug)) *helper.debug

Definition at line 396 of file qcocoascreen.mm.

Function Documentation

◆ displayName()

static QString displayName ( CGDirectDisplayID  displayID)
static

Definition at line 199 of file qcocoascreen.mm.

References allKeys(), and info.

Referenced by QOffscreenX11Connection::QOffscreenX11Connection(), QXcbIntegration::QXcbIntegration(), DocumentFile::createDirectory(), DocumentsContract::createDocument(), DocumentFile::createFile(), QXcbScreen::defaultName(), QXcbScreen::getName(), DocumentFile::rename(), and DocumentsContract::renameDocument().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator<<()

QDebug operator<< ( QDebug  debug,
const QCocoaScreen screen 
)

Definition at line 800 of file qcocoascreen.mm.

◆ Q_LOGGING_CATEGORY()

Q_LOGGING_CATEGORY ( lcQpaScreenUpdates  ,
"qt.qpa.screen.updates"  ,
QtCriticalMsg   
)