/usr/include/unity-2d-private/signalwaiter.h is in libunity-2d-private-dev 5.10.0-0ubuntu1.
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 | #ifndef SIGNALWAITER_H
#define SIGNALWAITER_H
#include <QEventLoop>
#include <QObject>
class SignalWaiter : public QObject
{
Q_OBJECT
public:
SignalWaiter(QObject *parent = 0);
bool waitForSignal(const QObject *sender, const char *signal, int timeout = 0);
private Q_SLOTS:
void succeed();
void fail();
private:
QEventLoop m_loop;
};
#endif // SIGNALWAITER_H
|