Skip to content

QtLinkProvider

Base classes

Name Children Inherits
LinkProvider
mknodes.info.linkprovider

⋔ Inheritance diagram

graph TD
  1473286054640["prettyqtmarkdown.QtLinkProvider"]
  1473287384080["linkprovider.LinkProvider"]
  140713234304496["builtins.object"]
  1473287384080 --> 1473286054640
  140713234304496 --> 1473287384080

🛈 DocStrings

Bases: LinkProvider

Source code in prettyqt\prettyqtmarkdown\qtlinkprovider.py
class QtLinkProvider(linkprovider.LinkProvider):
    def link_for_klass(self, kls: type):
        mod_path = kls.__module__
        if mod_path.startswith("prettyqt"):
            return linkprovider.linked(kls.__qualname__)
        return super().link_for_klass(kls)