From 32d24ea77343c0bbd0e889baea282e541a9b0d37 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Tue, 11 Nov 2025 12:06:23 +0100 Subject: [PATCH] Doc: Add missing property docs Task-number: QTBUG-141872 Change-Id: I2114b0a74f0ac2ca604c1d4b645a610252fc9045 Reviewed-by: Topi Reinio --- src/wellknown/qprotobufanysupport.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/wellknown/qprotobufanysupport.cpp b/src/wellknown/qprotobufanysupport.cpp index 65e15ea0..18c27d25 100644 --- a/src/wellknown/qprotobufanysupport.cpp +++ b/src/wellknown/qprotobufanysupport.cpp @@ -129,6 +129,29 @@ void Any::registerTypes() google.protobuf.Any type. */ +/*! + \property QtProtobuf::Any::typeUrl + + This property holds the type URL of the Any object. The URL is meant as a hint + for what the contained data really is. + + \note Qt has no support for dynamically obtaining any potential recipes for + deconstructing types and simply uses the type URL to verify that types + passed as T to \c{as()} are of the correct type. + + \sa value +*/ + +/*! + \property QtProtobuf::Any::value + + This property holds the raw bytes that make up the value stored in the Any object. + + Consult typeUrl to determine how to interpret these bytes. + + \sa typeUrl +*/ + /*! Constructs a defaulted, empty, instance of Any. */