GpgFrontend-Doxygen/docs/html/classVersionCheckTask.html

257 lines
15 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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: 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.9.1 -->
<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','.html');
/* @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('classVersionCheckTask.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="#pri-slots">Private Slots</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classVersionCheckTask-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">VersionCheckTask Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for VersionCheckTask:</div>
<div class="dyncontent">
<div class="center"><img src="classVersionCheckTask__inherit__graph.png" border="0" usemap="#aVersionCheckTask_inherit__map" alt="Inheritance graph"/></div>
<map name="aVersionCheckTask_inherit__map" id="aVersionCheckTask_inherit__map">
<area shape="rect" title=" " alt="" coords="5,131,203,369"/>
<area shape="rect" title=" " alt="" coords="67,5,141,83"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for VersionCheckTask:</div>
<div class="dyncontent">
<div class="center"><img src="classVersionCheckTask__coll__graph.png" border="0" usemap="#aVersionCheckTask_coll__map" alt="Collaboration graph"/></div>
<map name="aVersionCheckTask_coll__map" id="aVersionCheckTask_coll__map">
<area shape="rect" title=" " alt="" coords="25,395,223,619"/>
<area shape="rect" title=" " alt="" coords="5,130,80,207"/>
<area shape="rect" href="structSoftwareVersion.html" title=" " alt="" coords="104,5,309,332"/>
</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:a017130179e7d18f361d112b9ad3d7462"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVersionCheckTask.html#a017130179e7d18f361d112b9ad3d7462">SignalUpgradeVersion</a> (<a class="el" href="structSoftwareVersion.html">SoftwareVersion</a> version)</td></tr>
<tr class="separator:a017130179e7d18f361d112b9ad3d7462"><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:a5be89e73bb5430c248b62f7819c58044"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVersionCheckTask.html#a5be89e73bb5430c248b62f7819c58044">VersionCheckTask</a> ()</td></tr>
<tr class="memdesc:a5be89e73bb5430c248b62f7819c58044"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Version Check Thread object. <a href="classVersionCheckTask.html#a5be89e73bb5430c248b62f7819c58044">More...</a><br /></td></tr>
<tr class="separator:a5be89e73bb5430c248b62f7819c58044"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8750568dd3031821d30bf436068cc75c"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVersionCheckTask.html#a8750568dd3031821d30bf436068cc75c">Run</a> () -&gt; int</td></tr>
<tr class="separator:a8750568dd3031821d30bf436068cc75c"><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:a9bcab9797dcd5a859375f9b8c5da4df9"><td class="memItemLeft" align="right" valign="top"><a id="a9bcab9797dcd5a859375f9b8c5da4df9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_parse_latest_version_info</b> ()</td></tr>
<tr class="separator:a9bcab9797dcd5a859375f9b8c5da4df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b891e9601ff6ce8ce13822ff4b11a09"><td class="memItemLeft" align="right" valign="top"><a id="a0b891e9601ff6ce8ce13822ff4b11a09"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_parse_current_version_info</b> ()</td></tr>
<tr class="separator:a0b891e9601ff6ce8ce13822ff4b11a09"><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:a214f0ab29259b34ae5671e992397afa9"><td class="memItemLeft" align="right" valign="top"><a id="a214f0ab29259b34ae5671e992397afa9"></a>
QByteArray&#160;</td><td class="memItemRight" valign="bottom"><b>latest_reply_bytes_</b></td></tr>
<tr class="separator:a214f0ab29259b34ae5671e992397afa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefbd677fa2491d1cf33837579cc7a84e"><td class="memItemLeft" align="right" valign="top"><a id="aefbd677fa2491d1cf33837579cc7a84e"></a>
QByteArray&#160;</td><td class="memItemRight" valign="bottom"><b>current_reply_bytes_</b></td></tr>
<tr class="separator:aefbd677fa2491d1cf33837579cc7a84e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab56c5f5c571c3961073320136c2c22a"><td class="memItemLeft" align="right" valign="top"><a id="aab56c5f5c571c3961073320136c2c22a"></a>
QNetworkReply *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVersionCheckTask.html#aab56c5f5c571c3961073320136c2c22a">latest_reply_</a> = nullptr</td></tr>
<tr class="memdesc:aab56c5f5c571c3961073320136c2c22a"><td class="mdescLeft">&#160;</td><td class="mdescRight">latest version info reply <br /></td></tr>
<tr class="separator:aab56c5f5c571c3961073320136c2c22a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7ca1879053fa4b0abdca877b53fb62e"><td class="memItemLeft" align="right" valign="top"><a id="ab7ca1879053fa4b0abdca877b53fb62e"></a>
QNetworkReply *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVersionCheckTask.html#ab7ca1879053fa4b0abdca877b53fb62e">current_reply_</a> = nullptr</td></tr>
<tr class="memdesc:ab7ca1879053fa4b0abdca877b53fb62e"><td class="mdescLeft">&#160;</td><td class="mdescRight">current version info reply <br /></td></tr>
<tr class="separator:ab7ca1879053fa4b0abdca877b53fb62e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae93b00fa5853cf66f258cb2ebdad7007"><td class="memItemLeft" align="right" valign="top"><a id="ae93b00fa5853cf66f258cb2ebdad7007"></a>
QNetworkAccessManager *&#160;</td><td class="memItemRight" valign="bottom"><b>network_manager_</b></td></tr>
<tr class="separator:ae93b00fa5853cf66f258cb2ebdad7007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a944f3543723036e2f6baa9bcee5834c1"><td class="memItemLeft" align="right" valign="top"><a id="a944f3543723036e2f6baa9bcee5834c1"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>current_version_</b></td></tr>
<tr class="separator:a944f3543723036e2f6baa9bcee5834c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1e918bf9252e7d76468c1bbb67b33fe"><td class="memItemLeft" align="right" valign="top"><a id="af1e918bf9252e7d76468c1bbb67b33fe"></a>
<a class="el" href="structSoftwareVersion.html">SoftwareVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><b>version_</b></td></tr>
<tr class="separator:af1e918bf9252e7d76468c1bbb67b33fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a5be89e73bb5430c248b62f7819c58044"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5be89e73bb5430c248b62f7819c58044">&#9670;&nbsp;</a></span>VersionCheckTask()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">VersionCheckTask::VersionCheckTask </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Version Check Thread object. </p>
<p>Copyright (C) 2021 Saturneric <a href="#" onclick="location.href='mai'+'lto:'+'eri'+'c@'+'bkt'+'us'+'.co'+'m'; return false;">eric@<span style="display: none;">.nosp@m.</span>bktu<span style="display: none;">.nosp@m.</span>s.com</a></p>
<p>This file is part of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>.</p>
<p><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License along with <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.</p>
<p>The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.</p>
<p>All the source code of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> was modified and released by Saturneric <a href="#" onclick="location.href='mai'+'lto:'+'eri'+'c@'+'bkt'+'us'+'.co'+'m'; return false;">eric@<span style="display: none;">.nosp@m.</span>bktu<span style="display: none;">.nosp@m.</span>s.com</a> starting on May 12, 2021.</p>
<p>SPDX-License-Identifier: GPL-3.0-or-later </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8750568dd3031821d30bf436068cc75c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8750568dd3031821d30bf436068cc75c">&#9670;&nbsp;</a></span>Run()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto VersionCheckTask::Run </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> -&gt; int</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
</div>
</div>
<a id="a017130179e7d18f361d112b9ad3d7462"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a017130179e7d18f361d112b9ad3d7462">&#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 VersionCheckTask::SignalUpgradeVersion </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structSoftwareVersion.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>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/module/mods/ver_check/<a class="el" href="VersionCheckTask_8h_source.html">VersionCheckTask.h</a></li>
<li>src/module/mods/ver_check/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="classVersionCheckTask.html">VersionCheckTask</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>