#include <tdeapplication.h>
Public Member Functions | |
virtual bool | saveState (TQSessionManager &sm) |
virtual bool | commitData (TQSessionManager &sm) |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Provides highlevel access to session management on a per-object base.
KSessionManaged makes it possible to provide implementations for TQApplication::commitData() and TQApplication::saveState(), without subclassing TDEApplication. TDEMainWindow internally makes use of this.
You don't need to do anything with this class when using TDEMainWindow. Instead, use TDEMainWindow::saveProperties(), TDEMainWindow::readProperties(), TDEMainWindow::queryClose(), TDEMainWindow::queryExit() and friends.
Highlevel access to session management.
Definition at line 1611 of file tdeapplication.h.
Member Function Documentation
◆ commitData()
|
virtual |
See TQApplication::commitData() for documentation.
This function is just a convenience version to avoid subclassing TDEApplication.
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 1277 of file tdeapplication.cpp.
◆ saveState()
|
virtual |
See TQApplication::saveState() for documentation.
This function is just a convenience version to avoid subclassing TDEApplication.
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 1272 of file tdeapplication.cpp.
The documentation for this class was generated from the following files: