CopperSpice Overview
Non-MetaObject Macros

The following table contains the "Q_" macros which were present before and have been modified, removed, or unchanged in CopperSpice as indicated.

Define Description
Q_ALIGNOF Removed, use the C++ alignofs keyword
Q_ASSERT Unchanged in CS
Q_ASSERT_X Unchanged in CS
Q_CHECK_PTR Unchanged in CS
Q_CLEANUP_RESOURCE Unchanged in CS
Q_COMPILER_CONSTEXPR Not defined, use the C++ constexpr keyword
Q_DECL_ALIGN Removed, use the C++ alignas keyword
Q_DECL_CONSTEXPR Not defined, use the C++ constexpr keyword
Q_DECL_EXPORT Unchanged in CS
Q_DECL_FINAL Not defined, use the C++ final keyword
Q_DECL_IMPORT Unchanged in CS
Q_DECL_NOEXCEPT Not defined, use the C++ noexcept keyword
Q_DECL_NOEXCEPT_EXPR Not defined, use the C++ noexcept keyword
Q_DECL_NOTHROW Not defined, use the C++ nothrow keyword
Q_DECL_OVERRIDE Not defined, use the C++ override keyword
Q_DECLARE_OPAQUE_POINTER Removed, obsolete
Q_EXPORT_PLUGIN Replaced with CS_PLUGIN_IID and CS_PLUGIN_KEY
Q_EXPORT_PLUGIN2 Replaced with CS_PLUGIN_IID and CS_PLUGIN_KEY
Q_FOREACH Removed, obsolete
Q_FOREVER Removed, obsolete
Q_FUNC_INFO Unchanged in CS
Q_INIT_RESOURCE Unchanged in CS
Q_INIT_RESOURCE_EXTERN Unchanged in CS
Q_LIKELY Unchanged in CS
Q_MEDIA_DECLARE_CONTROL Use CS_DECLARE_INTERFACE
Q_OBJECT_GETSTATICMETAOBJECT Removed, unused since QMetaObject is a class in CS
Q_OVERRIDE Not defined, use the C++ override keyword
Q_NOREPLY Not used in CS
Q_PLUGIN_METADATA Replaced with CS_PLUGIN_IID and CS_PLUGIN_KEY
Q_TYPEOF Unchanged in CS
Q_UNLIKELY Unchanged in CS
Q_UNREACHABLE Not used in CS
Q_UNUSED Unchanged in CS
QT_NO_EMIT Unchanged in CS
QT_NO_KEYWORDS Removed, obsolete