Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qapplicationstatic.h File Reference
#include <QtCore/QMutex>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qglobalstatic.h>
#include <new>
+ Include dependency graph for qapplicationstatic.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QtGlobalStatic::ApplicationHolder< QAS >
 

Namespaces

namespace  QtGlobalStatic
 

Macros

#define Q_APPLICATION_STATIC(TYPE, NAME, ...)
 

Macro Definition Documentation

◆ Q_APPLICATION_STATIC

#define Q_APPLICATION_STATIC (   TYPE,
  NAME,
  ... 
)
Value:
namespace { struct Q_QAS_ ## NAME { \
typedef TYPE QAS_Type; \
static void innerFunction(void *pointer) \
noexcept(noexcept(std::remove_cv_t<QAS_Type>(__VA_ARGS__))) \
{ \
new (pointer) QAS_Type(__VA_ARGS__); \
} \
}; } \
GLsizei const void * pointer
Definition qopenglext.h:384
const char * TYPE

Definition at line 70 of file qapplicationstatic.h.