mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
C++: Hide internal macros from documentation
That's SIXTYFPS_GET_ITEM_VTABLE, SIXTYFPS_DLL_IMPORT and SIXTYFPS_QT_INTEGRATION
This commit is contained in:
parent
4c33a8f70b
commit
2e4abc61e0
3 changed files with 23 additions and 15 deletions
|
@ -15,7 +15,10 @@ LICENSE END */
|
|||
|
||||
#include <optional>
|
||||
|
||||
#define SIXTYFPS_QT_INTEGRATION // In the future, should be defined by cmake only if this is enabled
|
||||
#if !defined(DOXYGEN)
|
||||
# define SIXTYFPS_QT_INTEGRATION // In the future, should be defined by cmake only if this is
|
||||
// enabled
|
||||
#endif
|
||||
#ifdef SIXTYFPS_QT_INTEGRATION
|
||||
class QWidget;
|
||||
#endif
|
||||
|
@ -564,7 +567,7 @@ public:
|
|||
cbindgen_private::sixtyfps_run_event_loop();
|
||||
hide();
|
||||
}
|
||||
#ifdef SIXTYFPS_QT_INTEGRATION
|
||||
#if defined(SIXTYFPS_QT_INTEGRATION) || defined(DOXYGEN)
|
||||
/// Return a QWidget for this instance.
|
||||
/// This function is only available if the qt graphical backend was compiled in, and
|
||||
/// it may return nullptr if the Qt backend is not used at runtime.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue