KConfig
kwindowstatesaver.h
36 * do not have an associated QWindow yet (ie. windowHandle() return @c nullptr). KWindowStateSaver
64 * Use this for widgets that aren't shown yet and would still return @c nullptr from windowHandle().
71 * Use this for widgets that aren't shown yet and would still return @c nullptr from windowHandle().
85 void initWidget(QObject *widget, const std::function<QWindow *()> &windowHandleCallback, const KConfigGroup &configGroup);
Saves and restores a window size and (when possible) position.
Definition kwindowstatesaver.h:47
KWindowStateSaver(QWindow *window, const KConfigGroup &configGroup)
Create a new window state saver for window.
Definition kwindowstatesaver.cpp:64
virtual bool eventFilter(QObject *watched, QEvent *event)
virtual void timerEvent(QTimerEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.