59 Q_DECLARE_FLAGS(DockByNameFlags, DockByNameFlag)
75 void registerLayoutSaver();
76 void unregisterLayoutSaver();
83 Q_INVOKABLE
bool containsDockWidget(
const QString &uniqueName)
const;
84 Q_INVOKABLE
bool containsMainWindow(
const QString &uniqueName)
const;
87 dockByName(
const QString &, KDDockWidgets::DockRegistry::DockByNameFlags = {})
const;
93 Vector<Core::DockWidget *> dockwidgets()
const;
96 Vector<Core::DockWidget *> dockWidgets(
const Vector<QString> &names);
100 Vector<Core::DockWidget *> closedDockwidgets(
bool honourSkipped)
const;
103 Vector<Core::MainWindow *> mainwindows()
const;
108 Vector<Core::MainWindowViewInterface *> mainDockingAreas()
const;
111 Vector<Core::MainWindow *> mainWindows(
const Vector<QString> &names);
114 Vector<Core::Group *> groups()
const;
118 Vector<Core::FloatingWindow *>
119 floatingWindows(
bool includeBeingDeleted =
false,
bool honourSkipped =
false)
const;
123 Vector<std::shared_ptr<Core::Window>> floatingQWindows()
const;
126 Q_INVOKABLE
bool hasFloatingWindows()
const;
129 Core::FloatingWindow *
136 Core::MainWindow *mainWindowForHandle(std::shared_ptr<Core::Window> windowHandle)
const;
172 void ensureAllFloatingWidgetsAreMorphed();
179 bool isEmpty(
bool excludeBeingDeleted =
false)
const;
191 bool itemIsInMainWindow(
const Core::Item *)
const;
210 bool isProbablyObscured(std::shared_ptr<Core::Window> target, Core::WindowBeingDragged *exclude)
const;
227 Private *dptr()
const;
235 void onFocusedViewChanged(std::shared_ptr<Core::View> view);
240 bool onExposeEvent(std::shared_ptr<Core::Window>)
override;
241 bool onMouseButtonPress(
Core::View *, MouseEvent *)
override;
261 mutable std::map<QString, QString> m_dockWidgetIdRemapping;
264 Core::SideBarGroupings *
const m_sideBarGroupings;