aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/abstractmetatype.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetatype.h')
-rw-r--r--sources/shiboken6/ApiExtractor/abstractmetatype.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetatype.h b/sources/shiboken6/ApiExtractor/abstractmetatype.h
index a65858364..599321262 100644
--- a/sources/shiboken6/ApiExtractor/abstractmetatype.h
+++ b/sources/shiboken6/ApiExtractor/abstractmetatype.h
@@ -197,6 +197,9 @@ public:
// Query functions for generators
/// Check if type is a pointer.
bool isPointer() const;
+ /// Helper for field setters: Check for "const QWidget *" (settable field),
+ /// but not "int *const" (read-only field).
+ bool isPointerToConst() const;
/// Returns true if the type is a C string (const char *).
bool isCString() const;
/// Returns true if the type is a void pointer.