/usr/include/qxrunner/runnermodelthread.h is in libqxrunner-dev 0.9.2-0ubuntu3.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /*!
* \file runnermodelthread.h
*
* \brief Declares class RunnerModelThread.
*/
#ifndef RUNNERMODELTHREAD_H
#define RUNNERMODELTHREAD_H
#include <QThread>
namespace QxRunner {
class RunnerModel;
/*!
* \brief The RunnerModelThread class enables asynchronous execution
* of runner items.
*
* The RunnerModelThread class enables RunnerModel to asynchronously
* execute RunnerItem objects. When the thread is started it calls the
* private \c threadCode() method of RunnerModel where the 'real'
* threaded code is executed. Therefore RunnerModelThread is a friend
* of RunnerModel.
*/
class RunnerModelThread : public QThread
{
Q_OBJECT
public: // Operations
/*!
* Constructs a runner model thread with the given \a parent.
*/
RunnerModelThread(RunnerModel* parent);
/*!
* Destroys this runner model thread.
*/
~RunnerModelThread();
/*!
* Causes the current thread to sleep for \a msecs milliseconds.
*/
void msleep(unsigned long msecs) const;
private: // Operations
/*!
* Reimplemented from QThread. Starts the thread.
*/
void run();
// Copy and assignment not supported.
RunnerModelThread(const RunnerModelThread&);
RunnerModelThread& operator=(const RunnerModelThread&);
};
} // namespace
#endif // RUNNERMODELTHREAD_H
|