diff -r 52e8c820d0dd -r c679fb30c8f3 Documentation/Source/eric4.Preferences.__init__.html --- a/Documentation/Source/eric4.Preferences.__init__.html Mon Dec 28 18:31:37 2009 +0000 +++ b/Documentation/Source/eric4.Preferences.__init__.html Wed Dec 30 15:40:33 2009 +0000 @@ -27,10 +27,9 @@ The preferences interface consists of a class, which defines the default values for all configuration items and stores the actual values. These values are read and written to the eric4 preferences file by module -functions. On Windows the data is located in the registry, everywhere -else it is stored in a file in a subdirectory of the users home directory. -The individual configuration data is accessed by accessor functions defined -on the module level. The module is simply imported wherever it is needed +functions. The data is stored in a file in a subdirectory of the users home +directory. The individual configuration data is accessed by accessor functions +defined on the module level. The module is simply imported wherever it is needed with the statement 'import Preferences'. Do not use 'from Preferences import *' to import it. </p> @@ -299,6 +298,12 @@ </tr><tr> <td><a href="#syncPreferences">syncPreferences</a></td> <td>Module function to sync the preferences to disk.</td> +</tr><tr> +<td><a href="#toBool">toBool</a></td> +<td>Module function to convert a value to bool.</td> +</tr><tr> +<td><a href="#toList">toList</a></td> +<td>Module function to convert a value to a list.</td> </tr> </table> <hr /><hr /> @@ -1895,5 +1900,41 @@ </dd> </dl> <div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="toBool" ID="toBool"></a> +<h2>toBool</h2> +<b>toBool</b>(<i>value</i>) +<p> + Module function to convert a value to bool. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +converted data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="toList" ID="toList"></a> +<h2>toList</h2> +<b>toList</b>(<i>value</i>) +<p> + Module function to convert a value to a list. +</p><dl> +<dt><i>value</i></dt> +<dd> +value to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +converted data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file