GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask.html

333 lines
26 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::UI::VersionCheckTask 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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>
<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="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GpgFrontend Project
</div>
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1VersionCheckTask.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1UI_1_1VersionCheckTask-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">GpgFrontend::UI::VersionCheckTask Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::UI::VersionCheckTask:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1VersionCheckTask_inherit__map" alt="Inheritance graph"/></div>
<map name="GpgFrontend_1_1UI_1_1VersionCheckTask_inherit__map" id="GpgFrontend_1_1UI_1_1VersionCheckTask_inherit__map">
<area shape="rect" title=" " alt="" coords="5,520,244,759"/>
<area shape="rect" href="classGpgFrontend_1_1Thread_1_1Task.html" title=" " alt="" coords="43,131,206,472"/>
<area shape="rect" title=" " alt="" coords="34,5,109,83"/>
<area shape="rect" title=" " alt="" coords="133,5,226,83"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::UI::VersionCheckTask:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1VersionCheckTask_coll__map" alt="Collaboration graph"/></div>
<map name="GpgFrontend_1_1UI_1_1VersionCheckTask_coll__map" id="GpgFrontend_1_1UI_1_1VersionCheckTask_coll__map">
<area shape="rect" title=" " alt="" coords="403,1363,642,1572"/>
<area shape="rect" href="classGpgFrontend_1_1Thread_1_1Task.html" title=" " alt="" coords="252,988,415,1300"/>
<area shape="rect" title=" " alt="" coords="59,804,133,881"/>
<area shape="rect" title=" " alt="" coords="157,804,251,881"/>
<area shape="rect" title="STL class." alt="" coords="522,804,609,881"/>
<area shape="rect" href="structGpgFrontend_1_1UI_1_1SoftwareVersion.html" title=" " alt="" coords="664,1039,867,1249"/>
<area shape="rect" title="STL class." alt="" coords="496,605,635,697"/>
<area shape="rect" title=" " alt="" coords="275,804,498,881"/>
<area shape="rect" href="classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html" title="DataObject to be passed to the callback function." alt="" coords="219,561,378,741"/>
<area shape="rect" title=" " alt="" coords="178,392,371,499"/>
<area shape="rect" href="structGpgFrontend_1_1Thread_1_1Task_1_1DataObject_1_1Destructor.html" title=" " alt="" coords="195,145,354,267"/>
<area shape="rect" title="STL class." alt="" coords="5,167,128,245"/>
<area shape="rect" title=" " alt="" coords="221,5,259,83"/>
<area shape="rect" title="STL class." alt="" coords="359,291,516,368"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a36c5597674253348477d78ad6af380ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a36c5597674253348477d78ad6af380ab">SignalUpgradeVersion</a> (<a class="el" href="structGpgFrontend_1_1UI_1_1SoftwareVersion.html">SoftwareVersion</a> version)</td></tr>
<tr class="separator:a36c5597674253348477d78ad6af380ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header signals_classGpgFrontend_1_1Thread_1_1Task"><td colspan="2" onclick="javascript:toggleInherit('signals_classGpgFrontend_1_1Thread_1_1Task')"><img src="closed.png" alt="-"/>&#160;Signals inherited from <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html">GpgFrontend::Thread::Task</a></td></tr>
<tr class="memitem:af50c7642efe45554c61943fb3d8825b3 inherit signals_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top"><a id="af50c7642efe45554c61943fb3d8825b3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SignalTaskFinished</b> ()</td></tr>
<tr class="separator:af50c7642efe45554c61943fb3d8825b3 inherit signals_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0902637c033d34cc3c4281e309c10830 inherit signals_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top"><a id="a0902637c033d34cc3c4281e309c10830"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SignalTaskPostFinishedDone</b> ()</td></tr>
<tr class="separator:a0902637c033d34cc3c4281e309c10830 inherit signals_classGpgFrontend_1_1Thread_1_1Task"><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:a9f7a810ae1aa78c2a61e86e7757da385"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a9f7a810ae1aa78c2a61e86e7757da385">VersionCheckTask</a> ()</td></tr>
<tr class="memdesc:a9f7a810ae1aa78c2a61e86e7757da385"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Version Check <a class="el" href="namespaceGpgFrontend_1_1Thread.html">Thread</a> object. <a href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a9f7a810ae1aa78c2a61e86e7757da385">More...</a><br /></td></tr>
<tr class="separator:a9f7a810ae1aa78c2a61e86e7757da385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGpgFrontend_1_1Thread_1_1Task')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html">GpgFrontend::Thread::Task</a></td></tr>
<tr class="memitem:a1ec53d301fc83e0da39e43055ded5d14 inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html#a1ec53d301fc83e0da39e43055ded5d14">Task</a> ()</td></tr>
<tr class="memdesc:a1ec53d301fc83e0da39e43055ded5d14 inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html">Task</a> object. <a href="classGpgFrontend_1_1Thread_1_1Task.html#a1ec53d301fc83e0da39e43055ded5d14">More...</a><br /></td></tr>
<tr class="separator:a1ec53d301fc83e0da39e43055ded5d14 inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35f3065116d2295bb2ddc9f41b1192bb inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html#a35f3065116d2295bb2ddc9f41b1192bb">Task</a> (TaskCallback callback, DataObjectPtr data_object=nullptr)</td></tr>
<tr class="memdesc:a35f3065116d2295bb2ddc9f41b1192bb inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html">Task</a> object. <a href="classGpgFrontend_1_1Thread_1_1Task.html#a35f3065116d2295bb2ddc9f41b1192bb">More...</a><br /></td></tr>
<tr class="separator:a35f3065116d2295bb2ddc9f41b1192bb inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa242a8e025c448aacd0704b7d0b3c001 inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html#aa242a8e025c448aacd0704b7d0b3c001">Task</a> (TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr&lt; <a class="el" href="classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html">DataObject</a> &gt;) {}, DataObjectPtr data=nullptr)</td></tr>
<tr class="memdesc:aa242a8e025c448aacd0704b7d0b3c001 inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html">Task</a> object. <a href="classGpgFrontend_1_1Thread_1_1Task.html#aa242a8e025c448aacd0704b7d0b3c001">More...</a><br /></td></tr>
<tr class="separator:aa242a8e025c448aacd0704b7d0b3c001 inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37766a505662b33ad14672c29e209ea8 inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html#a37766a505662b33ad14672c29e209ea8">~Task</a> () override</td></tr>
<tr class="memdesc:a37766a505662b33ad14672c29e209ea8 inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html">Task</a> object. <a href="classGpgFrontend_1_1Thread_1_1Task.html#a37766a505662b33ad14672c29e209ea8">More...</a><br /></td></tr>
<tr class="separator:a37766a505662b33ad14672c29e209ea8 inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50b91d27874af31ef13c493b00824ccf inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html#a50b91d27874af31ef13c493b00824ccf">GetUUID</a> () const</td></tr>
<tr class="separator:a50b91d27874af31ef13c493b00824ccf inherit pub_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a9156325af41c378f8d7e77187d445c12"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a9156325af41c378f8d7e77187d445c12">Run</a> () override</td></tr>
<tr class="memdesc:a9156325af41c378f8d7e77187d445c12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run - run the task. <a href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a9156325af41c378f8d7e77187d445c12">More...</a><br /></td></tr>
<tr class="separator:a9156325af41c378f8d7e77187d445c12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classGpgFrontend_1_1Thread_1_1Task"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGpgFrontend_1_1Thread_1_1Task')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html">GpgFrontend::Thread::Task</a></td></tr>
<tr class="memitem:a689969e7d88ba7ad73a693a1b38aedd7 inherit pro_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html#a689969e7d88ba7ad73a693a1b38aedd7">SetFinishAfterRun</a> (bool finish_after_run)</td></tr>
<tr class="memdesc:a689969e7d88ba7ad73a693a1b38aedd7 inherit pro_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Finish After Run object. <a href="classGpgFrontend_1_1Thread_1_1Task.html#a689969e7d88ba7ad73a693a1b38aedd7">More...</a><br /></td></tr>
<tr class="separator:a689969e7d88ba7ad73a693a1b38aedd7 inherit pro_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6d702417bdd6a88c447ed6a457fa098 inherit pro_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html#aa6d702417bdd6a88c447ed6a457fa098">SetRTN</a> (int rtn)</td></tr>
<tr class="separator:aa6d702417bdd6a88c447ed6a457fa098 inherit pro_methods_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</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:afd92a65f744566d288d9ddd736662d8e"><td class="memItemLeft" align="right" valign="top"><a id="afd92a65f744566d288d9ddd736662d8e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_parse_latest_version_info</b> ()</td></tr>
<tr class="separator:afd92a65f744566d288d9ddd736662d8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba6a81a5f958e5c5c29242bfe1fbd77a"><td class="memItemLeft" align="right" valign="top"><a id="aba6a81a5f958e5c5c29242bfe1fbd77a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_parse_current_version_info</b> ()</td></tr>
<tr class="separator:aba6a81a5f958e5c5c29242bfe1fbd77a"><td class="memSeparator" colspan="2">&#160;</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:a9379c2bd2c85e1cd74d1c07bbc10822a"><td class="memItemLeft" align="right" valign="top"><a id="a9379c2bd2c85e1cd74d1c07bbc10822a"></a>
QByteArray&#160;</td><td class="memItemRight" valign="bottom"><b>latest_reply_bytes_</b></td></tr>
<tr class="separator:a9379c2bd2c85e1cd74d1c07bbc10822a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a787aaa798b68809bf46a8ed6daf57b7c"><td class="memItemLeft" align="right" valign="top"><a id="a787aaa798b68809bf46a8ed6daf57b7c"></a>
QByteArray&#160;</td><td class="memItemRight" valign="bottom"><b>current_reply_bytes_</b></td></tr>
<tr class="separator:a787aaa798b68809bf46a8ed6daf57b7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed545ffa8128acb16bb28c067e032ec9"><td class="memItemLeft" align="right" valign="top"><a id="aed545ffa8128acb16bb28c067e032ec9"></a>
QNetworkReply *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html#aed545ffa8128acb16bb28c067e032ec9">latest_reply_</a> = nullptr</td></tr>
<tr class="memdesc:aed545ffa8128acb16bb28c067e032ec9"><td class="mdescLeft">&#160;</td><td class="mdescRight">latest version info reply <br /></td></tr>
<tr class="separator:aed545ffa8128acb16bb28c067e032ec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9679bc6bcdf2e64ec82f6119620b6f2e"><td class="memItemLeft" align="right" valign="top"><a id="a9679bc6bcdf2e64ec82f6119620b6f2e"></a>
QNetworkReply *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a9679bc6bcdf2e64ec82f6119620b6f2e">current_reply_</a> = nullptr</td></tr>
<tr class="memdesc:a9679bc6bcdf2e64ec82f6119620b6f2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">current version info reply <br /></td></tr>
<tr class="separator:a9679bc6bcdf2e64ec82f6119620b6f2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23901105c0aa009cfe9de6649912c4f0"><td class="memItemLeft" align="right" valign="top"><a id="a23901105c0aa009cfe9de6649912c4f0"></a>
QNetworkAccessManager *&#160;</td><td class="memItemRight" valign="bottom"><b>network_manager_</b></td></tr>
<tr class="separator:a23901105c0aa009cfe9de6649912c4f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03152f289952a5d2d133668907966126"><td class="memItemLeft" align="right" valign="top"><a id="a03152f289952a5d2d133668907966126"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>current_version_</b></td></tr>
<tr class="separator:a03152f289952a5d2d133668907966126"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9042479ff7d3a8d1f7c53f320404ebb"><td class="memItemLeft" align="right" valign="top"><a id="af9042479ff7d3a8d1f7c53f320404ebb"></a>
<a class="el" href="structGpgFrontend_1_1UI_1_1SoftwareVersion.html">SoftwareVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><b>version_</b></td></tr>
<tr class="separator:af9042479ff7d3a8d1f7c53f320404ebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classGpgFrontend_1_1Thread_1_1Task"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classGpgFrontend_1_1Thread_1_1Task')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html">GpgFrontend::Thread::Task</a></td></tr>
<tr class="memitem:a58f0de628876e2c064f3867f209ce1c9 inherit pub_types_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top"><a id="a58f0de628876e2c064f3867f209ce1c9"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>DataObjectPtr</b> = std::shared_ptr&lt; <a class="el" href="classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html">DataObject</a> &gt;</td></tr>
<tr class="separator:a58f0de628876e2c064f3867f209ce1c9 inherit pub_types_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0015912ca0513a10252e01db7b527bb inherit pub_types_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top"><a id="aa0015912ca0513a10252e01db7b527bb"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>TaskRunnable</b> = std::function&lt; int(DataObjectPtr)&gt;</td></tr>
<tr class="separator:aa0015912ca0513a10252e01db7b527bb inherit pub_types_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a492f8b0f6ec2832da20fc481bfa5cdbd inherit pub_types_classGpgFrontend_1_1Thread_1_1Task"><td class="memItemLeft" align="right" valign="top"><a id="a492f8b0f6ec2832da20fc481bfa5cdbd"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>TaskCallback</b> = std::function&lt; void(int, DataObjectPtr)&gt;</td></tr>
<tr class="separator:a492f8b0f6ec2832da20fc481bfa5cdbd inherit pub_types_classGpgFrontend_1_1Thread_1_1Task"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9f7a810ae1aa78c2a61e86e7757da385"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f7a810ae1aa78c2a61e86e7757da385">&#9670;&nbsp;</a></span>VersionCheckTask()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::UI::VersionCheckTask::VersionCheckTask </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Version Check <a class="el" href="namespaceGpgFrontend_1_1Thread.html">Thread</a> object. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a9156325af41c378f8d7e77187d445c12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9156325af41c378f8d7e77187d445c12">&#9670;&nbsp;</a></span>Run()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::VersionCheckTask::Run </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Run - run the task. </p>
<p>Reimplemented from <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html#ac60aa71a24f452fd8031597ff4cbbd00">GpgFrontend::Thread::Task</a>.</p>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html#aed545ffa8128acb16bb28c067e032ec9">latest_reply_</a>, and <a class="el" href="classGpgFrontend_1_1Thread_1_1Task.html#a689969e7d88ba7ad73a693a1b38aedd7">GpgFrontend::Thread::Task::SetFinishAfterRun()</a>.</p>
</div>
</div>
<a id="a36c5597674253348477d78ad6af380ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36c5597674253348477d78ad6af380ab">&#9670;&nbsp;</a></span>SignalUpgradeVersion</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::VersionCheckTask::SignalUpgradeVersion </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structGpgFrontend_1_1UI_1_1SoftwareVersion.html">SoftwareVersion</a>&#160;</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">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">version</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1UpdateTab.html#a7329657135624fc42ad80d821e11befe">GpgFrontend::UI::UpdateTab::getLatestVersion()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a08ba4521f68c488b23b651e201011759">GpgFrontend::UI::MainWindow::Init()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ui/thread/<a class="el" href="VersionCheckTask_8h_source.html">VersionCheckTask.h</a></li>
<li>src/ui/thread/VersionCheckTask.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="namespaceGpgFrontend_1_1UI.html">UI</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html">VersionCheckTask</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>