| 52 | QIcon icon() const override { return QIcon::fromTheme(iconName); } |
| 53 | |
| 54 | void openedImpl() override |
| 55 | { |
| 56 | if (loaded) |
| 57 | return; |
| 58 | |
| 59 | const auto versions = APPLICATION->metadataIndex()->get(uid); |
| 60 | if (!versions) |
| 61 | return; |
| 62 | |
| 63 | initialize(versions.get()); |
| 64 | loaded = true; |
| 65 | } |
| 66 | |
| 67 | void setParentContainer(BasePageContainer* container) override |
| 68 | { |
nothing calls this directly
no test coverage detected