qtscript: componentAvailable() can now only take a single parameter containing the
component name - specifying the component type is now deprecated.