KDEUI
#include <ksessionmanager.h>
Inherited by KMWSessionManager.
Public Member Functions | |
KSessionManager () | |
virtual | ~KSessionManager () |
virtual bool | commitData (QSessionManager &sm) |
virtual bool | saveState (QSessionManager &sm) |
Static Public Member Functions | |
static QList< KSessionManager * > & | sessionClients () |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Provides highlevel access to session management on a per-object base.
KSessionManager 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.
Highlevel access to session management.
Definition at line 45 of file ksessionmanager.h.
Constructor & Destructor Documentation
KSessionManager::KSessionManager | ( | ) |
Definition at line 23 of file ksessionmanager.cpp.
|
virtual |
Definition at line 30 of file ksessionmanager.cpp.
Member Function Documentation
|
virtual |
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 40 of file ksessionmanager.cpp.
|
virtual |
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 35 of file ksessionmanager.cpp.
|
static |
Definition at line 45 of file ksessionmanager.cpp.
|
protectedvirtual |
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility.
Unused in this class.
Definition at line 51 of file ksessionmanager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.