src/eric7/Documentation/Source/eric7.Utilities.AutoSaver.html

Fri, 27 Oct 2023 14:09:40 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 27 Oct 2023 14:09:40 +0200
branch
eric7
changeset 10259
b51dfacef37f
parent 9209
b99e7fd55fd3
child 10433
328f3ec4b77a
permissions
-rw-r--r--

Regenerated the source documentation with the corrected module parser.

<!DOCTYPE html>
<html><head>
<title>eric7.Utilities.AutoSaver</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Utilities.AutoSaver</h1>

<p>
Module implementing an auto saver class.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>

<tr>
<td><a href="#AutoSaver">AutoSaver</a></td>
<td>Class implementing the auto saver.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="AutoSaver" ID="AutoSaver"></a>
<h2>AutoSaver</h2>

<p>
    Class implementing the auto saver.
</p>
<h3>Derived from</h3>
QObject
<h3>Class Attributes</h3>

<table>
<tr><td>AUTOSAVE_IN</td></tr><tr><td>MAXWAIT</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#AutoSaver.__init__">AutoSaver</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#AutoSaver.changeOccurred">changeOccurred</a></td>
<td>Public slot handling a change.</td>
</tr>
<tr>
<td><a href="#AutoSaver.saveIfNeccessary">saveIfNeccessary</a></td>
<td>Public method to activate the save operation.</td>
</tr>
<tr>
<td><a href="#AutoSaver.timerEvent">timerEvent</a></td>
<td>Protected method handling timer events.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="AutoSaver.__init__" ID="AutoSaver.__init__"></a>
<h4>AutoSaver (Constructor)</h4>
<b>AutoSaver</b>(<i>parent, save</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>parent</i></dt>
<dd>
reference to the parent object (QObject)
</dd>
<dt><i>save</i></dt>
<dd>
slot to be called to perform the save operation
</dd>
</dl>
<dl>

<dt>Raises <b>RuntimeError</b>:</dt>
<dd>
raised, if no parent is given
</dd>
</dl>
<a NAME="AutoSaver.changeOccurred" ID="AutoSaver.changeOccurred"></a>
<h4>AutoSaver.changeOccurred</h4>
<b>changeOccurred</b>(<i></i>)

<p>
        Public slot handling a change.
</p>
<a NAME="AutoSaver.saveIfNeccessary" ID="AutoSaver.saveIfNeccessary"></a>
<h4>AutoSaver.saveIfNeccessary</h4>
<b>saveIfNeccessary</b>(<i></i>)

<p>
        Public method to activate the save operation.
</p>
<a NAME="AutoSaver.timerEvent" ID="AutoSaver.timerEvent"></a>
<h4>AutoSaver.timerEvent</h4>
<b>timerEvent</b>(<i>evt</i>)

<p>
        Protected method handling timer events.
</p>
<dl>

<dt><i>evt</i></dt>
<dd>
reference to the timer event (QTimerEvent)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial