821 lines
46 KiB
HTML
821 lines
46 KiB
HTML
|
<!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: Updater 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 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 List</span></a></li>
|
||
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
||
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class 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> |
|
||
|
<a href="#signals">Signals</a> |
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pri-slots">Private Slots</a> |
|
||
|
<a href="#pri-methods">Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="class_updater-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">Updater Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Downloads and interprests the update definition file.
|
||
|
<a href="class_updater.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="_updater_8h_source.html">Updater.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Inheritance diagram for Updater:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center">
|
||
|
<img src="class_updater.png" usemap="#Updater_map" alt=""/>
|
||
|
<map id="Updater_map" name="Updater_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:a4af41658f974f72c71a9463be7bba1b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a4af41658f974f72c71a9463be7bba1b5">checkForUpdates</a> ()</td></tr>
|
||
|
<tr class="separator:a4af41658f974f72c71a9463be7bba1b5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1219e9bb1c1fb0a68d757fbc0d9b76aa"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a1219e9bb1c1fb0a68d757fbc0d9b76aa">setUrl</a> (const QString &<a class="el" href="class_updater.html#a7ebf698a86619ebaadd2eb6e772f2a3d">url</a>)</td></tr>
|
||
|
<tr class="separator:a1219e9bb1c1fb0a68d757fbc0d9b76aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5ac7e1a2bd65353a5fdec22689f1adf3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a5ac7e1a2bd65353a5fdec22689f1adf3">setModuleName</a> (const QString &name)</td></tr>
|
||
|
<tr class="separator:a5ac7e1a2bd65353a5fdec22689f1adf3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad88b597bf4ae11a65a9c87171239ed00"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#ad88b597bf4ae11a65a9c87171239ed00">setNotifyOnUpdate</a> (const bool &notify)</td></tr>
|
||
|
<tr class="separator:ad88b597bf4ae11a65a9c87171239ed00"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a949e507fd72ec4b2565bb49ebe98a2dc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a949e507fd72ec4b2565bb49ebe98a2dc">setNotifyOnFinish</a> (const bool &notify)</td></tr>
|
||
|
<tr class="separator:a949e507fd72ec4b2565bb49ebe98a2dc"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8da70f39cc193b94c64769fc6f40dc2c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a8da70f39cc193b94c64769fc6f40dc2c">setModuleVersion</a> (const QString &version)</td></tr>
|
||
|
<tr class="separator:a8da70f39cc193b94c64769fc6f40dc2c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a46d6db0d853ed8400a1725df436812ee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a46d6db0d853ed8400a1725df436812ee">setDownloaderEnabled</a> (const bool &enabled)</td></tr>
|
||
|
<tr class="separator:a46d6db0d853ed8400a1725df436812ee"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a840a6b061590901eae3255ba74ff7ad8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a840a6b061590901eae3255ba74ff7ad8">setPlatformKey</a> (const QString &<a class="el" href="class_updater.html#ad6d8a5d7b8fd9bdfde738d72c50f8bee">platformKey</a>)</td></tr>
|
||
|
<tr class="separator:a840a6b061590901eae3255ba74ff7ad8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac3f35326fb62b9cf8a2421d91651ad60"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#ac3f35326fb62b9cf8a2421d91651ad60">setUseCustomInstallProcedures</a> (const bool &custom)</td></tr>
|
||
|
<tr class="separator:ac3f35326fb62b9cf8a2421d91651ad60"><td class="memSeparator" colspan="2"> </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:a82debd6b1ad627d6d40c0f2a9996e0c1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82debd6b1ad627d6d40c0f2a9996e0c1"></a>
|
||
|
void </td><td class="memItemRight" valign="bottom"><b>checkingFinished</b> (const QString &<a class="el" href="class_updater.html#a7ebf698a86619ebaadd2eb6e772f2a3d">url</a>)</td></tr>
|
||
|
<tr class="separator:a82debd6b1ad627d6d40c0f2a9996e0c1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a274a08240ad2bbea8cda6c52787510d3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a274a08240ad2bbea8cda6c52787510d3"></a>
|
||
|
void </td><td class="memItemRight" valign="bottom"><b>downloadFinished</b> (const QString &<a class="el" href="class_updater.html#a7ebf698a86619ebaadd2eb6e772f2a3d">url</a>, const QString &filepath)</td></tr>
|
||
|
<tr class="separator:a274a08240ad2bbea8cda6c52787510d3"><td class="memSeparator" colspan="2"> </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:a7ebf698a86619ebaadd2eb6e772f2a3d"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a7ebf698a86619ebaadd2eb6e772f2a3d">url</a> () const </td></tr>
|
||
|
<tr class="separator:a7ebf698a86619ebaadd2eb6e772f2a3d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af6a266ddbf0b855bcee1e9f77dfe9efb"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#af6a266ddbf0b855bcee1e9f77dfe9efb">changelog</a> () const </td></tr>
|
||
|
<tr class="separator:af6a266ddbf0b855bcee1e9f77dfe9efb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7d8369115126e41cdefd30004cefc46d"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a7d8369115126e41cdefd30004cefc46d">moduleName</a> () const </td></tr>
|
||
|
<tr class="separator:a7d8369115126e41cdefd30004cefc46d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5690e5ab3dde19098caf77c22f8bf075"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a5690e5ab3dde19098caf77c22f8bf075">downloadUrl</a> () const </td></tr>
|
||
|
<tr class="separator:a5690e5ab3dde19098caf77c22f8bf075"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad6d8a5d7b8fd9bdfde738d72c50f8bee"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#ad6d8a5d7b8fd9bdfde738d72c50f8bee">platformKey</a> () const </td></tr>
|
||
|
<tr class="separator:ad6d8a5d7b8fd9bdfde738d72c50f8bee"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af32daac9bff9cb3e79798fc9a825648e"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#af32daac9bff9cb3e79798fc9a825648e">moduleVersion</a> () const </td></tr>
|
||
|
<tr class="separator:af32daac9bff9cb3e79798fc9a825648e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a25e7f289753c6d7b4439ee3728866a48"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a25e7f289753c6d7b4439ee3728866a48">latestVersion</a> () const </td></tr>
|
||
|
<tr class="separator:a25e7f289753c6d7b4439ee3728866a48"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:abefc7aae1333458ab03d50aec9b58581"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#abefc7aae1333458ab03d50aec9b58581">notifyOnUpdate</a> () const </td></tr>
|
||
|
<tr class="separator:abefc7aae1333458ab03d50aec9b58581"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad9fd2c8c3782c04289a76b1bf0b23ca0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#ad9fd2c8c3782c04289a76b1bf0b23ca0">notifyOnFinish</a> () const </td></tr>
|
||
|
<tr class="separator:ad9fd2c8c3782c04289a76b1bf0b23ca0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aec889d582692cb41875ea803db3feb35"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#aec889d582692cb41875ea803db3feb35">updateAvailable</a> () const </td></tr>
|
||
|
<tr class="separator:aec889d582692cb41875ea803db3feb35"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4f526325b92c344244303b877d990cd3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a4f526325b92c344244303b877d990cd3">downloaderEnabled</a> () const </td></tr>
|
||
|
<tr class="separator:a4f526325b92c344244303b877d990cd3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7860e1643f426dc4d62cec2cdf207cd5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a7860e1643f426dc4d62cec2cdf207cd5">useCustomInstallProcedures</a> () const </td></tr>
|
||
|
<tr class="separator:a7860e1643f426dc4d62cec2cdf207cd5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
|
||
|
Private Slots</h2></td></tr>
|
||
|
<tr class="memitem:ae6e6597cd5b3ee32a12fad9c6c5a64ac"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#ae6e6597cd5b3ee32a12fad9c6c5a64ac">onReply</a> (QNetworkReply *reply)</td></tr>
|
||
|
<tr class="separator:ae6e6597cd5b3ee32a12fad9c6c5a64ac"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1a38e54201eb876d14eb26fab40a7dc7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a1a38e54201eb876d14eb26fab40a7dc7">setUpdateAvailable</a> (const bool &available)</td></tr>
|
||
|
<tr class="separator:a1a38e54201eb876d14eb26fab40a7dc7"><td class="memSeparator" colspan="2"> </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:a247145d494c38d15f6569bbd209380e3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_updater.html#a247145d494c38d15f6569bbd209380e3">compare</a> (const QString &x, const QString &y)</td></tr>
|
||
|
<tr class="separator:a247145d494c38d15f6569bbd209380e3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
||
|
Private Attributes</h2></td></tr>
|
||
|
<tr class="memitem:a51580c8199714afd10078d24dbc3514f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a51580c8199714afd10078d24dbc3514f"></a>
|
||
|
QString </td><td class="memItemRight" valign="bottom"><b>m_url</b></td></tr>
|
||
|
<tr class="separator:a51580c8199714afd10078d24dbc3514f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afdfb2e8d597c45ea309de8948e2de282"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdfb2e8d597c45ea309de8948e2de282"></a>
|
||
|
bool </td><td class="memItemRight" valign="bottom"><b>m_notifyOnUpdate</b></td></tr>
|
||
|
<tr class="separator:afdfb2e8d597c45ea309de8948e2de282"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5ca544f6c75c009469e236f9e5c4da15"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5ca544f6c75c009469e236f9e5c4da15"></a>
|
||
|
bool </td><td class="memItemRight" valign="bottom"><b>m_notifyOnFinish</b></td></tr>
|
||
|
<tr class="separator:a5ca544f6c75c009469e236f9e5c4da15"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5b8f2c57972915d033710d9d44debcef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b8f2c57972915d033710d9d44debcef"></a>
|
||
|
bool </td><td class="memItemRight" valign="bottom"><b>m_updateAvailable</b></td></tr>
|
||
|
<tr class="separator:a5b8f2c57972915d033710d9d44debcef"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad49b3d2b70630247739ab2b1f0706a7f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad49b3d2b70630247739ab2b1f0706a7f"></a>
|
||
|
bool </td><td class="memItemRight" valign="bottom"><b>m_downloaderEnabled</b></td></tr>
|
||
|
<tr class="separator:ad49b3d2b70630247739ab2b1f0706a7f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a229fb1904163af697d0b54ab9297bb3f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a229fb1904163af697d0b54ab9297bb3f"></a>
|
||
|
QString </td><td class="memItemRight" valign="bottom"><b>m_openUrl</b></td></tr>
|
||
|
<tr class="separator:a229fb1904163af697d0b54ab9297bb3f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af932fab28132a01f245d23ba7c5fbf70"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af932fab28132a01f245d23ba7c5fbf70"></a>
|
||
|
QString </td><td class="memItemRight" valign="bottom"><b>m_platform</b></td></tr>
|
||
|
<tr class="separator:af932fab28132a01f245d23ba7c5fbf70"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6267c084984d0163f16af987f56a1a95"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6267c084984d0163f16af987f56a1a95"></a>
|
||
|
QString </td><td class="memItemRight" valign="bottom"><b>m_changelog</b></td></tr>
|
||
|
<tr class="separator:a6267c084984d0163f16af987f56a1a95"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4aada318219e232a6f1be3b964262fb8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4aada318219e232a6f1be3b964262fb8"></a>
|
||
|
QString </td><td class="memItemRight" valign="bottom"><b>m_moduleName</b></td></tr>
|
||
|
<tr class="separator:a4aada318219e232a6f1be3b964262fb8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a50efac338e702ea6f8ba31a3a8376c25"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50efac338e702ea6f8ba31a3a8376c25"></a>
|
||
|
QString </td><td class="memItemRight" valign="bottom"><b>m_downloadUrl</b></td></tr>
|
||
|
<tr class="separator:a50efac338e702ea6f8ba31a3a8376c25"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4a55625e7bce2646912aa0a8299869bc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a55625e7bce2646912aa0a8299869bc"></a>
|
||
|
QString </td><td class="memItemRight" valign="bottom"><b>m_moduleVersion</b></td></tr>
|
||
|
<tr class="separator:a4a55625e7bce2646912aa0a8299869bc"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af79a469656f846a69989827441f6199a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af79a469656f846a69989827441f6199a"></a>
|
||
|
QString </td><td class="memItemRight" valign="bottom"><b>m_latestVersion</b></td></tr>
|
||
|
<tr class="separator:af79a469656f846a69989827441f6199a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2354986fcdad345ca39914f13065d1b0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2354986fcdad345ca39914f13065d1b0"></a>
|
||
|
<a class="el" href="class_downloader.html">Downloader</a> * </td><td class="memItemRight" valign="bottom"><b>m_downloader</b></td></tr>
|
||
|
<tr class="separator:a2354986fcdad345ca39914f13065d1b0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a21af5ff7e447e251e46f18a39fa34966"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21af5ff7e447e251e46f18a39fa34966"></a>
|
||
|
QNetworkAccessManager * </td><td class="memItemRight" valign="bottom"><b>m_manager</b></td></tr>
|
||
|
<tr class="separator:a21af5ff7e447e251e46f18a39fa34966"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Downloads and interprests the update definition file. </p>
|
||
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="af6a266ddbf0b855bcee1e9f77dfe9efb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">QString Updater::changelog </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns the changelog defined by the update definitions file. </p><dl class="section warning"><dt>Warning</dt><dd>You should call <code><a class="el" href="class_updater.html#a4af41658f974f72c71a9463be7bba1b5">checkForUpdates()</a></code> before using this function </dd></dl>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a1bbffc681514ca5393450b8664c137bb">QSimpleUpdater::getChangelog()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4af41658f974f72c71a9463be7bba1b5"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::checkForUpdates </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></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>Downloads and interpets the update definitions file referenced by the <code><a class="el" href="class_updater.html#a7ebf698a86619ebaadd2eb6e772f2a3d">url()</a></code> function. </p>
|
||
|
|
||
|
<p>References <a class="el" href="class_updater.html#a7ebf698a86619ebaadd2eb6e772f2a3d">url()</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a791c89568adb171a62ccd0704570b68d">QSimpleUpdater::checkForUpdates()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a247145d494c38d15f6569bbd209380e3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool Updater::compare </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const QString & </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const QString & </td>
|
||
|
<td class="paramname"><em>y</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></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>Compares the two version strings (<em>x</em> and <em>y</em>).</p><ul>
|
||
|
<li>If <em>x</em> is greater than , this function returns <code>true</code>.</li>
|
||
|
<li>If <em>y</em> is greater than , this function returns <code>false</code>.</li>
|
||
|
<li>If both versions are the same, this function returns <code>false</code>. </li>
|
||
|
</ul>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_updater.html#ae6e6597cd5b3ee32a12fad9c6c5a64ac">onReply()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4f526325b92c344244303b877d990cd3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool Updater::downloaderEnabled </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns <code>true</code> if the integrated downloader is enabled. </p><dl class="section note"><dt>Note</dt><dd>If 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> will open the downloader dialog if the user agrees to download the update. </dd></dl>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a10f421d41b30134583ee1f5e8cfbc59d">QSimpleUpdater::getDownloaderEnabled()</a>, and <a class="el" href="class_updater.html#a1a38e54201eb876d14eb26fab40a7dc7">setUpdateAvailable()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5690e5ab3dde19098caf77c22f8bf075"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">QString Updater::downloadUrl </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns the download URL defined by the update definitions file. </p><dl class="section warning"><dt>Warning</dt><dd>You should call <code><a class="el" href="class_updater.html#a4af41658f974f72c71a9463be7bba1b5">checkForUpdates()</a></code> before using this function </dd></dl>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a2c660cca487b092fd8e1b366a964a10b">QSimpleUpdater::getDownloadUrl()</a>, and <a class="el" href="class_updater.html#a1a38e54201eb876d14eb26fab40a7dc7">setUpdateAvailable()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a25e7f289753c6d7b4439ee3728866a48"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">QString Updater::latestVersion </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns the latest version defined by the update definitions file. </p><dl class="section warning"><dt>Warning</dt><dd>You should call <code><a class="el" href="class_updater.html#a4af41658f974f72c71a9463be7bba1b5">checkForUpdates()</a></code> before using this function </dd></dl>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#aefb5ac20bec6e8509e2b55ed14926a70">QSimpleUpdater::getLatestVersion()</a>, <a class="el" href="class_updater.html#ae6e6597cd5b3ee32a12fad9c6c5a64ac">onReply()</a>, and <a class="el" href="class_updater.html#a1a38e54201eb876d14eb26fab40a7dc7">setUpdateAvailable()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7d8369115126e41cdefd30004cefc46d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">QString Updater::moduleName </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns the name of the module (if defined) </p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a30c3bccb5c6f06c1a243fa2629f441a3">QSimpleUpdater::getModuleName()</a>, and <a class="el" href="class_updater.html#a1a38e54201eb876d14eb26fab40a7dc7">setUpdateAvailable()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af32daac9bff9cb3e79798fc9a825648e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">QString Updater::moduleVersion </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns the "local" version of the installed module </p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#ad7391bb43acbcbf1627cc51262c2ec60">QSimpleUpdater::getModuleVersion()</a>, and <a class="el" href="class_updater.html#ae6e6597cd5b3ee32a12fad9c6c5a64ac">onReply()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad9fd2c8c3782c04289a76b1bf0b23ca0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool Updater::notifyOnFinish </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns <code>true</code> if the updater should notify the user when it finishes checking for updates.</p>
|
||
|
<dl class="section note"><dt>Note</dt><dd>If 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> will notify the user even when there are no updates available (by congratulating him/her about being smart) </dd></dl>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#acc540358f0d887e4945ac061667a596d">QSimpleUpdater::getNotifyOnFinish()</a>, and <a class="el" href="class_updater.html#a1a38e54201eb876d14eb26fab40a7dc7">setUpdateAvailable()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="abefc7aae1333458ab03d50aec9b58581"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool Updater::notifyOnUpdate </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns <code>true</code> if the updater should notify the user when an update is available. </p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#acdc00558a979df664910b07cb82f9b36">QSimpleUpdater::getNotifyOnUpdate()</a>, and <a class="el" href="class_updater.html#a1a38e54201eb876d14eb26fab40a7dc7">setUpdateAvailable()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae6e6597cd5b3ee32a12fad9c6c5a64ac"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::onReply </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">QNetworkReply * </td>
|
||
|
<td class="paramname"><em>reply</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Called when the download of the update definitions file is finished. </p>
|
||
|
|
||
|
<p>References <a class="el" href="class_updater.html#a247145d494c38d15f6569bbd209380e3">compare()</a>, <a class="el" href="class_updater.html#a25e7f289753c6d7b4439ee3728866a48">latestVersion()</a>, <a class="el" href="class_updater.html#af32daac9bff9cb3e79798fc9a825648e">moduleVersion()</a>, <a class="el" href="class_updater.html#ad6d8a5d7b8fd9bdfde738d72c50f8bee">platformKey()</a>, <a class="el" href="class_updater.html#a1a38e54201eb876d14eb26fab40a7dc7">setUpdateAvailable()</a>, and <a class="el" href="class_updater.html#a7ebf698a86619ebaadd2eb6e772f2a3d">url()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad6d8a5d7b8fd9bdfde738d72c50f8bee"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">QString Updater::platformKey </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns the platform key (be it system-set or user-set). 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>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a0f061c6945b58664c2c9f9ec26f0d87c">QSimpleUpdater::getPlatformKey()</a>, <a class="el" href="class_updater.html#ae6e6597cd5b3ee32a12fad9c6c5a64ac">onReply()</a>, and <a class="el" href="class_updater.html#a840a6b061590901eae3255ba74ff7ad8">setPlatformKey()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a46d6db0d853ed8400a1725df436812ee"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::setDownloaderEnabled </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const bool & </td>
|
||
|
<td class="paramname"><em>enabled</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>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> will open the integrated downloader if the user agrees to install the update (if any) </p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a0ff15deef5af536150911353df0c44b2">QSimpleUpdater::setDownloaderEnabled()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5ac7e1a2bd65353a5fdec22689f1adf3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::setModuleName </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const QString & </td>
|
||
|
<td class="paramname"><em>name</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>Changes the module <em>name</em>. </p><dl class="section note"><dt>Note</dt><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>Referenced by <a class="el" href="class_q_simple_updater.html#a4b5e2bb2b88ab10a3c6c3a83661a2ebe">QSimpleUpdater::setModuleName()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8da70f39cc193b94c64769fc6f40dc2c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::setModuleVersion </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const QString & </td>
|
||
|
<td class="paramname"><em>version</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>Changes the module <em>version</em> </p><dl class="section note"><dt>Note</dt><dd>The module version is used to compare the local and remote versions. If the <em>version</em> parameter 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 (referenced by <code>qApp</code>) </dd></dl>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a1a2a03f01c7ba081637268910fc50919">QSimpleUpdater::setModuleVersion()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a949e507fd72ec4b2565bb49ebe98a2dc"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::setNotifyOnFinish </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const bool & </td>
|
||
|
<td class="paramname"><em>notify</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>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> will notify the user when it has finished interpreting the update definitions file. </p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#ad9e53f893874d54bff8c787c2f560bd2">QSimpleUpdater::setNotifyOnFinish()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad88b597bf4ae11a65a9c87171239ed00"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::setNotifyOnUpdate </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const bool & </td>
|
||
|
<td class="paramname"><em>notify</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>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> will notify the user when an update is available. </p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a4789b616743189642a023fa7704e9c00">QSimpleUpdater::setNotifyOnUpdate()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a840a6b061590901eae3255ba74ff7ad8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::setPlatformKey </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const QString & </td>
|
||
|
<td class="paramname"><em>platformKey</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>Changes the platform key. 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>
|
||
|
|
||
|
<p>References <a class="el" href="class_updater.html#ad6d8a5d7b8fd9bdfde738d72c50f8bee">platformKey()</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#af6b2713b7468a69ce3ff46074e642df8">QSimpleUpdater::setPlatformKey()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1a38e54201eb876d14eb26fab40a7dc7"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::setUpdateAvailable </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const bool & </td>
|
||
|
<td class="paramname"><em>available</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Prompts the user based on the value of the <em>available</em> parameter and the settings of this instance of the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> class. </p>
|
||
|
|
||
|
<p>References <a class="el" href="class_updater.html#a4f526325b92c344244303b877d990cd3">downloaderEnabled()</a>, <a class="el" href="class_updater.html#a5690e5ab3dde19098caf77c22f8bf075">downloadUrl()</a>, <a class="el" href="class_updater.html#a25e7f289753c6d7b4439ee3728866a48">latestVersion()</a>, <a class="el" href="class_updater.html#a7d8369115126e41cdefd30004cefc46d">moduleName()</a>, <a class="el" href="class_updater.html#ad9fd2c8c3782c04289a76b1bf0b23ca0">notifyOnFinish()</a>, <a class="el" href="class_updater.html#abefc7aae1333458ab03d50aec9b58581">notifyOnUpdate()</a>, <a class="el" href="class_downloader.html#a7f81027436d44ca52168b30a6eb0d379">Downloader::startDownload()</a>, and <a class="el" href="class_updater.html#aec889d582692cb41875ea803db3feb35">updateAvailable()</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_updater.html#ae6e6597cd5b3ee32a12fad9c6c5a64ac">onReply()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1219e9bb1c1fb0a68d757fbc0d9b76aa"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::setUrl </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const QString & </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>Changes the <code>url</code> in which the <code><a class="el" href="class_updater.html" title="Downloads and interprests the update definition file. ">Updater</a></code> can find the update definitions file. </p>
|
||
|
|
||
|
<p>References <a class="el" href="class_updater.html#a7ebf698a86619ebaadd2eb6e772f2a3d">url()</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a0305a6c8eb9d0bf213736d1c1beb4149">QSimpleUpdater::getUpdater()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ac3f35326fb62b9cf8a2421d91651ad60"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void Updater::setUseCustomInstallProcedures </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const bool & </td>
|
||
|
<td class="paramname"><em>custom</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>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> will not try to open the downloaded file. Use the signals fired by the <code><a class="el" href="class_q_simple_updater.html" title="Manages the updater instances. ">QSimpleUpdater</a></code> to install the update from the downloaded file by yourself. </p>
|
||
|
|
||
|
<p>References <a class="el" href="class_downloader.html#a26a4f889029c63c11f679284397a3285">Downloader::setUseCustomInstallProcedures()</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a6c30dd784023264dd6ec885ec755f515">QSimpleUpdater::setUseCustomInstallProcedures()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aec889d582692cb41875ea803db3feb35"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool Updater::updateAvailable </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns <code>true</code> if there is an update available. </p><dl class="section warning"><dt>Warning</dt><dd>You should call <code><a class="el" href="class_updater.html#a4af41658f974f72c71a9463be7bba1b5">checkForUpdates()</a></code> before using this function </dd></dl>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#a6557bff5a8a255291f12d2613879981b">QSimpleUpdater::getUpdateAvailable()</a>, and <a class="el" href="class_updater.html#a1a38e54201eb876d14eb26fab40a7dc7">setUpdateAvailable()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7ebf698a86619ebaadd2eb6e772f2a3d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">QString Updater::url </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns the URL of the update definitions file </p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_updater.html#a4af41658f974f72c71a9463be7bba1b5">checkForUpdates()</a>, <a class="el" href="class_updater.html#ae6e6597cd5b3ee32a12fad9c6c5a64ac">onReply()</a>, and <a class="el" href="class_updater.html#a1219e9bb1c1fb0a68d757fbc0d9b76aa">setUrl()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7860e1643f426dc4d62cec2cdf207cd5"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool Updater::useCustomInstallProcedures </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Returns <code>true</code> if the updater shall not intervene when the download has finished (you can use the <code><a class="el" href="class_q_simple_updater.html" title="Manages the updater instances. ">QSimpleUpdater</a></code> signals to know when the download is completed). </p>
|
||
|
|
||
|
<p>References <a class="el" href="class_downloader.html#a3e7a91a3cdfa68e3bc59db0af1377f9c">Downloader::useCustomInstallProcedures()</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="class_q_simple_updater.html#af8f4cca002e820499d1fbca127095c87">QSimpleUpdater::usesCustomInstallProcedures()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
||
|
<li><a class="el" href="_updater_8h_source.html">Updater.h</a></li>
|
||
|
<li>Updater.cpp</li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
</a> 1.8.11
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|