21 #include <unity/util/DefinesPtrs.h>
22 #include <unity/util/NonCopyable.h>
24 #include <unity/scopes/PreviewQueryBase.h>
25 #include <unity/scopes/PreviewReplyProxyFwd.h>
26 #include <unity/scopes/qt/QPreviewQueryBase.h>
28 #include <QtCore/QObject>
30 class QCoreApplication;
46 class QScopeBaseAPIImpl;
80 bool event(QEvent* e)
override;
115 std::shared_ptr<QCoreApplication> qtapp_;
116 std::unique_ptr<QPreviewQueryBase> qtquery_;
119 friend internal::QScopeBaseAPIImpl;
virtual void cancelled() final
Called by the scopes run time when the query originator cancels a query.
Definition: HttpAsyncReader.h:45
Result result() const
Get result for this preview request.
Definition: PreviewQueryBase.cpp:42
The attributes of a result returned by a Scope.
Definition: Result.h:50
Abstract base class to represent a particular preview.
Definition: PreviewQueryBase.h:57
Top-level namespace for all things Unity-related.
Definition: Version.h:49
virtual void run(unity::scopes::PreviewReplyProxy const &reply) final
Called by scopes run time to start the query.
Definition: ActionMetadata.h:31
std::shared_ptr< PreviewReply > PreviewReplyProxy
Convenience type definition.
Definition: PreviewReplyProxyFwd.h:34
Abstract base class to represent a particular preview.
Definition: QPreviewQueryBaseAPI.h:63
Base class for a scope implementation.
Definition: QScopeBase.h:113