diff options
Diffstat (limited to 'Tests/QtAutogen/Complex/private_slot.h')
-rw-r--r-- | Tests/QtAutogen/Complex/private_slot.h | 20 |
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 0000000..8041eb2 --- /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 |