<ahref="../../d5/d3b/_global_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">// MuldeR's Utilities for Qt</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment">// Copyright (C) 2004-2016 LoRd_MuldeR <MuldeR2@GMX.de></span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment">//</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment">// This library is free software; you can redistribute it and/or</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment">// modify it under the terms of the GNU Lesser General Public</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment">// License as published by the Free Software Foundation; either</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment">// version 2.1 of the License, or (at your option) any later version.</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment">//</span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment">// This library is distributed in the hope that it will be useful,</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment">// Lesser General Public License for more details.</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment">//</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment">// You should have received a copy of the GNU Lesser General Public</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment">// License along with this library; if not, write to the Free Software</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment">// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment">//</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment">// http://www.gnu.org/licenses/lgpl-2.1.txt</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"></span></div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> </div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="preprocessor">#include <QString></span></div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> </div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> <spanclass="comment">//Forward Declarations</span></div><divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> <spanclass="keyword">class </span>QProcess;</div><divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> </div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> </div><divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> <spanclass="comment">//MUtil
<divclass="ttc"id="_global_8h_html_a4dc7dccb81653ae28e0d37a7c2f62112"><divclass="ttname"><ahref="../../d5/d3b/_global_8h.html#a4dc7dccb81653ae28e0d37a7c2f62112">MUtils::next_rand_u32</a></div><divclass="ttdeci">quint32 next_rand_u32(void)</div><divclass="ttdoc">Generates a random unsigned 32-Bit value. </div></div>
<divclass="ttc"id="_global_8h_html_ad1bdb5e416839b1f85f6df68e58ae28c"><divclass="ttname"><ahref="../../d5/d3b/_global_8h.html#ad1bdb5e416839b1f85f6df68e58ae28c">MUtils::parity</a></div><divclass="ttdeci">bool parity(quint32 value)</div><divclass="ttdoc">Computes the parity of the given unsigned 32-Bit value. </div></div>
<divclass="ttc"id="_global_8h_html_a9ddb9a2039585b1ef3429db16ea84292"><divclass="ttname"><ahref="../../d5/d3b/_global_8h.html#a9ddb9a2039585b1ef3429db16ea84292">MUtils::temp_folder</a></div><divclass="ttdeci">const QString & temp_folder(void)</div><divclass="ttdoc">Rerieves the full path of the application&#39;s Temp folder. </div></div>
<divclass="ttc"id="_global_8h_html_a996b60884ddf7728178e94f34ca12570"><divclass="ttname"><ahref="../../d5/d3b/_global_8h.html#a996b60884ddf7728178e94f34ca12570">MUtils::next_rand_str</a></div><divclass="ttdeci">QString next_rand_str(const bool &bLong=false)</div><divclass="ttdoc">Generates a random string. </div></div>
<divclass="ttc"id="_global_8h_html_a9290a3fe637a05ad2a7515f36fad79bd"><divclass="ttname"><ahref="../../d5/d3b/_global_8h.html#a9290a3fe637a05ad2a7515f36fad79bd">MUtils::trim_right</a></div><divclass="ttdeci">QString & trim_right(QString &str)</div><divclass="ttdoc">Remove trailing white-space characters. </div></div>
<divclass="ttc"id="_global_8h_html_a09e919d419ded903481cf7aba702dcba"><divclass="ttname"><ahref="../../d5/d3b/_global_8h.html#a09e919d419ded903481cf7aba702dcba">MUtils::natural_string_sort</a></div><divclass="ttdeci">void natural_string_sort(QStringList &list, const bool bIgnoreCase)</div><divclass="ttdoc">Sort a list of strings using "natural ordering" algorithm. </div></div>
<divclass="ttc"id="_global_8h_html_af089c8a40b6ec2e19db3fe612aa81c8c"><divclass="ttname"><ahref="../../d5/d3b/_global_8h.html#af089c8a40b6ec2e19db3fe612aa81c8c">MUtils::trim_left</a></div><divclass="ttdeci">QString & trim_left(QString &str)</div><divclass="ttdoc">Remove leading white-space characters. </div></div>
<divclass="ttc"id="_global_8h_html_a15762bf5b0239e5f67a3815d63ed441a"><divclass="ttname"><ahref="../../d5/d3b/_global_8h.html#a15762bf5b0239e5f67a3815d63ed441a">MUtils::next_rand_u64</a></div><divclass="ttdeci">quint64 next_rand_u64(void)</div><divclass="ttdoc">Generates a random unsigned 64-Bit value. </div></div>