KSessionManaged Class Reference
Provides highlevel access to session management on a per-object base. Highlevel access to session management. More...
#include <kapplication.h>
Public Methods | |
virtual bool | saveState (QSessionManager &sm) |
See QApplication::saveState() for documentation. | |
virtual bool | commitData (QSessionManager &sm) |
See QApplication::commitData() for documentation. |
Detailed Description
Provides highlevel access to session management on a per-object base. Highlevel access to session management.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.
- Author:
- Matthias Ettrich <ettrich@kde.org>
Definition at line 1129 of file kapplication.h.
Member Function Documentation
|
See QApplication::saveState() for documentation. This function is just a convenience version to avoid subclassing KApplication. Return true to indicate a successful state save or false to indicate a problem and to halt the shutdown process (will implicitly call sm.cancel() ). Definition at line 850 of file kapplication.cpp. |
|
See QApplication::commitData() for documentation. This function is just a convenience version to avoid subclassing KApplication. Return true to indicate a successful commit of data or false to indicate a problem and to halt the shutdown process (will implicitly call sm.cancel() ). Definition at line 855 of file kapplication.cpp. |
The documentation for this class was generated from the following files: