summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/slots-with-void-template.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/slots-with-void-template.h')
-rw-r--r--tests/auto/tools/moc/slots-with-void-template.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/slots-with-void-template.h b/tests/auto/tools/moc/slots-with-void-template.h
index 081b03eb4a..73f07d1dc7 100644
--- a/tests/auto/tools/moc/slots-with-void-template.h
+++ b/tests/auto/tools/moc/slots-with-void-template.h
@@ -51,9 +51,11 @@ class SlotsWithVoidTemplateTest : public QObject
Q_OBJECT
public slots:
inline void dummySlot() {}
+ inline void dummySlot2(void) {}
inline void anotherSlot(const TestTemplate<void> &) {}
inline TestTemplate<void> mySlot() { return TestTemplate<void>(); }
signals:
void mySignal(const TestTemplate<void> &);
void myVoidSignal();
+ void myVoidSignal2(void);
};