From 0e6e4bf39170d9e327d3448064bc64cdfe15bdd5 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 30 Nov 2007 18:42:17 +0000 Subject: enable session management CCMAIL: faure@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=743357 --- src/dolphinmainwindow.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 278ffffc7..53b209642 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -160,21 +160,14 @@ signals: void requestItemInfo(const KFileItem& item); protected: - /** @see QMainWindow::closeEvent */ + /** @see QMainWindow::closeEvent() */ virtual void closeEvent(QCloseEvent* event); - /** - * This method is called when it is time for the app to save its - * properties for session management purposes. - */ - void saveProperties(KConfig*); + /** @see KMainWindow::saveProperties() */ + virtual void saveProperties(KConfigGroup& group); - /** - * This method is called when this app is restored. The KConfig - * object points to the session management config file that was saved - * with @ref saveProperties - */ - void readProperties(KConfig*); + /** @see KMainWindow::readProperties() */ + virtual void readProperties(const KConfigGroup& group); private slots: /** Updates the 'Create New...' sub menu. */ -- cgit v1.3