GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1UI_1_1UpdateTab.html

305 lines
16 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::UpdateTab 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_1UpdateTab.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="classGpgFrontend_1_1UI_1_1UpdateTab-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">GpgFrontend::UI::UpdateTab Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class containing the main tab of about dialog.
<a href="classGpgFrontend_1_1UI_1_1UpdateTab.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="AboutDialog_8h_source.html">AboutDialog.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for GpgFrontend::UI::UpdateTab:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1UpdateTab__inherit__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1UpdateTab_inherit__map" alt="Inheritance graph"/></div>
<map name="GpgFrontend_1_1UI_1_1UpdateTab_inherit__map" id="GpgFrontend_1_1UI_1_1UpdateTab_inherit__map">
<area shape="rect" title="Class containing the main tab of about dialog." alt="" coords="5,131,213,311"/>
<area shape="rect" title=" " alt="" coords="70,5,149,83"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::UI::UpdateTab:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1UpdateTab__coll__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1UpdateTab_coll__map" alt="Collaboration graph"/></div>
<map name="GpgFrontend_1_1UI_1_1UpdateTab_coll__map" id="GpgFrontend_1_1UI_1_1UpdateTab_coll__map">
<area shape="rect" title="Class containing the main tab of about dialog." alt="" coords="5,131,213,311"/>
<area shape="rect" title=" " alt="" coords="70,5,149,83"/>
</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:a5e752e01539ccfdc6bbe41a404ddaa95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1UpdateTab.html#a5e752e01539ccfdc6bbe41a404ddaa95">SignalReplyFromUpdateServer</a> (QByteArray data)</td></tr>
<tr class="separator:a5e752e01539ccfdc6bbe41a404ddaa95"><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:a833c5f709607032bac530aacf389a117"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1UpdateTab.html#a833c5f709607032bac530aacf389a117">UpdateTab</a> (QWidget *parent=nullptr)</td></tr>
<tr class="memdesc:a833c5f709607032bac530aacf389a117"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Update Tab object. <a href="classGpgFrontend_1_1UI_1_1UpdateTab.html#a833c5f709607032bac530aacf389a117">More...</a><br /></td></tr>
<tr class="separator:a833c5f709607032bac530aacf389a117"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7329657135624fc42ad80d821e11befe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1UpdateTab.html#a7329657135624fc42ad80d821e11befe">getLatestVersion</a> ()</td></tr>
<tr class="memdesc:a7329657135624fc42ad80d821e11befe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Latest Version object. <a href="classGpgFrontend_1_1UI_1_1UpdateTab.html#a7329657135624fc42ad80d821e11befe">More...</a><br /></td></tr>
<tr class="separator:a7329657135624fc42ad80d821e11befe"><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:a1003bd969ecbc5deba940e39436968f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1UpdateTab.html#a1003bd969ecbc5deba940e39436968f4">slot_show_version_status</a> (const <a class="el" href="structGpgFrontend_1_1UI_1_1SoftwareVersion.html">SoftwareVersion</a> &amp;version)</td></tr>
<tr class="separator:a1003bd969ecbc5deba940e39436968f4"><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:a3718c15db336b2ca0090ee492c429adb"><td class="memItemLeft" align="right" valign="top"><a id="a3718c15db336b2ca0090ee492c429adb"></a>
QLabel *&#160;</td><td class="memItemRight" valign="bottom"><b>current_version_label_</b></td></tr>
<tr class="separator:a3718c15db336b2ca0090ee492c429adb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84579badda70b12cfd79add18d1ef94f"><td class="memItemLeft" align="right" valign="top"><a id="a84579badda70b12cfd79add18d1ef94f"></a>
QLabel *&#160;</td><td class="memItemRight" valign="bottom"><b>latest_version_label_</b></td></tr>
<tr class="separator:a84579badda70b12cfd79add18d1ef94f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab209ef238583efea25c6a58aa4831628"><td class="memItemLeft" align="right" valign="top"><a id="ab209ef238583efea25c6a58aa4831628"></a>
QLabel *&#160;</td><td class="memItemRight" valign="bottom"><b>upgrade_label_</b></td></tr>
<tr class="separator:ab209ef238583efea25c6a58aa4831628"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dedd8bc17bbc53d31c9d292429be68b"><td class="memItemLeft" align="right" valign="top"><a id="a9dedd8bc17bbc53d31c9d292429be68b"></a>
QProgressBar *&#160;</td><td class="memItemRight" valign="bottom"><b>pb_</b></td></tr>
<tr class="separator:a9dedd8bc17bbc53d31c9d292429be68b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad180d1f434e8052f3e0974522c92ae61"><td class="memItemLeft" align="right" valign="top"><a id="ad180d1f434e8052f3e0974522c92ae61"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>current_version_</b></td></tr>
<tr class="separator:ad180d1f434e8052f3e0974522c92ae61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67358193095af7b39184f16706bf1bff"><td class="memItemLeft" align="right" valign="top"><a id="a67358193095af7b39184f16706bf1bff"></a>
QPushButton *&#160;</td><td class="memItemRight" valign="bottom"><b>download_button_</b></td></tr>
<tr class="separator:a67358193095af7b39184f16706bf1bff"><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>Class containing the main tab of about dialog. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a833c5f709607032bac530aacf389a117"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a833c5f709607032bac530aacf389a117">&#9670;&nbsp;</a></span>UpdateTab()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::UI::UpdateTab::UpdateTab </td>
<td>(</td>
<td class="paramtype">QWidget *&#160;</td>
<td class="paramname"><em>parent</em> = <code>nullptr</code></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 Update Tab object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a7329657135624fc42ad80d821e11befe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7329657135624fc42ad80d821e11befe">&#9670;&nbsp;</a></span>getLatestVersion()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::UpdateTab::getLatestVersion </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Latest Version object. </p>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; TaskRunnerGetter &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a36c5597674253348477d78ad6af380ab">GpgFrontend::UI::VersionCheckTask::SignalUpgradeVersion()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1UpdateTab.html#a1003bd969ecbc5deba940e39436968f4">slot_show_version_status()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1AboutDialog.html#ab799cd5e07b06a8e953d72105c0a1083">GpgFrontend::UI::AboutDialog::showEvent()</a>.</p>
</div>
</div>
<a id="a5e752e01539ccfdc6bbe41a404ddaa95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e752e01539ccfdc6bbe41a404ddaa95">&#9670;&nbsp;</a></span>SignalReplyFromUpdateServer</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::UpdateTab::SignalReplyFromUpdateServer </td>
<td>(</td>
<td class="paramtype">QByteArray&#160;</td>
<td class="paramname"><em>data</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">data</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1003bd969ecbc5deba940e39436968f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1003bd969ecbc5deba940e39436968f4">&#9670;&nbsp;</a></span>slot_show_version_status</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::UpdateTab::slot_show_version_status </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structGpgFrontend_1_1UI_1_1SoftwareVersion.html">SoftwareVersion</a> &amp;&#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">private</span><span class="mlabel">slot</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">References <a class="el" href="structGpgFrontend_1_1UI_1_1SoftwareVersion.html#a43663cd2d086299a0f0304f5bde9c663">GpgFrontend::UI::SoftwareVersion::CurrentVersionReleased()</a>, <a class="el" href="structGpgFrontend_1_1UI_1_1SoftwareVersion.html#abc311fd0e15da1a04b995587ca74e1a6">GpgFrontend::UI::SoftwareVersion::NeedUpgrade()</a>, and <a class="el" href="structGpgFrontend_1_1UI_1_1SoftwareVersion.html#a587a3fdb047a15c3771c2af5eebdbf4b">GpgFrontend::UI::SoftwareVersion::VersionWithDrawn()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1UpdateTab.html#a7329657135624fc42ad80d821e11befe">getLatestVersion()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ui/help/<a class="el" href="AboutDialog_8h_source.html">AboutDialog.h</a></li>
<li>src/ui/help/AboutDialog.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_1UpdateTab.html">UpdateTab</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>