qmetatype_p.h: remove unused function
Change-Id: Ib07e1c87e4e9fe5d1018876b044513fae951ac0e Reviewed-by: Lars Knoll <lars.knoll@qt.io>bb10
parent
348f67d7ec
commit
454a9424b7
|
|
@ -59,17 +59,6 @@ QT_BEGIN_NAMESPACE
|
|||
namespace QModulesPrivate {
|
||||
enum Names { Core, Gui, Widgets, Unknown, ModulesCount /* ModulesCount has to be at the end */ };
|
||||
|
||||
static inline int moduleForType(const uint typeId)
|
||||
{
|
||||
if (typeId <= QMetaType::LastCoreType)
|
||||
return Core;
|
||||
if (typeId >= QMetaType::FirstGuiType && typeId <= QMetaType::LastGuiType)
|
||||
return Gui;
|
||||
if (typeId >= QMetaType::FirstWidgetsType && typeId <= QMetaType::LastWidgetsType)
|
||||
return Widgets;
|
||||
return Unknown;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
class QTypeModuleInfo
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue