Solid
soliddefs_p.h File Reference
#include <QtCore/QObject>Go to the source code of this file.
Classes | |
| class | Solid::CleanUpGlobalStatic |
Namespaces | |
| namespace | Solid |
Macros | |
| #define | return_SOLID_CALL(Type, Object, Default, Method) |
| #define | SOLID_CALL(Type, Object, Method) |
| #define | SOLID_GLOBAL_STATIC(TYPE, NAME) |
| #define | SOLID_GLOBAL_STATIC_STRUCT_NAME(NAME) |
| #define | SOLID_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME, ARGS) |
Typedefs | |
| typedef void(* | Solid::CleanUpFunction) () |
Macro Definition Documentation
◆ return_SOLID_CALL
| #define return_SOLID_CALL | ( | Type, | |
| Object, | |||
| Default, | |||
| Method ) |
Value:
Type t = qobject_cast<Type>(Object); \
if (t!=0) \
{ \
return t->Method; \
} \
else \
{ \
return Default; \
}
Definition at line 26 of file soliddefs_p.h.
◆ SOLID_CALL
| #define SOLID_CALL | ( | Type, | |
| Object, | |||
| Method ) |
Value:
Type t = qobject_cast<Type>(Object); \
if (t!=0) \
{ \
t->Method; \
}
Definition at line 39 of file soliddefs_p.h.
◆ SOLID_GLOBAL_STATIC
| #define SOLID_GLOBAL_STATIC | ( | TYPE, | |
| NAME ) |
Value:
SOLID_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME, ())
#define SOLID_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME, ARGS)
Definition soliddefs_p.h:79
Definition at line 77 of file soliddefs_p.h.
◆ SOLID_GLOBAL_STATIC_STRUCT_NAME
| #define SOLID_GLOBAL_STATIC_STRUCT_NAME | ( | NAME | ) |
Definition at line 74 of file soliddefs_p.h.
◆ SOLID_GLOBAL_STATIC_WITH_ARGS
| #define SOLID_GLOBAL_STATIC_WITH_ARGS | ( | TYPE, | |
| NAME, | |||
| ARGS ) |
Definition at line 79 of file soliddefs_p.h.
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.