GpgFrontend-Doxygen/docs/html/TextEdit_8h_source.html

244 lines
36 KiB
HTML
Raw Permalink Normal View History

2022-05-08 19:59:26 +00:00
<!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"/>
2022-05-08 22:01:23 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
2022-05-08 19:59:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: src/ui/widgets/TextEdit.h Source File</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>
2022-05-08 22:01:23 +00:00
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
2022-05-08 19:59:26 +00:00
<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 -->
2022-05-08 19:59:26 +00:00
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
2022-05-08 19:59:26 +00:00
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-05-08 22:01:23 +00:00
/* @license-end */</script>
2022-05-08 19:59:26 +00:00
<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">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(document).ready(function(){initNavTree('TextEdit_8h_source.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">
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">TextEdit.h</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
2022-05-08 22:01:23 +00:00
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &quot;ui/dialog/QuitDialog.h&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;ui/widgets/FilePage.h&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &quot;ui/widgets/HelpPage.h&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;ui/widgets/PlainTextEditorPage.h&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a> {</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1TextEdit.html"> 40</a></span>&#160;<span class="keyword">class </span><a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html">TextEdit</a> : <span class="keyword">public</span> QWidget {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html">TextEdit</a>(QWidget* parent);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72ed46454c833adb038c36d8d4322d18">LoadFile</a>(<span class="keyword">const</span> QString&amp; fileName);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a2ef7669b3b92d4a8c2b0782787653555">MaybeSaveAnyTab</a>();</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; [[nodiscard]] <span class="keywordtype">int</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a05c54658597b04c3976c72d3a5f9add9">TabCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; [[nodiscard]] <a class="code" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">PlainTextEditorPage</a>* <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a7aa1230fbf796225bd6b83d381e11a3b">CurTextPage</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; [[nodiscard]] <a class="code" href="classGpgFrontend_1_1UI_1_1FilePage.html">FilePage</a>* <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa30daf558cb85bbdcad55a805a106109">CurFilePage</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; [[nodiscard]] QHash&lt;int, QString&gt; <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a82fe98d45f54909ebea933b540367c39">UnsavedDocuments</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; QTabWidget* tab_widget_; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">PlainTextEditorPage</a>* <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a48351dc1529da3b8da311f65b735b5f1">SlotCurPageTextEdit</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="classGpgFrontend_1_1UI_1_1FilePage.html">FilePage</a>* <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72014409d407c161b048e07c061b4cf9">SlotCurPageFileTreeView</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a6a02fce9dc4039c982d6dd19231517ee">SlotQuote</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#af466ec2b8ab3f695d206efc0574bbe20">SlotFillTextEditWithText</a>(<span class="keyword">const</span> QString&amp; text) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ace0b8f4c161db9f4f5db5ecbfd7a91c0">SlotSave</a>();</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a306999df608947dc0728d651893b20f6">SlotSaveAs</a>();</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a15335d38187ddf580b7200d856768cfb">SlotOpen</a>();</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#adca2bbfa746b5598f2a4f74026b84224">SlotPrint</a>();</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a57a46ab5595622ae0b7bceef7d56bd7c">SlotNewTab</a>();</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">void</span> SlotNewTabWithContent(QString title, <span class="keyword">const</span> QString&amp; content);</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a60c73cc66a48a38c13e7890de49e86c3">SlotOpenFile</a>(<span class="keyword">const</span> QString&amp; path);</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c17fdf3abf9c4fb6ce35cfb8f0f8fc4">slotNewHelpTab</a>(<span class="keyword">const</span> QString&amp; title, <span class="keyword">const</span> QString&amp; path) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a1859df6906160400710accb0481d6b0c">SlotNewFileTab</a>();</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; </div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ab24adc1adb3b9b29469992e4c444436e">SlotShowModified</a>(<span class="keywordtype">bool</span>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa21659aa7acba98dfd6286d69e00ab9b">SlotCloseTab</a>();</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#af1e364b513f566c743a5d36c19098762">SlotSwitchTabUp</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a576e06390e65576465297d2ab8d7d474">SlotSwitchTabDown</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; </div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; uint text_page_data_modified_count_ = 0; </div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keyword">static</span> QString <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#afb9b7a7d88154d774b3d727d8e640cbb">stripped_name</a>(<span class="keyword">const</span> QString&amp; full_file_name);</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; </div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a8fad090a19479a9fe89432300cca2b6c">maybe_save_current_tab</a>(<span class="keywordtype">bool</span> askToSave);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a747d3740a88295e6c9565788d4cf56ec"> 218</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a747d3740a88295e6c9565788d4cf56ec">count_page_</a>; </div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <span class="keyword">private</span> slots:</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordtype">void</span> slot_file_page_path_changed(<span class="keyword">const</span> QString&amp; path) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; </div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a12f65fbc4984c266a5df4505ecde7c42">slot_remove_tab</a>(<span class="keywordtype">int</span> index);</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a1bf57ebe1e32b12c48bb633b7dd7a4f1">slot_save_status_to_cache_for_revovery</a>();</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae1e710c6722910b8d35df97aaabb3162">SlotCut</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3599bd01636a873cf3437ab6b9d38780">SlotCopy</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; </div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa2230418dc8f72c400f5a90082a983c9">SlotPaste</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; </div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a4a81e69f6dc74ea649ca9a2358342fd5">SlotUndo</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; </div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae2b3bf422789d56087face98b6a9e929">SlotRedo</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; </div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="keywordtype">void</span> SlotZoomIn() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; </div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordtype">void</span> SlotZoomOut() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; </div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a6c814253dfc061bfdae0fa71c6196c55">SlotSelectAll</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; </div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae9ffb1f027ce05737e77add66bd1540f">SlotAppendText2CurTextPage</a>(<span class="keyword">const</span> QString&amp; text);</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; </div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a66b6f6633e7ac71e5fe8b7814a81cadf">save_file</a>(<span class="keyword">const</span> QString&amp; fileName);</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;};</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; </div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;} <span class="comment">// namespace GpgFrontend::UI</span></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1FilePage_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1FilePage.html">GpgFrontend::UI::FilePage</a></div><div class="ttdef"><b>Definition:</b> FilePage.h:43</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1PlainTextEditorPage_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">GpgFrontend::UI::PlainTextEditorPage</a></div><div class="ttdoc">Class for handling a single tab of the tabwidget.</div><div class="ttdef"><b>Definition:</b> PlainTextEditorPage.h:39</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html">GpgFrontend::UI::TextEdit</a></div><div class="ttdoc">TextEdit class.</div><div class="ttdef"><b>Definition:</b> TextEdit.h:40</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a05c54658597b04c3976c72d3a5f9add9"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a05c54658597b04c3976c72d3a5f9add9">GpgFrontend::UI::TextEdit::TabCount</a></div><div class="ttdeci">int TabCount() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:375</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a12f65fbc4984c266a5df4505ecde7c42"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a12f65fbc4984c266a5df4505ecde7c42">GpgFrontend::UI::TextEdit::slot_remove_tab</a></div><div class="ttdeci">void slot_remove_tab(int index)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:231</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a15335d38187ddf580b7200d856768cfb"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a15335d38187ddf580b7200d856768cfb">GpgFrontend::UI::TextEdit::SlotOpen</a></div><div class="ttdeci">void SlotOpen()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:150</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a1859df6906160400710accb0481d6b0c"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a1859df6906160400710accb0481d6b0c">GpgFrontend::UI::TextEdit::SlotNewFileTab</a></div><div class="ttdeci">void SlotNewFileTab()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:106</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a1bf57ebe1e32b12c48bb633b7dd7a4f1"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a1bf57ebe1e32b12c48bb633b7dd7a4f1">GpgFrontend::UI::TextEdit::slot_save_status_to_cache_for_revovery</a></div><div class="ttdeci">void slot_save_status_to_cache_for_revovery()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:608</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a2ef7669b3b92d4a8c2b0782787653555"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a2ef7669b3b92d4a8c2b0782787653555">GpgFrontend::UI::TextEdit::MaybeSaveAnyTab</a></div><div class="ttdeci">bool MaybeSaveAnyTab()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:306</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a306999df608947dc0728d651893b20f6"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a306999df608947dc0728d651893b20f6">GpgFrontend::UI::TextEdit::SlotSaveAs</a></div><div class="ttdeci">bool SlotSaveAs()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:208</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a3599bd01636a873cf3437ab6b9d38780"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3599bd01636a873cf3437ab6b9d38780">GpgFrontend::UI::TextEdit::SlotCopy</a></div><div class="ttdeci">void SlotCopy() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:531</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a3c17fdf3abf9c4fb6ce35cfb8f0f8fc4"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c17fdf3abf9c4fb6ce35cfb8f0f8fc4">GpgFrontend::UI::TextEdit::slotNewHelpTab</a></div><div class="ttdeci">void slotNewHelpTab(const QString &amp;title, const QString &amp;path) const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:100</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a48351dc1529da3b8da311f65b735b5f1"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a48351dc1529da3b8da311f65b735b5f1">GpgFrontend::UI::TextEdit::SlotCurPageTextEdit</a></div><div class="ttdeci">PlainTextEditorPage * SlotCurPageTextEdit() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:377</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a4a81e69f6dc74ea649ca9a2358342fd5"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a4a81e69f6dc74ea649ca9a2358342fd5">GpgFrontend::UI::TextEdit::SlotUndo</a></div><div class="ttdeci">void SlotUndo() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:549</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a576e06390e65576465297d2ab8d7d474"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a576e06390e65576465297d2ab8d7d474">GpgFrontend::UI::TextEdit::SlotSwitchTabDown</a></div><div class="ttdeci">void SlotSwitchTabDown() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:493</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a57a46ab5595622ae0b7bceef7d56bd7c"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a57a46ab5595622ae0b7bceef7d56bd7c">GpgFrontend::UI::TextEdit::SlotNewTab</a></div><div class="ttdeci">void SlotNewTab()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:61</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a60c73cc66a48a38c13e7890de49e86c3"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a60c73cc66a48a38c13e7890de49e86c3">GpgFrontend::UI::TextEdit::SlotOpenFile</a></div><div class="ttdeci">void SlotOpenFile(const QString &amp;path)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:121</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a66b6f6633e7ac71e5fe8b7814a81cadf"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a66b6f6633e7ac71e5fe8b7814a81cadf">GpgFrontend::UI::TextEdit::save_file</a></div><div class="ttdeci">bool save_file(const QString &amp;fileName)</div><div class="ttdoc">Saves the content of currentTab to the file filename.</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:176</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a6a02fce9dc4039c982d6dd19231517ee"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a6a02fce9dc4039c982d6dd19231517ee">GpgFrontend::UI::TextEdit::SlotQuote</a></div><div class="ttdeci">void SlotQuote() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:388</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a6c814253dfc061bfdae0fa71c6196c55"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a6c814253dfc061bfdae0fa71c6196c55">GpgFrontend::UI::TextEdit::SlotSelectAll</a></div><div class="ttdeci">void SlotSelectAll() const</div><div class="ttdoc">select all in current text page</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:585</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a72014409d407c161b048e07c061b4cf9"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72014409d407c161b048e07c061b4cf9">GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView</a></div><div class="ttdeci">FilePage * SlotCurPageFileTreeView() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:383</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a72ed46454c833adb038c36d8d4322d18"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72ed46454c833adb038c36d8d4322d18">GpgFrontend::UI::TextEdit::LoadFile</a></div><div class="ttdeci">void LoadFile(const QString &amp;fileName)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:418</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a747d3740a88295e6c9565788d4cf56ec"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a747d3740a88295e6c9565788d4cf56ec">GpgFrontend::UI::TextEdit::count_page_</a></div><div class="ttdeci">int count_page_</div><div class="ttdoc">int containing the number of added tabs</div><div class="ttdef"><b>Definition:</b> TextEdit.h:218</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a7aa1230fbf796225bd6b83d381e11a3b"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a7aa1230fbf796225bd6b83d381e11a3b">GpgFrontend::UI::TextEdit::CurTextPage</a></div><div class="ttdeci">PlainTextEditorPage * CurTextPage() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:358</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a82fe98d45f54909ebea933b540367c39"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a82fe98d45f54909ebea933b540367c39">GpgFrontend::UI::TextEdit::UnsavedDocuments</a></div><div class="ttdeci">QHash&lt; int, QString &gt; UnsavedDocuments() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:504</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a8fad090a19479a9fe89432300cca2b6c"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a8fad090a19479a9fe89432300cca2b6c">GpgFrontend::UI::TextEdit::maybe_save_current_tab</a></div><div class="ttdeci">bool maybe_save_current_tab(bool askToSave)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:264</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_aa21659aa7acba98dfd6286d69e00ab9b"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa21659aa7acba98dfd6286d69e00ab9b">GpgFrontend::UI::TextEdit::SlotCloseTab</a></div><div class="ttdeci">void SlotCloseTab()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:224</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_aa2230418dc8f72c400f5a90082a983c9"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa2230418dc8f72c400f5a90082a983c9">GpgFrontend::UI::TextEdit::SlotPaste</a></div><div class="ttdeci">void SlotPaste() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:541</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_aa30daf558cb85bbdcad55a805a106109"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa30daf558cb85bbdcad55a805a106109">GpgFrontend::UI::TextEdit::CurFilePage</a></div><div class="ttdeci">FilePage * CurFilePage() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:367</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ab24adc1adb3b9b29469992e4c444436e"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ab24adc1adb3b9b29469992e4c444436e">GpgFrontend::UI::TextEdit::SlotShowModified</a></div><div class="ttdeci">void SlotShowModified(bool) const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:466</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ace0b8f4c161db9f4f5db5ecbfd7a91c0"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ace0b8f4c161db9f4f5db5ecbfd7a91c0">GpgFrontend::UI::TextEdit::SlotSave</a></div><div class="ttdeci">void SlotSave()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:160</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_adca2bbfa746b5598f2a4f74026b84224"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#adca2bbfa746b5598f2a4f74026b84224">GpgFrontend::UI::TextEdit::SlotPrint</a></div><div class="ttdeci">void SlotPrint()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:440</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ae1e710c6722910b8d35df97aaabb3162"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae1e710c6722910b8d35df97aaabb3162">GpgFrontend::UI::TextEdit::SlotCut</a></div><div class="ttdeci">void SlotCut() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:523</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ae2b3bf422789d56087face98b6a9e929"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae2b3bf422789d56087face98b6a9e929">GpgFrontend::UI::TextEdit::SlotRedo</a></div><div class="ttdeci">void SlotRedo() const</div><div class="ttdoc">redo last change in current text page</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:557</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ae9ffb1f027ce05737e77add66bd1540f"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae9ffb1f027ce05737e77add66bd1540f">GpgFrontend::UI::TextEdit::SlotAppendText2CurTextPage</a></div><div class="ttdeci">void SlotAppendText2CurTextPage(const QString &amp;text)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:362</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_af1e364b513f566c743a5d36c19098762"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#af1e364b513f566c743a5d36c19098762">GpgFrontend::UI::TextEdit::SlotSwitchTabUp</a></div><div class="ttdeci">void SlotSwitchTabUp() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:486</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_af466ec2b8ab3f695d206efc0574bbe20"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#af466ec2b8ab3f695d206efc0574bbe20">GpgFrontend::UI::TextEdit::SlotFillTextEditWithText</a></div><div class="ttdeci">void SlotFillTextEditWithText(const QString &amp;text) const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:410</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_afb9b7a7d88154d774b3d727d8e640cbb"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#afb9b7a7d88154d774b3d727d8e640cbb">GpgFrontend::UI::TextEdit::stripped_name</a></div><div class="ttdeci">static QString stripped_name(const QString &amp;full_file_name)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:436</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a></div><div class="ttdef"><b>Definition:</b> FileReadTask.cpp:31</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
2022-05-08 19:59:26 +00:00
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_da5c6b39c0a2f54e57df6799511cd3ab.html">ui</a></li><li class="navelem"><a class="el" href="dir_f3911b9629b0e27ea480d06d47573cbf.html">widgets</a></li><li class="navelem"><b>TextEdit.h</b></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>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>