Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorControl::ModuleExtensionPointMetadata Struct Reference

A named place on one of the module's pages that other modules may add a section to, beyond the implicit top, bottom, before:<anchor> and after:<anchor> slots every page has. More...

#include <PhosphorControl/ModuleMetadata.h>

Public Attributes

QString page
 The module's local page id.
QString id
int version = 1
 Bumped whenever the slot moves or its meaning changes, so extensions built for the old one are skipped rather than shown in the wrong place.

Detailed Description

A named place on one of the module's pages that other modules may add a section to, beyond the implicit top, bottom, before:<anchor> and after:<anchor> slots every page has.

The reserved id anchors declares the version of a page's implicit slots instead.

Member Data Documentation

◆ id

QString PhosphorControl::ModuleExtensionPointMetadata::id

◆ page

QString PhosphorControl::ModuleExtensionPointMetadata::page

The module's local page id.

◆ version

int PhosphorControl::ModuleExtensionPointMetadata::version = 1

Bumped whenever the slot moves or its meaning changes, so extensions built for the old one are skipped rather than shown in the wrong place.


The documentation for this struct was generated from the following file: