GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1UI_1_1QuitDialog.html
2022-05-09 03:59:26 +08:00

229 lines
12 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=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::UI::QuitDialog 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 id="projectrow">
<td id="projectalign">
<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.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1QuitDialog.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="#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_1QuitDialog-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">GpgFrontend::UI::QuitDialog Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::UI::QuitDialog:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1QuitDialog__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1QuitDialog_inherit__map" alt="Inheritance graph"/></div>
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::UI::QuitDialog:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1QuitDialog__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1QuitDialog_coll__map" alt="Collaboration graph"/></div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a60419bf8e817db25128c2f941fc42a3d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a60419bf8e817db25128c2f941fc42a3d">QuitDialog</a> (QWidget *parent, const QHash&lt; int, QString &gt; &amp;unsavedDocs)</td></tr>
<tr class="memdesc:a60419bf8e817db25128c2f941fc42a3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Quit Dialog object. <a href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a60419bf8e817db25128c2f941fc42a3d">More...</a><br /></td></tr>
<tr class="separator:a60419bf8e817db25128c2f941fc42a3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c4bc06d1d168f01569ed83dcfd50d55"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a4c4bc06d1d168f01569ed83dcfd50d55">IsDiscarded</a> () const</td></tr>
<tr class="separator:a4c4bc06d1d168f01569ed83dcfd50d55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec364c38056b6d92c172f8cdfb5f8e82"><td class="memItemLeft" align="right" valign="top">QList&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1QuitDialog.html#aec364c38056b6d92c172f8cdfb5f8e82">GetTabIdsToSave</a> ()</td></tr>
<tr class="memdesc:aec364c38056b6d92c172f8cdfb5f8e82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Tab Ids To Save object. <a href="classGpgFrontend_1_1UI_1_1QuitDialog.html#aec364c38056b6d92c172f8cdfb5f8e82">More...</a><br /></td></tr>
<tr class="separator:aec364c38056b6d92c172f8cdfb5f8e82"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-slots" name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr class="memitem:a8970dbf707a5cb5109a40aac76158027"><td class="memItemLeft" align="right" valign="top"><a id="a8970dbf707a5cb5109a40aac76158027" name="a8970dbf707a5cb5109a40aac76158027"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_my_discard</b> ()</td></tr>
<tr class="separator:a8970dbf707a5cb5109a40aac76158027"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a1624ecd7f9b5d32622bf6f9b7eb46a1b"><td class="memItemLeft" align="right" valign="top"><a id="a1624ecd7f9b5d32622bf6f9b7eb46a1b" name="a1624ecd7f9b5d32622bf6f9b7eb46a1b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>discarded_</b></td></tr>
<tr class="separator:a1624ecd7f9b5d32622bf6f9b7eb46a1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac491016e0d93183346b79421528ba5c8"><td class="memItemLeft" align="right" valign="top"><a id="ac491016e0d93183346b79421528ba5c8" name="ac491016e0d93183346b79421528ba5c8"></a>
QTableWidget *&#160;</td><td class="memItemRight" valign="bottom"><b>m_fileList_</b></td></tr>
<tr class="separator:ac491016e0d93183346b79421528ba5c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a60419bf8e817db25128c2f941fc42a3d" name="a60419bf8e817db25128c2f941fc42a3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60419bf8e817db25128c2f941fc42a3d">&#9670;&nbsp;</a></span>QuitDialog()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::UI::QuitDialog::QuitDialog </td>
<td>(</td>
<td class="paramtype">QWidget *&#160;</td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QHash&lt; int, QString &gt; &amp;&#160;</td>
<td class="paramname"><em>unsavedDocs</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Quit Dialog object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td></td></tr>
<tr><td class="paramname">unsavedDocs</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aec364c38056b6d92c172f8cdfb5f8e82" name="aec364c38056b6d92c172f8cdfb5f8e82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec364c38056b6d92c172f8cdfb5f8e82">&#9670;&nbsp;</a></span>GetTabIdsToSave()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList&lt; int &gt; GpgFrontend::UI::QuitDialog::GetTabIdsToSave </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Tab Ids To Save object. </p>
<dl class="section return"><dt>Returns</dt><dd>QList&lt;int&gt; </dd></dl>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c976a5494d06c2186d94e7cc8ebe457">GpgFrontend::UI::TextEdit::MaybeSaveAnyTab()</a>.</p>
</div>
</div>
<a id="a4c4bc06d1d168f01569ed83dcfd50d55" name="a4c4bc06d1d168f01569ed83dcfd50d55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c4bc06d1d168f01569ed83dcfd50d55">&#9670;&nbsp;</a></span>IsDiscarded()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool GpgFrontend::UI::QuitDialog::IsDiscarded </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c976a5494d06c2186d94e7cc8ebe457">GpgFrontend::UI::TextEdit::MaybeSaveAnyTab()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ui/dialog/<a class="el" href="QuitDialog_8h_source.html">QuitDialog.h</a></li>
<li>src/ui/dialog/QuitDialog.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_1QuitDialog.html">QuitDialog</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.3 </li>
</ul>
</div>
</body>
</html>