Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qtypes.h File Reference
#include <QtCore/qprocessordetection.h>
#include <QtCore/qtconfigmacros.h>
#include <assert.h>
+ Include dependency graph for qtypes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define Q_INT64_C(c)   ((long long)(c ## LL)) /* signed 64 bit constant */
 
#define Q_UINT64_C(c)   ((unsigned long long)(c ## ULL)) /* unsigned 64 bit constant */
 
#define PRIdQPTRDIFF   "td"
 
#define PRIiQPTRDIFF   "ti"
 
#define PRIdQSIZETYPE   "td"
 
#define PRIiQSIZETYPE   "ti"
 
#define PRIdQINTPTR   "td"
 
#define PRIiQINTPTR   "ti"
 
#define PRIuQUINTPTR   "zu"
 
#define PRIoQUINTPTR   "zo"
 
#define PRIxQUINTPTR   "zx"
 
#define PRIXQUINTPTR   "zX"
 

Typedefs

typedef unsigned char uchar
 
typedef unsigned short ushort
 
typedef unsigned int uint
 
typedef unsigned long ulong
 
typedef unsigned char quint8
 
typedef short qint16
 
typedef unsigned short quint16
 
typedef int qint32
 
typedef unsigned int quint32
 
typedef long long qint64
 
typedef unsigned long long quint64
 
typedef qint64 qlonglong
 
typedef quint64 qulonglong
 
typedef ptrdiff_t qptrdiff
 
typedef ptrdiff_t qsizetype
 
typedef ptrdiff_t qintptr
 
typedef size_t quintptr
 
typedef double qreal
 

Variables

QT_BEGIN_NAMESPACE typedef signed char qint8
 

Macro Definition Documentation

◆ PRIdQINTPTR

#define PRIdQINTPTR   "td"

Definition at line 80 of file qtypes.h.

◆ PRIdQPTRDIFF

#define PRIdQPTRDIFF   "td"

Definition at line 74 of file qtypes.h.

◆ PRIdQSIZETYPE

#define PRIdQSIZETYPE   "td"

Definition at line 77 of file qtypes.h.

◆ PRIiQINTPTR

#define PRIiQINTPTR   "ti"

Definition at line 81 of file qtypes.h.

◆ PRIiQPTRDIFF

#define PRIiQPTRDIFF   "ti"

Definition at line 75 of file qtypes.h.

◆ PRIiQSIZETYPE

#define PRIiQSIZETYPE   "ti"

Definition at line 78 of file qtypes.h.

◆ PRIoQUINTPTR

#define PRIoQUINTPTR   "zo"

Definition at line 84 of file qtypes.h.

◆ PRIuQUINTPTR

#define PRIuQUINTPTR   "zu"

Definition at line 83 of file qtypes.h.

◆ PRIxQUINTPTR

#define PRIxQUINTPTR   "zx"

Definition at line 85 of file qtypes.h.

◆ PRIXQUINTPTR

#define PRIXQUINTPTR   "zX"

Definition at line 86 of file qtypes.h.

◆ Q_INT64_C

#define Q_INT64_C (   c)    ((long long)(c ## LL)) /* signed 64 bit constant */

Definition at line 52 of file qtypes.h.

◆ Q_UINT64_C

#define Q_UINT64_C (   c)    ((unsigned long long)(c ## ULL)) /* unsigned 64 bit constant */

Definition at line 53 of file qtypes.h.

Typedef Documentation

◆ qint16

typedef short qint16

Definition at line 42 of file qtypes.h.

◆ qint32

typedef int qint32

Definition at line 44 of file qtypes.h.

◆ qint64

typedef long long qint64

Definition at line 55 of file qtypes.h.

◆ qintptr

typedef ptrdiff_t qintptr

Definition at line 71 of file qtypes.h.

◆ qlonglong

typedef qint64 qlonglong

Definition at line 58 of file qtypes.h.

◆ qptrdiff

typedef ptrdiff_t qptrdiff

Definition at line 69 of file qtypes.h.

◆ qreal

typedef double qreal

Definition at line 92 of file qtypes.h.

◆ qsizetype

typedef ptrdiff_t qsizetype

Definition at line 70 of file qtypes.h.

◆ quint16

typedef unsigned short quint16

Definition at line 43 of file qtypes.h.

◆ quint32

typedef unsigned int quint32

Definition at line 45 of file qtypes.h.

◆ quint64

typedef unsigned long long quint64

Definition at line 56 of file qtypes.h.

◆ quint8

typedef unsigned char quint8

Definition at line 41 of file qtypes.h.

◆ quintptr

typedef size_t quintptr

Definition at line 72 of file qtypes.h.

◆ qulonglong

Definition at line 59 of file qtypes.h.

◆ uchar

typedef unsigned char uchar

Definition at line 27 of file qtypes.h.

◆ uint

typedef unsigned int uint

Definition at line 29 of file qtypes.h.

◆ ulong

typedef unsigned long ulong

Definition at line 30 of file qtypes.h.

◆ ushort

typedef unsigned short ushort

Definition at line 28 of file qtypes.h.

Variable Documentation

◆ qint8