rem: KLibFactory *factory = KLibLoader::self()->factory( mPtr->library() );
add: KLibFactory *factory = KLibLoader::self()->factory( mPtr->library().latin1() );
context: bool ExtensionItem::configWidgetAvailable() const{  KLibFactory *factory = KLibLoader::self()->factory( mPtr->library() );  if ( !factory )    return false;  ExtensionFactory *extensionFactory = static_cast<ExtensionFactory*>( factory );  if ( !extensionFactory )    return false;  return extensionFactory->configureWidgetAvailable();}