13#include "Controller_p.h"
15#include "DelayedCall_p.h"
19#include "DragController_p.h"
25 : d(new Private(type, view))
31 d->aboutToBeDeleted.emit();
34 if (d->m_view && !d->m_view->inDtor())
47 return int(d->m_type) & int(t);
62 return d->m_view && d->m_view->isVisible();
68 d->m_view->setVisible(
is);
74 return d->m_view->rect();
81 return d->m_view->mapToGlobal(localPt);
86 return d->m_view->height();
91 return d->m_view->width();
96 return d->m_view->size();
101 return d->m_view->geometry();
106 return d->m_view->geometry().topLeft();
111 return d->m_view->x();
116 return d->m_view->y();
137 d->parentViewChanged.emit(parent);
142 if (
auto v =
view()) {
143 v->setParent(parent);
145 KDDW_ERROR(
"No view()");