|
|
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.