aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/testobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/testobject.h')
-rw-r--r--sources/pyside6/tests/pysidetest/testobject.h6
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);