qt/LedOK/QSimpleUpdater/doc/output/html/class_q_simple_updater.html

788 lines
52 KiB
HTML
Raw Normal View History

2022-01-04 18:11:48 +08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>QSimpleUpdater: QSimpleUpdater Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="icon.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">QSimpleUpdater
</div>
<div id="projectbrief">A simple auto-updater system for Qt applications</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="class_q_simple_updater-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">QSimpleUpdater Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Manages the updater instances.
<a href="class_q_simple_updater.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_q_simple_updater_8h_source.html">QSimpleUpdater.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QSimpleUpdater:</div>
<div class="dyncontent">
<div class="center">
<img src="class_q_simple_updater.png" usemap="#QSimpleUpdater_map" alt=""/>
<map id="QSimpleUpdater_map" name="QSimpleUpdater_map">
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:a791c89568adb171a62ccd0704570b68d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a791c89568adb171a62ccd0704570b68d">checkForUpdates</a> (const QString &amp;url)</td></tr>
<tr class="separator:a791c89568adb171a62ccd0704570b68d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b5e2bb2b88ab10a3c6c3a83661a2ebe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a4b5e2bb2b88ab10a3c6c3a83661a2ebe">setModuleName</a> (const QString &amp;url, const QString &amp;name)</td></tr>
<tr class="separator:a4b5e2bb2b88ab10a3c6c3a83661a2ebe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4789b616743189642a023fa7704e9c00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a4789b616743189642a023fa7704e9c00">setNotifyOnUpdate</a> (const QString &amp;url, const bool &amp;notify)</td></tr>
<tr class="separator:a4789b616743189642a023fa7704e9c00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9e53f893874d54bff8c787c2f560bd2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#ad9e53f893874d54bff8c787c2f560bd2">setNotifyOnFinish</a> (const QString &amp;url, const bool &amp;notify)</td></tr>
<tr class="separator:ad9e53f893874d54bff8c787c2f560bd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6b2713b7468a69ce3ff46074e642df8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#af6b2713b7468a69ce3ff46074e642df8">setPlatformKey</a> (const QString &amp;url, const QString &amp;platform)</td></tr>
<tr class="separator:af6b2713b7468a69ce3ff46074e642df8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a2a03f01c7ba081637268910fc50919"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a1a2a03f01c7ba081637268910fc50919">setModuleVersion</a> (const QString &amp;url, const QString &amp;version)</td></tr>
<tr class="separator:a1a2a03f01c7ba081637268910fc50919"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ff15deef5af536150911353df0c44b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a0ff15deef5af536150911353df0c44b2">setDownloaderEnabled</a> (const QString &amp;url, const bool &amp;enabled)</td></tr>
<tr class="separator:a0ff15deef5af536150911353df0c44b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c30dd784023264dd6ec885ec755f515"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a6c30dd784023264dd6ec885ec755f515">setUseCustomInstallProcedures</a> (const QString &amp;url, const bool &amp;custom)</td></tr>
<tr class="separator:a6c30dd784023264dd6ec885ec755f515"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a4d848457bbda4cf981b0539d6b8d6c1a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d848457bbda4cf981b0539d6b8d6c1a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>checkingFinished</b> (const QString &amp;url)</td></tr>
<tr class="separator:a4d848457bbda4cf981b0539d6b8d6c1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab76ecf1731d58d5f809379efd238f236"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab76ecf1731d58d5f809379efd238f236"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>downloadFinished</b> (const QString &amp;url, const QString &amp;filepath)</td></tr>
<tr class="separator:ab76ecf1731d58d5f809379efd238f236"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acdc00558a979df664910b07cb82f9b36"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#acdc00558a979df664910b07cb82f9b36">getNotifyOnUpdate</a> (const QString &amp;url) const </td></tr>
<tr class="separator:acdc00558a979df664910b07cb82f9b36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc540358f0d887e4945ac061667a596d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#acc540358f0d887e4945ac061667a596d">getNotifyOnFinish</a> (const QString &amp;url) const </td></tr>
<tr class="separator:acc540358f0d887e4945ac061667a596d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6557bff5a8a255291f12d2613879981b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a6557bff5a8a255291f12d2613879981b">getUpdateAvailable</a> (const QString &amp;url) const </td></tr>
<tr class="separator:a6557bff5a8a255291f12d2613879981b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10f421d41b30134583ee1f5e8cfbc59d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a10f421d41b30134583ee1f5e8cfbc59d">getDownloaderEnabled</a> (const QString &amp;url) const </td></tr>
<tr class="separator:a10f421d41b30134583ee1f5e8cfbc59d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8f4cca002e820499d1fbca127095c87"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#af8f4cca002e820499d1fbca127095c87">usesCustomInstallProcedures</a> (const QString &amp;url) const </td></tr>
<tr class="separator:af8f4cca002e820499d1fbca127095c87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bbffc681514ca5393450b8664c137bb"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a1bbffc681514ca5393450b8664c137bb">getChangelog</a> (const QString &amp;url) const </td></tr>
<tr class="separator:a1bbffc681514ca5393450b8664c137bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30c3bccb5c6f06c1a243fa2629f441a3"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a30c3bccb5c6f06c1a243fa2629f441a3">getModuleName</a> (const QString &amp;url) const </td></tr>
<tr class="separator:a30c3bccb5c6f06c1a243fa2629f441a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c660cca487b092fd8e1b366a964a10b"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a2c660cca487b092fd8e1b366a964a10b">getDownloadUrl</a> (const QString &amp;url) const </td></tr>
<tr class="separator:a2c660cca487b092fd8e1b366a964a10b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f061c6945b58664c2c9f9ec26f0d87c"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a0f061c6945b58664c2c9f9ec26f0d87c">getPlatformKey</a> (const QString &amp;url) const </td></tr>
<tr class="separator:a0f061c6945b58664c2c9f9ec26f0d87c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefb5ac20bec6e8509e2b55ed14926a70"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#aefb5ac20bec6e8509e2b55ed14926a70">getLatestVersion</a> (const QString &amp;url) const </td></tr>
<tr class="separator:aefb5ac20bec6e8509e2b55ed14926a70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7391bb43acbcbf1627cc51262c2ec60"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#ad7391bb43acbcbf1627cc51262c2ec60">getModuleVersion</a> (const QString &amp;url) const </td></tr>
<tr class="separator:ad7391bb43acbcbf1627cc51262c2ec60"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:adea7d414a9430fc2b653231a87eaacc6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_q_simple_updater.html">QSimpleUpdater</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#adea7d414a9430fc2b653231a87eaacc6">getInstance</a> ()</td></tr>
<tr class="separator:adea7d414a9430fc2b653231a87eaacc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a0305a6c8eb9d0bf213736d1c1beb4149"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_updater.html">Updater</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater</a> (const QString &amp;url) const </td></tr>
<tr class="separator:a0305a6c8eb9d0bf213736d1c1beb4149"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Manages the updater instances. </p>
<p>The <code><a class="el" href="class_q_simple_updater.html" title="Manages the updater instances. ">QSimpleUpdater</a></code> class manages the updater system and allows for parallel application modules to check for updates and download them.</p>
<p>The behavior of each updater can be regulated by specifying the update definitions URL (from where we download the individual update definitions) and defining the desired options by calling the individual "setter" functions (e.g. <code><a class="el" href="class_q_simple_updater.html#a4789b616743189642a023fa7704e9c00">setNotifyOnUpdate()</a></code>).</p>
<p>The <code><a class="el" href="class_q_simple_updater.html" title="Manages the updater instances. ">QSimpleUpdater</a></code> also implements an integrated downloader. If you need to use a custom install procedure/code, just create a function that is called when the <code>downloadFinished()</code> signal is emitted to implement your own install procedures.</p>
<p>By default, the downloader will try to open the file as if you opened it from a file manager or a web browser (with the "file:*" url). </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a791c89568adb171a62ccd0704570b68d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QSimpleUpdater::checkForUpdates </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Instructs the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance with the registered <code>url</code> to download and interpret the update definitions file.</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_updater.html#a4af41658f974f72c71a9463be7bba1b5">Updater::checkForUpdates()</a>, and <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>.</p>
</div>
</div>
<a class="anchor" id="a1bbffc681514ca5393450b8664c137bb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString QSimpleUpdater::getChangelog </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the changelog of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em>.</p>
<dl class="section warning"><dt>Warning</dt><dd>You should call <code><a class="el" href="class_q_simple_updater.html#a791c89568adb171a62ccd0704570b68d">checkForUpdates()</a></code> before using this function </dd></dl>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_updater.html#af6a266ddbf0b855bcee1e9f77dfe9efb">Updater::changelog()</a>, and <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>.</p>
</div>
</div>
<a class="anchor" id="a10f421d41b30134583ee1f5e8cfbc59d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QSimpleUpdater::getDownloaderEnabled </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> has the integrated downloader enabled.</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_updater.html#a4f526325b92c344244303b877d990cd3">Updater::downloaderEnabled()</a>, and <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>.</p>
</div>
</div>
<a class="anchor" id="a2c660cca487b092fd8e1b366a964a10b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString QSimpleUpdater::getDownloadUrl </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the download URL of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em>.</p>
<dl class="section warning"><dt>Warning</dt><dd>You should call <code><a class="el" href="class_q_simple_updater.html#a791c89568adb171a62ccd0704570b68d">checkForUpdates()</a></code> before using this function </dd></dl>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_updater.html#a5690e5ab3dde19098caf77c22f8bf075">Updater::downloadUrl()</a>, and <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>.</p>
</div>
</div>
<a class="anchor" id="adea7d414a9430fc2b653231a87eaacc6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_q_simple_updater.html">QSimpleUpdater</a> * QSimpleUpdater::getInstance </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the only instance of the class </p>
</div>
</div>
<a class="anchor" id="aefb5ac20bec6e8509e2b55ed14926a70"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString QSimpleUpdater::getLatestVersion </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the remote module version of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em>.</p>
<dl class="section warning"><dt>Warning</dt><dd>You should call <code><a class="el" href="class_q_simple_updater.html#a791c89568adb171a62ccd0704570b68d">checkForUpdates()</a></code> before using this function </dd></dl>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#a25e7f289753c6d7b4439ee3728866a48">Updater::latestVersion()</a>.</p>
</div>
</div>
<a class="anchor" id="a30c3bccb5c6f06c1a243fa2629f441a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString QSimpleUpdater::getModuleName </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the module name of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em>.</p>
<dl class="section note"><dt>Note</dt><dd>If the module name is empty, then the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> will use the application name as its module name. </dd>
<dd>
If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#a7d8369115126e41cdefd30004cefc46d">Updater::moduleName()</a>.</p>
</div>
</div>
<a class="anchor" id="ad7391bb43acbcbf1627cc51262c2ec60"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString QSimpleUpdater::getModuleVersion </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the module version of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em>.</p>
<dl class="section note"><dt>Note</dt><dd>If the module version is empty, then the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> will use the application version as its module version. </dd>
<dd>
If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#af32daac9bff9cb3e79798fc9a825648e">Updater::moduleVersion()</a>.</p>
</div>
</div>
<a class="anchor" id="acc540358f0d887e4945ac061667a596d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QSimpleUpdater::getNotifyOnFinish </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> shall notify the user when it finishes checking for updates.</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#ad9fd2c8c3782c04289a76b1bf0b23ca0">Updater::notifyOnFinish()</a>.</p>
</div>
</div>
<a class="anchor" id="acdc00558a979df664910b07cb82f9b36"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QSimpleUpdater::getNotifyOnUpdate </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> shall notify the user when an update is available.</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#abefc7aae1333458ab03d50aec9b58581">Updater::notifyOnUpdate()</a>.</p>
</div>
</div>
<a class="anchor" id="a0f061c6945b58664c2c9f9ec26f0d87c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString QSimpleUpdater::getPlatformKey </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the platform key of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> registered with the given <em>url</em>. If you do not define a platform key, the system will assign the following platform key:</p><ul>
<li>On iOS: <code>ios</code> </li>
<li>On Mac OSX: <code>osx</code> </li>
<li>On Android: <code>android</code> </li>
<li>On GNU/Linux: <code>linux</code> </li>
<li>On Microsoft Windows: <code>windows</code> </li>
</ul>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#ad6d8a5d7b8fd9bdfde738d72c50f8bee">Updater::platformKey()</a>.</p>
</div>
</div>
<a class="anchor" id="a6557bff5a8a255291f12d2613879981b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QSimpleUpdater::getUpdateAvailable </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> has an update available.</p>
<dl class="section warning"><dt>Warning</dt><dd>You should call <code><a class="el" href="class_q_simple_updater.html#a791c89568adb171a62ccd0704570b68d">checkForUpdates()</a></code> before using this function </dd></dl>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#aec889d582692cb41875ea803db3feb35">Updater::updateAvailable()</a>.</p>
</div>
</div>
<a class="anchor" id="a0305a6c8eb9d0bf213736d1c1beb4149"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_updater.html">Updater</a> * QSimpleUpdater::getUpdater </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em>.</p>
<p>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with teh given <em>url</em> does not exist, this function will create it and configure it automatically. </p>
<p>References <a class="el" href="class_updater.html#a1219e9bb1c1fb0a68d757fbc0d9b76aa">Updater::setUrl()</a>.</p>
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a791c89568adb171a62ccd0704570b68d">checkForUpdates()</a>, <a class="el" href="class_q_simple_updater.html#a1bbffc681514ca5393450b8664c137bb">getChangelog()</a>, <a class="el" href="class_q_simple_updater.html#a10f421d41b30134583ee1f5e8cfbc59d">getDownloaderEnabled()</a>, <a class="el" href="class_q_simple_updater.html#a2c660cca487b092fd8e1b366a964a10b">getDownloadUrl()</a>, <a class="el" href="class_q_simple_updater.html#aefb5ac20bec6e8509e2b55ed14926a70">getLatestVersion()</a>, <a class="el" href="class_q_simple_updater.html#a30c3bccb5c6f06c1a243fa2629f441a3">getModuleName()</a>, <a class="el" href="class_q_simple_updater.html#ad7391bb43acbcbf1627cc51262c2ec60">getModuleVersion()</a>, <a class="el" href="class_q_simple_updater.html#acc540358f0d887e4945ac061667a596d">getNotifyOnFinish()</a>, <a class="el" href="class_q_simple_updater.html#acdc00558a979df664910b07cb82f9b36">getNotifyOnUpdate()</a>, <a class="el" href="class_q_simple_updater.html#a0f061c6945b58664c2c9f9ec26f0d87c">getPlatformKey()</a>, <a class="el" href="class_q_simple_updater.html#a6557bff5a8a255291f12d2613879981b">getUpdateAvailable()</a>, <a class="el" href="class_q_simple_updater.html#a0ff15deef5af536150911353df0c44b2">setDownloaderEnabled()</a>, <a class="el" href="class_q_simple_updater.html#a4b5e2bb2b88ab10a3c6c3a83661a2ebe">setModuleName()</a>, <a class="el" href="class_q_simple_updater.html#a1a2a03f01c7ba081637268910fc50919">setModuleVersion()</a>, <a class="el" href="class_q_simple_updater.html#ad9e53f893874d54bff8c787c2f560bd2">setNotifyOnFinish()</a>, <a class="el" href="class_q_simple_updater.html#a4789b616743189642a023fa7704e9c00">setNotifyOnUpdate()</a>, <a class="el" href="class_q_simple_updater.html#af6b2713b7468a69ce3ff46074e642df8">setPlatformKey()</a>, <a class="el" href="class_q_simple_updater.html#a6c30dd784023264dd6ec885ec755f515">setUseCustomInstallProcedures()</a>, and <a class="el" href="class_q_simple_updater.html#af8f4cca002e820499d1fbca127095c87">usesCustomInstallProcedures()</a>.</p>
</div>
</div>
<a class="anchor" id="a0ff15deef5af536150911353df0c44b2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QSimpleUpdater::setDownloaderEnabled </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool &amp;&#160;</td>
<td class="paramname"><em>enabled</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If the <em>enabled</em> parameter is set to <code>true</code>, the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> will open the integrated downloader if the user agrees to install the update (if any).</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#a46d6db0d853ed8400a1725df436812ee">Updater::setDownloaderEnabled()</a>.</p>
</div>
</div>
<a class="anchor" id="a4b5e2bb2b88ab10a3c6c3a83661a2ebe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QSimpleUpdater::setModuleName </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the module <em>name</em> of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered at the given <em>url</em>.</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd>
<dd>
The module name is used on the user prompts. If the module name is empty, then the prompts will show the name of the application. </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#a5ac7e1a2bd65353a5fdec22689f1adf3">Updater::setModuleName()</a>.</p>
</div>
</div>
<a class="anchor" id="a1a2a03f01c7ba081637268910fc50919"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QSimpleUpdater::setModuleVersion </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>version</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the module </p><dl class="section version"><dt>Version</dt><dd>of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered at the given <em>url</em>.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The module version is used to compare it with the remove version. If the module name is empty, then the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will use the application version. </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#a8da70f39cc193b94c64769fc6f40dc2c">Updater::setModuleVersion()</a>.</p>
</div>
</div>
<a class="anchor" id="ad9e53f893874d54bff8c787c2f560bd2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QSimpleUpdater::setNotifyOnFinish </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool &amp;&#160;</td>
<td class="paramname"><em>notify</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If <em>notify</em> is set to <code>true</code>, then the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> will notify the user when it has finished interpreting the update definitions file.</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#a949e507fd72ec4b2565bb49ebe98a2dc">Updater::setNotifyOnFinish()</a>.</p>
</div>
</div>
<a class="anchor" id="a4789b616743189642a023fa7704e9c00"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QSimpleUpdater::setNotifyOnUpdate </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool &amp;&#160;</td>
<td class="paramname"><em>notify</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If <em>notify</em> is set to <code>true</code>, then the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> will notify the user when an update is available.</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#ad88b597bf4ae11a65a9c87171239ed00">Updater::setNotifyOnUpdate()</a>.</p>
</div>
</div>
<a class="anchor" id="af6b2713b7468a69ce3ff46074e642df8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QSimpleUpdater::setPlatformKey </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>platform</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the platform key of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> isntance registered at the given <em>url</em>.</p>
<p>If the platform key is empty, then the system will use the following keys:</p><ul>
<li>On iOS: <code>ios</code> </li>
<li>On Mac OSX: <code>osx</code> </li>
<li>On Android: <code>android</code> </li>
<li>On GNU/Linux: <code>linux</code> </li>
<li>On Microsoft Windows: <code>windows</code> </li>
</ul>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#a840a6b061590901eae3255ba74ff7ad8">Updater::setPlatformKey()</a>.</p>
</div>
</div>
<a class="anchor" id="a6c30dd784023264dd6ec885ec755f515"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QSimpleUpdater::setUseCustomInstallProcedures </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool &amp;&#160;</td>
<td class="paramname"><em>custom</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If the <em>custom</em> parameter is set to <code>true</code>, the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> will not try to open the downloaded file.</p>
<p>If you want to implement your own way to handle the downloaded file, just bind to the <code>downloadFinished()</code> signal and disable the integrated downloader with the <code><a class="el" href="class_q_simple_updater.html#a6c30dd784023264dd6ec885ec755f515">setUseCustomInstallProcedures()</a></code> function.</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#ac3f35326fb62b9cf8a2421d91651ad60">Updater::setUseCustomInstallProcedures()</a>.</p>
</div>
</div>
<a class="anchor" id="af8f4cca002e820499d1fbca127095c87"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QSimpleUpdater::usesCustomInstallProcedures </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>url</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> shall try to open the downloaded file.</p>
<p>If you want to implement your own way to handle the downloaded file, just bind to the <code>downloadFinished()</code> signal and disable the integrated downloader with the <code><a class="el" href="class_q_simple_updater.html#a6c30dd784023264dd6ec885ec755f515">setUseCustomInstallProcedures()</a></code> function.</p>
<dl class="section note"><dt>Note</dt><dd>If an <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance registered with the given <em>url</em> is not found, that <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> instance will be initialized automatically </dd></dl>
<p>References <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">getUpdater()</a>, and <a class="el" href="class_updater.html#a7860e1643f426dc4d62cec2cdf207cd5">Updater::useCustomInstallProcedures()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_q_simple_updater_8h_source.html">QSimpleUpdater.h</a></li>
<li>QSimpleUpdater.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>