/usr/include/PySide/destroylistener.h is in libpyside-dev 1.2.2-2build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #ifndef PYSIDE_DESTROY_LISTENER
#define PYSIDE_DESTROY_LISTENER
#include <QObject>
#include "pysidemacros.h"
namespace PySide
{
class DestroyListenerPrivate;
/// \deprecated This class is deprecated and isn't used by libpyside anymore.
class PYSIDE_API DestroyListener : public QObject
{
Q_OBJECT
public:
PYSIDE_DEPRECATED(static DestroyListener* instance());
static void destroy();
void listen(QObject* obj);
public slots:
void onObjectDestroyed(QObject* obj);
private:
static DestroyListener* m_instance;
DestroyListenerPrivate* m_d;
DestroyListener(QObject *parent);
~DestroyListener();
};
}//namespace
#endif
|