forked from quickshell/quickshell
docs: add macro hints for typegen to paper over weird interfaces
This commit is contained in:
parent
c0faebc700
commit
0034edd0f8
4 changed files with 24 additions and 9 deletions
11
src/core/doc.hpp
Normal file
11
src/core/doc.hpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
// hide a property, function, or signal from typegen
|
||||
#define QSDOC_HIDE
|
||||
|
||||
// override the base class as seen by typegen
|
||||
#define QSDOC_BASECLASS(baseclass)
|
||||
|
||||
// make the type visible in the docs even if not a QML_ELEMENT
|
||||
#define QSDOC_ELEMENT
|
||||
#define QSDOC_NAMED_ELEMENT(name)
|
Loading…
Add table
Add a link
Reference in a new issue