forked from qt-creator/qt-creator
Make QtWidgets wizard work with namespaced Qt
Fixes: QTCREATORBUG-19590 Change-Id: Ic003b2b1f580d9a6708e144b690c4cee8d94ff69 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -60,6 +60,11 @@ QStringList CppToolsJsExtension::namespaces(const QString &klass) const
|
||||
return result;
|
||||
}
|
||||
|
||||
bool CppToolsJsExtension::hasNamespaces(const QString &klass) const
|
||||
{
|
||||
return !namespaces(klass).empty();
|
||||
}
|
||||
|
||||
QString CppToolsJsExtension::className(const QString &klass) const
|
||||
{
|
||||
QStringList result = parts(klass);
|
||||
|
||||
Reference in New Issue
Block a user