| | |
| | | #include "quickwindowagent.h" |
| | | #include "quickwindowagent_p.h" |
| | | #include "quickitemdelegate_p.h" |
| | | |
| | | #include <QtQuick/QQuickWindow> |
| | | #include <QtQuick/private/qquickanchors_p.h> |
| | | |
| | | #include "quickitemdelegate_p.h" |
| | | |
| | | namespace QWK { |
| | | |
| | | QuickWindowAgentPrivate::QuickWindowAgentPrivate() { |
| | | } |
| | | QuickWindowAgentPrivate::QuickWindowAgentPrivate() = default; |
| | | |
| | | QuickWindowAgentPrivate::~QuickWindowAgentPrivate() { |
| | | } |
| | | QuickWindowAgentPrivate::~QuickWindowAgentPrivate() = default; |
| | | |
| | | void QuickWindowAgentPrivate::init() { |
| | | } |
| | |
| | | : QuickWindowAgent(*new QuickWindowAgentPrivate(), parent) { |
| | | } |
| | | |
| | | QuickWindowAgent::~QuickWindowAgent() { |
| | | } |
| | | QuickWindowAgent::~QuickWindowAgent() = default; |
| | | |
| | | bool QuickWindowAgent::setup(QQuickWindow *window) { |
| | | Q_ASSERT(window); |
| | |
| | | } |
| | | |
| | | if (!d->setup(window, new QuickItemDelegate())) { |
| | | return true; |
| | | return false; |
| | | } |
| | | d->hostWindow = window; |
| | | |
| | | #ifdef Q_OS_WINDOWS |
| | | d->setupWindows10BorderWorkaround(); |
| | | #endif |
| | | return true; |
| | | } |
| | | |
| | |
| | | d.init(); |
| | | } |
| | | |
| | | } |
| | | } |