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