Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqstylekitcontrols.cpp File Reference

(827a03880e8ce14d4c38f3fca74e4c2ae008c7bd)

#include "qqstylekitcontrols_p.h"
#include "qqstylekitcontrol_p.h"
#include "qqstylekitvariation_p.h"
#include "qqstylekitcustomcontrol_p.h"
#include "moc_qqstylekitcontrols_p.cpp"
Include dependency graph for qqstylekitcontrols.cpp:

Go to the source code of this file.

Macros

#define IMPLEMENT_ACCESSORS(NAME, TYPE)

Macro Definition Documentation

◆ IMPLEMENT_ACCESSORS

#define IMPLEMENT_ACCESSORS ( NAME,
TYPE )
Value:
QQStyleKitControl *QQStyleKitControls::NAME() const \
{ \
if (!m_controls.contains(TYPE)) { \
auto *self = const_cast<QQStyleKitControls *>(this); \
auto *control = new QQStyleKitControl(self); \
self->m_controls.insert(TYPE, control); \
} \
return m_controls[TYPE]; \
} \
void QQStyleKitControls::set_ ## NAME(QQStyleKitControl *control) \
{ \
m_controls.insert(TYPE, control); \
}
QString & insert(qsizetype i, QChar c)
Definition qstring.cpp:3137
const char * TYPE

Definition at line 52 of file qqstylekitcontrols.cpp.