258 lines
15 KiB
HTML
258 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: 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 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&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&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&dn=gpl-2.0.txt GPL-v2 */
|
|
$(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> |
|
|
<a href="#pri-slots">Private Slots</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<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>
|
|
<map name="aGpgFrontend_1_1UI_1_1QuitDialog_inherit__map" id="aGpgFrontend_1_1UI_1_1QuitDialog_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="25,447,229,583"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html" title=" " alt="" coords="5,131,248,399"/>
|
|
<area shape="rect" title=" " alt="" coords="89,5,164,83"/>
|
|
</map>
|
|
</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>
|
|
<map name="aGpgFrontend_1_1UI_1_1QuitDialog_coll__map" id="aGpgFrontend_1_1UI_1_1QuitDialog_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="25,447,229,583"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html" title=" " alt="" coords="5,131,248,399"/>
|
|
<area shape="rect" title=" " alt="" coords="89,5,164,83"/>
|
|
</map>
|
|
</div>
|
|
<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:a60419bf8e817db25128c2f941fc42a3d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a60419bf8e817db25128c2f941fc42a3d">QuitDialog</a> (QWidget *parent, const QHash< int, QString > &unsavedDocs)</td></tr>
|
|
<tr class="memdesc:a60419bf8e817db25128c2f941fc42a3d"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:a20ce6f0be2ccd0509a0e7362e8de7abe"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a20ce6f0be2ccd0509a0e7362e8de7abe">IsDiscarded</a> () const -> bool</td></tr>
|
|
<tr class="separator:a20ce6f0be2ccd0509a0e7362e8de7abe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1c75f69ffa1ca45a3c28af0800871a6e"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a1c75f69ffa1ca45a3c28af0800871a6e">GetTabIdsToSave</a> () -> QList< int ></td></tr>
|
|
<tr class="memdesc:a1c75f69ffa1ca45a3c28af0800871a6e"><td class="mdescLeft"> </td><td class="mdescRight">Get the Tab Ids To Save object. <a href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a1c75f69ffa1ca45a3c28af0800871a6e">More...</a><br /></td></tr>
|
|
<tr class="separator:a1c75f69ffa1ca45a3c28af0800871a6e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGpgFrontend_1_1UI_1_1GeneralDialog')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html">GpgFrontend::UI::GeneralDialog</a></td></tr>
|
|
<tr class="memitem:ab300bc30252244b1b11cc24350147942 inherit pub_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html#ab300bc30252244b1b11cc24350147942">GeneralDialog</a> (QString name, QWidget *parent=nullptr)</td></tr>
|
|
<tr class="separator:ab300bc30252244b1b11cc24350147942 inherit pub_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><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:a8970dbf707a5cb5109a40aac76158027"><td class="memItemLeft" align="right" valign="top"><a id="a8970dbf707a5cb5109a40aac76158027"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>slot_my_discard</b> ()</td></tr>
|
|
<tr class="separator:a8970dbf707a5cb5109a40aac76158027"><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:a1624ecd7f9b5d32622bf6f9b7eb46a1b"><td class="memItemLeft" align="right" valign="top"><a id="a1624ecd7f9b5d32622bf6f9b7eb46a1b"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>discarded_</b></td></tr>
|
|
<tr class="separator:a1624ecd7f9b5d32622bf6f9b7eb46a1b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac491016e0d93183346b79421528ba5c8"><td class="memItemLeft" align="right" valign="top"><a id="ac491016e0d93183346b79421528ba5c8"></a>
|
|
QTableWidget * </td><td class="memItemRight" valign="bottom"><b>m_fileList_</b></td></tr>
|
|
<tr class="separator:ac491016e0d93183346b79421528ba5c8"><td class="memSeparator" colspan="2"> </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 pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html">GpgFrontend::UI::GeneralDialog</a></td></tr>
|
|
<tr class="memitem:abad7cff23d2426820e320ecea47b479c inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"><a id="abad7cff23d2426820e320ecea47b479c"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setPosCenterOfScreen</b> ()</td></tr>
|
|
<tr class="separator:abad7cff23d2426820e320ecea47b479c inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad9d5be542aa422450a96dff00232ebe5 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"><a id="ad9d5be542aa422450a96dff00232ebe5"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>movePosition2CenterOfParent</b> ()</td></tr>
|
|
<tr class="separator:ad9d5be542aa422450a96dff00232ebe5 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a488618b02dee0cbec129bfe5d7fe8981 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"><a id="a488618b02dee0cbec129bfe5d7fe8981"></a>
|
|
auto </td><td class="memItemRight" valign="bottom"><b>isRectRestored</b> () -> bool</td></tr>
|
|
<tr class="separator:a488618b02dee0cbec129bfe5d7fe8981 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a570c723ba0cb5522f2b0c16ac28d0532 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"><a id="a570c723ba0cb5522f2b0c16ac28d0532"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>showEvent</b> (QShowEvent *event) override</td></tr>
|
|
<tr class="separator:a570c723ba0cb5522f2b0c16ac28d0532 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a60419bf8e817db25128c2f941fc42a3d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a60419bf8e817db25128c2f941fc42a3d">◆ </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 * </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QHash< int, QString > & </td>
|
|
<td class="paramname"><em>unsavedDocs</em> </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="a1c75f69ffa1ca45a3c28af0800871a6e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1c75f69ffa1ca45a3c28af0800871a6e">◆ </a></span>GetTabIdsToSave()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">auto GpgFrontend::UI::QuitDialog::GetTabIdsToSave </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> -> QList<int></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<int> </dd></dl>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a2ef7669b3b92d4a8c2b0782787653555">GpgFrontend::UI::TextEdit::MaybeSaveAnyTab()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a20ce6f0be2ccd0509a0e7362e8de7abe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a20ce6f0be2ccd0509a0e7362e8de7abe">◆ </a></span>IsDiscarded()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">auto GpgFrontend::UI::QuitDialog::IsDiscarded </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const -> bool</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#a2ef7669b3b92d4a8c2b0782787653555">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.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|