/usr/include/libtomahawk/Query_p.h is in libtomahawk-dev 0.8.4+dfsg1-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 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 63 | #ifndef QUERY_P_H
#define QUERY_P_H
#include "Query.h"
#include <QMutex>
namespace Tomahawk
{
class QueryPrivate
{
public:
QueryPrivate( Query* q )
: q_ptr( q )
{
}
QueryPrivate( Query* q, const track_ptr& track, const QID& _qid )
: q_ptr( q )
, allowReresolve( true )
, qid( _qid )
, queryTrack( track )
{
}
QueryPrivate( Query* q, const QString& query, const QID& _qid )
: q_ptr( q )
, allowReresolve( true )
, qid( _qid )
, fullTextQuery( query )
{
}
Q_DECLARE_PUBLIC( Query )
Query* q_ptr;
private:
QList< Tomahawk::artist_ptr > artists;
QList< Tomahawk::album_ptr > albums;
QList< Tomahawk::result_ptr > results;
bool solved;
bool playable;
bool resolveFinished;
bool allowReresolve;
mutable QID qid;
QString fullTextQuery;
QString resultHint;
bool saveResultHint;
QList< QPointer< Tomahawk::Resolver > > resolvers;
track_ptr queryTrack;
mutable QMutex mutex;
QWeakPointer< Tomahawk::Query > ownRef;
};
} // Tomahawk
#endif // QUERY_P_H
|