equal
deleted
inserted
replaced
1626 } |
1626 } |
1627 } |
1627 } |
1628 |
1628 |
1629 /*! |
1629 /*! |
1630 Clear the state associated with attempting to compile a specific binding. |
1630 Clear the state associated with attempting to compile a specific binding. |
1631 This does not clear the global "commited binding" states. |
1631 This does not clear the global "committed binding" states. |
1632 */ |
1632 */ |
1633 void QDeclarativeBindingCompilerPrivate::resetInstanceState() |
1633 void QDeclarativeBindingCompilerPrivate::resetInstanceState() |
1634 { |
1634 { |
1635 registers = 0; |
1635 registers = 0; |
1636 registerCleanups.clear(); |
1636 registerCleanups.clear(); |
1872 return false; |
1872 return false; |
1873 if (nameParts.at(ii + 1).at(0).isUpper()) |
1873 if (nameParts.at(ii + 1).at(0).isUpper()) |
1874 return false; |
1874 return false; |
1875 |
1875 |
1876 QDeclarativeImportedNamespace *ns = 0; |
1876 QDeclarativeImportedNamespace *ns = 0; |
1877 if (!engine->importDatabase.resolveType(imports, name.toUtf8(), &attachType, 0, 0, 0, &ns)) |
1877 if (!imports.resolveType(name.toUtf8(), &attachType, 0, 0, 0, &ns)) |
1878 return false; |
1878 return false; |
1879 if (ns || !attachType || !attachType->attachedPropertiesType()) |
1879 if (ns || !attachType || !attachType->attachedPropertiesType()) |
1880 return false; |
1880 return false; |
1881 |
1881 |
1882 wasAttachedObject = true; |
1882 wasAttachedObject = true; |