CMake/Tests/QtAutomoc/private_slot.h

21 lines
280 B
C++

#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