summaryrefslogtreecommitdiff
path: root/examples/qtobject/testobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtobject/testobject.cpp')
-rw-r--r--examples/qtobject/testobject.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/qtobject/testobject.cpp b/examples/qtobject/testobject.cpp
index 260f1f6..4bcd92f 100644
--- a/examples/qtobject/testobject.cpp
+++ b/examples/qtobject/testobject.cpp
@@ -17,10 +17,18 @@ void TestObject::setProp1(const QString& s)
{
p1 = s;
qWarning() << __func__ << p1;
+ emit sig1(1, 0.5, QStringLiteral("asdf"));
}
void TestObject::setProp2(const QString& s)
{
p2 = s;
qWarning() << __func__ << p2;
+ emit sig2();
+}
+
+QString TestObject::manyArgs(int a, float b, const QString& c) const
+{
+ qDebug() << a << b << c;
+ return c;
}