.TH "KSessionManaged" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KSessionManaged \- Provides highlevel access to session management on a per-object base. Highlevel access to session management.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kapplication.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual bool \fBsaveState\fP (\fBQSessionManager\fP &sm)"
.br
.ti -1c
.RI "virtual bool \fBcommitData\fP (\fBQSessionManager\fP &sm)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Provides highlevel access to session management on a per-object base. Highlevel access to session management. 

KSessionManaged makes it possible to provide implementations for \fBQApplication::commitData()\fP and \fBQApplication::saveState()\fP, without subclassing \fBKApplication\fP. \fBKMainWindow\fP internally makes use of this.
.PP
You don't need to do anything with this class when using \fBKMainWindow\fP. Instead, use \fBKMainWindow::saveProperties()\fP, \fBKMainWindow::readProperties()\fP, \fBKMainWindow::queryClose()\fP, \fBKMainWindow::queryExit()\fP and friends.
.PP
\fBAuthor:\fP
.RS 4
Matthias Ettrich <ettrich@kde.org> 
.RE
.PP

.PP
Definition at line 1424 of file kapplication.h.
.SH "Member Function Documentation"
.PP 
.SS "bool KSessionManaged::saveState (\fBQSessionManager\fP & sm)\fC [virtual]\fP"
.PP
See \fBQApplication::saveState()\fP for documentation. 
.PP
This function is just a convenience version to avoid subclassing \fBKApplication\fP.
.PP
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() ). 
.PP
Definition at line 1070 of file kapplication.cpp.
.SS "bool KSessionManaged::commitData (\fBQSessionManager\fP & sm)\fC [virtual]\fP"
.PP
See \fBQApplication::commitData()\fP for documentation. 
.PP
This function is just a convenience version to avoid subclassing \fBKApplication\fP.
.PP
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() ). 
.PP
Definition at line 1075 of file kapplication.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
