diff options
| author | Brett Stottlemyer <bstottle@ford.com> | 2021-07-03 15:46:02 -0400 |
|---|---|---|
| committer | Brett Stottlemyer <bstottle@ford.com> | 2021-07-29 04:17:54 -0400 |
| commit | 71d8ac47106b82d8b507d5004c0dda8156c5eb91 (patch) | |
| tree | e14b08db1b713feada0b7afef21059d350b22a23 /sources/shiboken6/ApiExtractor/doxygenparser.cpp | |
| parent | 45a8fafb9c445ebcdea125b0c20cd14dc42784d1 (diff) | |
Allow spaces in ClassInfo keys
Qt Remote Objects uses ClassInfo keys with spaces. Because PySide uses
keyword arguments for keys in the ClassInfo() decorator, it is not possible
to create the QtRO info from PySide. This change supports both the current
keyword processing as well as passing a python dict.
Thus, for example, the following becomes possible:
@ClassInfo({'RemoteObject Type': 'Simple',
'RemoteObject Signature':'c6f33edb0554ba4241aad1286a47c8189d65c845'})
class SimpleSource(QObject):
...
Task-number: PYSIDE-862
Change-Id: I7764e92a46869766582611a70628dd23d033e09c
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/doxygenparser.cpp')
0 files changed, 0 insertions, 0 deletions
