GpgFrontend-Doxygen/docs/html/TextEdit_8h_source.html

244 lines
35 KiB
HTML
Raw 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">#ifndef __TEXTEDIT_H__</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#define __TEXTEDIT_H__</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;ui/dialog/QuitDialog.h&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &quot;ui/widgets/FilePage.h&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;ui/widgets/HelpPage.h&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &quot;ui/widgets/PlainTextEditorPage.h&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a> {</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1TextEdit.html"> 41</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="l00042"></a><span class="lineno"> 42</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html">TextEdit</a>(QWidget* parent);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</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="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c976a5494d06c2186d94e7cc8ebe457">MaybeSaveAnyTab</a>();</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</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="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</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="l00079"></a><span class="lineno"> 79</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</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="l00086"></a><span class="lineno"> 86</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</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="l00092"></a><span class="lineno"> 92</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; QTabWidget* tab_widget_; </div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</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="l00102"></a><span class="lineno"> 102</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</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="l00108"></a><span class="lineno"> 108</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</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="l00113"></a><span class="lineno"> 113</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</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="l00119"></a><span class="lineno"> 119</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</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="l00125"></a><span class="lineno"> 125</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a02fa44ba0c56f3f6ae125f8490faf254">SlotSaveAs</a>();</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</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="l00140"></a><span class="lineno"> 140</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</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="l00145"></a><span class="lineno"> 145</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</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="l00152"></a><span class="lineno"> 152</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordtype">void</span> SlotNewTabWithContent(std::string title, <span class="keyword">const</span> std::string&amp; content);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</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="l00163"></a><span class="lineno"> 163</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</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="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae22ecadf31648f424eb8ab86bd28ef39">SlotNewFileTab</a>() <span class="keyword">const</span>;</div>
2022-05-08 22:01:23 +00:00
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; </div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</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>
2022-05-08 22:01:23 +00:00
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; </div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa21659aa7acba98dfd6286d69e00ab9b">SlotCloseTab</a>();</div>
2022-05-08 22:01:23 +00:00
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; </div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</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>
2022-05-08 22:01:23 +00:00
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</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="l00200"></a><span class="lineno"> 200</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; uint text_page_data_modified_count_ = 0; </div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; </div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</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="l00211"></a><span class="lineno"> 211</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</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="l00218"></a><span class="lineno"> 218</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a747d3740a88295e6c9565788d4cf56ec"> 219</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="l00220"></a><span class="lineno"> 220</span>&#160; </div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keyword">private</span> slots:</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</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="l00224"></a><span class="lineno"> 224</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</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="l00231"></a><span class="lineno"> 231</span>&#160; </div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</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="l00238"></a><span class="lineno"> 238</span>&#160; </div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; </div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</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="l00245"></a><span class="lineno"> 245</span>&#160; </div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</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="l00250"></a><span class="lineno"> 250</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</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="l00255"></a><span class="lineno"> 255</span>&#160; </div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</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="l00261"></a><span class="lineno"> 261</span>&#160; </div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</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="l00267"></a><span class="lineno"> 267</span>&#160; </div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <span class="keywordtype">void</span> SlotZoomIn() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; </div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordtype">void</span> SlotZoomOut() <span class="keyword">const</span>;</div>
2022-05-08 22:01:23 +00:00
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</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="l00285"></a><span class="lineno"> 285</span>&#160; </div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</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="l00293"></a><span class="lineno"> 293</span>&#160;};</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; </div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;} <span class="comment">// namespace GpgFrontend::UI</span></div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; </div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// __TEXTEDIT_H__</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:45</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:41</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a02fa44ba0c56f3f6ae125f8490faf254"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a02fa44ba0c56f3f6ae125f8490faf254">GpgFrontend::UI::TextEdit::SlotSaveAs</a></div><div class="ttdeci">bool SlotSaveAs()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:231</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:402</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:255</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_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:631</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:557</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:103</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a3c976a5494d06c2186d94e7cc8ebe457"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c976a5494d06c2186d94e7cc8ebe457">GpgFrontend::UI::TextEdit::MaybeSaveAnyTab</a></div><div class="ttdeci">bool MaybeSaveAnyTab()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:334</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:404</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:575</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:519</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:62</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:119</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:415</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:611</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:410</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:445</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:219</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:389</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:530</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:288</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:248</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:567</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:393</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:492</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:470</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:549</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ae22ecadf31648f424eb8ab86bd28ef39"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae22ecadf31648f424eb8ab86bd28ef39">GpgFrontend::UI::TextEdit::SlotNewFileTab</a></div><div class="ttdeci">void SlotNewFileTab() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:109</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:583</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:512</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:437</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:466</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:29</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>