_ZN9QMetaType12registerTypeEPKcPFvPvEPFS2_PKvE

Name

QMetaType::registerType -- register a user type for marshalling

Synopsis


#include <QtCore/qmetatype.h>

static int QMetaType::registerType(const char * typeName, Destructor destructor, Constructor constructor);

Description

The QMetaType::registerType() function shall register a user type for marshalling, with a typeName name, destructor destructor, and a constructor constructor.

The function shall return the type's handle on success, or -1 if the type could not be registered.

This function is not intended to be used by applications directly, but may appear among appliction dependencies as a result of usage of other functions and macros.