aboutsummaryrefslogtreecommitdiff
path: root/src/gui/kwindowconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kwindowconfig.h')
-rw-r--r--src/gui/kwindowconfig.h48
1 files changed, 24 insertions, 24 deletions
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