summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen/Complex/private_slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/Complex/private_slot.h')
-rw-r--r--Tests/QtAutogen/Complex/private_slot.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/QtAutogen/Complex/private_slot.h b/Tests/QtAutogen/Complex/private_slot.h
new file mode 100644
index 000000000..8041eb2ae
--- /dev/null
+++ b/Tests/QtAutogen/Complex/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