diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-01-05 13:54:31 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-01-08 13:05:30 +0100 |
| commit | 5c69ee2f40ec0cf5d44c798feaca64809eb55889 (patch) | |
| tree | f51027efee2d9ffc4fc401c849490add7cf842c4 /sources/pyside6/tests/pysidetest/testobject.h | |
| parent | 2ff4524802b90be37c10662593b5060af86d338f (diff) | |
Add QLatin1String
It is needed For the QIcon::ThemeIcon fields.
Task-number: PYSIDE-2497
Task-number: PYSIDE-2537
Change-Id: I11d94c150dfa614797038e56cd37128bf3e88cff
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/tests/pysidetest/testobject.h')
| -rw-r--r-- | sources/pyside6/tests/pysidetest/testobject.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/pyside6/tests/pysidetest/testobject.h b/sources/pyside6/tests/pysidetest/testobject.h index d3f0b2018..80944e14b 100644 --- a/sources/pyside6/tests/pysidetest/testobject.h +++ b/sources/pyside6/tests/pysidetest/testobject.h @@ -45,6 +45,11 @@ public: void emitSignalWithTypedefValue(int value); + static constexpr auto LATIN1_TEST_FIELD = QLatin1StringView("test"); + + void setQLatin1String(QLatin1String v); + QString qLatin1String() const; + signals: void idValue(int newValue); void justASignal(); @@ -56,6 +61,7 @@ signals: private: int m_idValue; QList<QObject*> m_children; + QString m_qLatin1String; }; PYSIDETEST_API QDebug operator<<(QDebug dbg, TestObject &testObject); |
