summaryrefslogtreecommitdiff
path: root/Tests/QtAutomoc/private_slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutomoc/private_slot.h')
-rw-r--r--Tests/QtAutomoc/private_slot.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/QtAutomoc/private_slot.h b/Tests/QtAutomoc/private_slot.h
new file mode 100644
index 000000000..28e54482a
--- /dev/null
+++ b/Tests/QtAutomoc/private_slot.h
@@ -0,0 +1,20 @@
+
+#ifndef PRIVATE_SLOT_H
+#define PRIVATE_SLOT_H
+
+#include <QObject>
+
+class PrivateSlotPrivate;
+
+class PrivateSlot : public QObject
+{
+ Q_OBJECT
+public:
+ PrivateSlot(QObject *parent = 0);
+
+private:
+ PrivateSlotPrivate * const d;
+ Q_PRIVATE_SLOT(d, void privateSlot())
+};
+
+#endif