<HTML> <HEAD> <TITLE>class KSessionManaged</TITLE> <META NAME="Generator" CONTENT="KDOC "> </HEAD> <BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff"> <TABLE WIDTH="100%" BORDER="0"> <TR> <TD> <TABLE BORDER="0"> <TR><TD valign="top" align="left" cellspacing="10"> <h1>class KSessionManaged</h1> </TD> <TD valign="top" align="right" colspan="1">Highlevel access to session management. <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="kapp_h.html">kapp.h</A>></code></TD></TR> <TR><TH><A HREF="full-list-KSessionManaged.html">List of all Methods</A></TH></TR> </TABLE> </TD> <TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR> <TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR> <TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR> <TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR> <TR><TD><small><A HREF="index.html">Index</A></small></TD></TR> </TABLE></TD></TR></TABLE> <h4>Public Methods</h4><ul><LI> <b><A HREF="#ref1">KSessionManaged</A></b> () </LI> <LI>virtual <b><A HREF="#ref2">~KSessionManaged</A></b> () </LI> <LI>virtual bool <b><A HREF="#ref3">saveState</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsessionmanager.html">QSessionManager</A>& sm ) </LI> <LI>virtual bool <b><A HREF="#ref4">commitData</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsessionmanager.html">QSessionManager</A>& sm ) </LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> Provides highlevel aceess to session management on a per-object base. </p> <p> KSessionManaged makes it possible to provide implementations for <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html#d7ce0a">QApplication::commitData</A>() and <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html#7bd5f2">QApplication::saveState</A>(), without subclassing KApplication. KMainWindow internally makes use of this. </p> <p> 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. </p> <p></p> <A NAME="KSessionManaged"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KSessionManaged</strong> () <br></td><td align="right"><h3><strong>KSessionManaged</strong></h3></td></tr></table><p></p><A NAME="~KSessionManaged"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~KSessionManaged</strong> () <br></td><td align="right"><h3><strong>~KSessionManaged</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="saveState"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool <strong>saveState</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsessionmanager.html">QSessionManager</A>& sm ) <br></td><td align="right"><h3><strong>saveState</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> See <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html#7bd5f2">QApplication::saveState</A>() for documentation. </p> <p> This function is just a convenience version to avoid subclassing KApplication. </p> <A NAME="commitData"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool <strong>commitData</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsessionmanager.html">QSessionManager</A>& sm ) <br></td><td align="right"><h3><strong>commitData</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> See <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qapplication.html#d7ce0a">QApplication::commitData</A>() for documentation. </p> <p> This function is just a convenience version to avoid subclassing KApplication. </p> <HR><UL><LI><i>Author</i>: Matthias Ettrich <ettrich@kde.org> </LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:08:56 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>