# class KSessionManaged | Highlevel access to session management. More...
Definition | `#include <kapp.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KSessionManaged ()
- virtual ~KSessionManaged ()
- virtual bool saveState ( QSessionManager& sm )
- virtual bool commitData ( QSessionManager& sm )

## Detailed Description

Provides highlevel aceess to session management on a per-object base.

KSessionManaged makes it possible to provide implementations for QApplication::commitData() and QApplication::saveState(), without subclassing KApplication. KMainWindow internally makes use of this.

You don't need to do anything with this class when using KMainWindow. Instead, use KMainWindow::saveProperties(), KMainWindow::readProperties(), KMainWindow::queryClose(), KMainWindow::queryExit() and friends.

KSessionManaged () | ### KSessionManaged

~KSessionManaged () | ### ~KSessionManaged

[virtual]

bool saveState ( QSessionManager& sm ) | ### saveState

[virtual]

See QApplication::saveState() for documentation.

This function is just a convenience version to avoid subclassing KApplication.

bool commitData ( QSessionManager& sm ) | ### commitData

[virtual]

See QApplication::commitData() for documentation.

This function is just a convenience version to avoid subclassing KApplication.

- Author: Matthias Ettrich <ettrich@kde.org>
- Generated: root@sparc.ports.openbsd.org on Wed May 2 09:34:58 2001, using kdoc 2.0a53.