From 159963832457e6307282308455330acc7b5bd153 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 18 Dec 2013 09:53:59 +0100 Subject: Code reformatted using kde-dev-scripts/astyle-kdelibs. Use git blame -w 867e7a5 to show authorship as it was before this commit. --- src/gui/kwindowconfig.h | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'src/gui/kwindowconfig.h') diff --git a/src/gui/kwindowconfig.h b/src/gui/kwindowconfig.h index 2c70571d..e21d3d61 100644 --- a/src/gui/kwindowconfig.h +++ b/src/gui/kwindowconfig.h @@ -29,30 +29,30 @@ class QWindow; namespace KWindowConfig { - /** - * Saves the window's size dependent on the screen dimension either to the - * global or application config file. - * - * @note the group must be set before calling - * - * @param window The window to save size. - * @param config The config group to read from. - * @param options passed to KConfigGroup::writeEntry() - * @since 5.0 - */ - KCONFIGGUI_EXPORT void saveWindowSize( const QWindow* window, KConfigGroup& config, KConfigGroup::WriteConfigFlags options = KConfigGroup::Normal ); - - /** - * Restores the dialog's size from the configuration according to - * the screen size. - * - * @note the group must be set before calling - * - * @param dialog The dialog to restore size. - * @param config The config group to read from. - * @since 5.0. - */ - KCONFIGGUI_EXPORT void restoreWindowSize( QWindow* window, const KConfigGroup& config ); +/** + * Saves the window's size dependent on the screen dimension either to the + * global or application config file. + * + * @note the group must be set before calling + * + * @param window The window to save size. + * @param config The config group to read from. + * @param options passed to KConfigGroup::writeEntry() + * @since 5.0 + */ +KCONFIGGUI_EXPORT void saveWindowSize(const QWindow *window, KConfigGroup &config, KConfigGroup::WriteConfigFlags options = KConfigGroup::Normal); + +/** + * Restores the dialog's size from the configuration according to + * the screen size. + * + * @note the group must be set before calling + * + * @param dialog The dialog to restore size. + * @param config The config group to read from. + * @since 5.0. + */ +KCONFIGGUI_EXPORT void restoreWindowSize(QWindow *window, const KConfigGroup &config); } #endif // KWINDOWCONFIG_H -- cgit v1.2.1