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/QColumnLayout.h>
31 #include <unity/scopes/qt/QPreviewWidget.h>
33 #pragma GCC diagnostic push
34 #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
35 #include <QtCore/QVariant>
36 #pragma GCC diagnostic pop
37 #include <QtCore/QObject>
48 class QPreviewQueryBaseAPI;
52 class QPreviewReplyImpl;
83 bool push(QPreviewWidgetList
const& widget_list);
89 bool push(QString
const& key, QVariant
const& value);
100 std::unique_ptr<internal::QPreviewReplyImpl> p;
Top-level namespace for all things Unity-related.
Definition: Version.h:49
Definition: ActionMetadata.h:31
bool push(QPreviewWidgetList const &widget_list)
Sends widget definitions to the sender of the preview query.
bool register_layout(QColumnLayoutList const &layouts)
Registers a list of column layouts for the current preview.
std::shared_ptr< PreviewReply > PreviewReplyProxy
Convenience type definition.
Definition: PreviewReplyProxyFwd.h:34
Abstract base class to represent a particular preview.
Definition: QPreviewQueryBaseAPI.h:72
Allows the results of a preview to be sent to the preview requester.
Definition: QPreviewReply.h:59