21 #ifndef _ENABLE_QT_EXPERIMENTAL_
22 #error You should define _ENABLE_QT_EXPERIMENTAL_ in order to use this experimental header file.
25 #include <unity/util/DefinesPtrs.h>
26 #include <unity/util/NonCopyable.h>
28 #include <unity/scopes/PreviewReplyProxyFwd.h>
30 #include <unity/scopes/qt/QActionMetadata.h>
31 #include <unity/scopes/qt/QCannedQuery.h>
32 #include <unity/scopes/qt/QPreviewReplyProxy.h>
33 #include <unity/scopes/qt/QResult.h>
35 #include <QtCore/QObject>
54 class QPreviewQueryBaseImpl;
57 class QPreviewQueryBaseAPI;
95 virtual void run(unity::scopes::qt::QPreviewReplyProxy
const& reply) = 0;
130 std::unique_ptr<internal::QPreviewQueryBaseImpl> p;
virtual void run(unity::scopes::qt::QPreviewReplyProxy const &reply)=0
Called by scopes run time to start the query.
Top-level namespace for all things Unity-related.
Definition: Version.h:49
The attributes of a result returned by a Scope.
Definition: QResult.h:63
Definition: ActionMetadata.h:31
Abstract base class to represent a particular preview.
Definition: QPreviewQueryBaseAPI.h:72
QActionMetadata action_metadata() const
Get metadata for this preview request.
virtual void cancelled()=0
Called by the scopes run time when the query originator cancels a query.
QResult result() const
Get result for this preview request.
Abstract base class to represent a particular preview.
Definition: QPreviewQueryBase.h:67