Qt 4.8
Classes | Functions | Variables
qcursor_p.h File Reference
#include "QtCore/qatomic.h"
#include "QtCore/qglobal.h"
#include "QtCore/qnamespace.h"
#include "QtGui/qpixmap.h"
#include "private/qt_mac_p.h"

Go to the source code of this file.

Classes

class  QCursorData
 

Functions

void * qt_mac_nsCursorForQCursor (const QCursor &c)
 

Variables

QCursorDataqt_cursorTable [Qt::LastCursor+1]
 

Function Documentation

◆ qt_mac_nsCursorForQCursor()

void* qt_mac_nsCursorForQCursor ( const QCursor c)
inline

Definition at line 100 of file qcursor_mac.mm.

Referenced by qt_mac_set_cursor().

101 {
102  c.d->update();
103  return [[static_cast<NSCursor *>(c.d->curs.cp.nscursor) retain] autorelease];
104 }
void update()
Creates the cursor.
Definition: qcursor_mac.mm:387
QCursorData * d
Definition: qcursor.h:141

Variable Documentation

◆ qt_cursorTable

QCursorData* qt_cursorTable[Qt::LastCursor+1]

Definition at line 398 of file qcursor.cpp.