diff options
Diffstat (limited to 'doc/html/filterelem_8cpp-source.html')
-rw-r--r-- | doc/html/filterelem_8cpp-source.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/filterelem_8cpp-source.html b/doc/html/filterelem_8cpp-source.html index f1d16f9..5981114 100644 --- a/doc/html/filterelem_8cpp-source.html +++ b/doc/html/filterelem_8cpp-source.html @@ -32,8 +32,8 @@ <a name="l00015"></a>00015 <span class="comment"> * *</span> <a name="l00016"></a>00016 <span class="comment"> ***************************************************************************/</span> <a name="l00017"></a>00017 -<a name="l00018"></a>00018 <span class="preprocessor">#include <qregexp.h></span> -<a name="l00019"></a>00019 <span class="preprocessor">#include <klocale.h></span> +<a name="l00018"></a>00018 <span class="preprocessor">#include <ntqregexp.h></span> +<a name="l00019"></a>00019 <span class="preprocessor">#include <tdelocale.h></span> <a name="l00020"></a>00020 <span class="preprocessor">#include <kdebug.h></span> <a name="l00021"></a>00021 <span class="preprocessor">#include "filterelem.h"</span> <a name="l00022"></a>00022 @@ -41,7 +41,7 @@ <a name="l00024"></a>00024 _type (from), _expression (contains), _CaseSensitive (false), _RegExp (false) <a name="l00025"></a>00025 {} <a name="l00026"></a>00026 -<a name="l00027"></a><a class="code" href="classFilterRecord.html#3829e87c1a6e284017cd2e1f4434a76a">00027</a> <a class="code" href="classFilterRecord.html#21d096b6ce737e5550e3d767fa6d2ae3">FilterRecord::FilterRecord</a> (<a class="code" href="classFilterRecord.html#2c0c872991f558350b5f4b8030f63fdb">filterType</a> type, <a class="code" href="classFilterRecord.html#4465ee708aed29f373c691ad63560344">expressionType</a> expression, <span class="keyword">const</span> QString& match, <span class="keywordtype">bool</span> caseSensitive, <span class="keywordtype">bool</span> regExp): +<a name="l00027"></a><a class="code" href="classFilterRecord.html#3829e87c1a6e284017cd2e1f4434a76a">00027</a> <a class="code" href="classFilterRecord.html#21d096b6ce737e5550e3d767fa6d2ae3">FilterRecord::FilterRecord</a> (<a class="code" href="classFilterRecord.html#2c0c872991f558350b5f4b8030f63fdb">filterType</a> type, <a class="code" href="classFilterRecord.html#4465ee708aed29f373c691ad63560344">expressionType</a> expression, <span class="keyword">const</span> TQString& match, <span class="keywordtype">bool</span> caseSensitive, <span class="keywordtype">bool</span> regExp): <a name="l00028"></a>00028 _type (type), <a name="l00029"></a>00029 _expression (expression), <a name="l00030"></a>00030 _match (match), @@ -49,9 +49,9 @@ <a name="l00032"></a>00032 _RegExp (regExp) <a name="l00033"></a>00033 {} <a name="l00034"></a>00034 -<a name="l00035"></a><a class="code" href="classFilterRecord.html#aad8e6b767fbcc3f9c214ca1be7db853">00035</a> QString <a class="code" href="classFilterRecord.html#aad8e6b767fbcc3f9c214ca1be7db853">FilterRecord::toString</a> ()<span class="keyword"> const</span> +<a name="l00035"></a><a class="code" href="classFilterRecord.html#aad8e6b767fbcc3f9c214ca1be7db853">00035</a> TQString <a class="code" href="classFilterRecord.html#aad8e6b767fbcc3f9c214ca1be7db853">FilterRecord::toString</a> ()<span class="keyword"> const</span> <a name="l00036"></a>00036 <span class="keyword"></span>{ -<a name="l00037"></a>00037 QString name; +<a name="l00037"></a>00037 TQString name; <a name="l00038"></a>00038 <span class="keywordflow">switch</span> (<a class="code" href="classFilterRecord.html#a9ca58948529c51e27397ef9b105c6d2">_type</a>) <a name="l00039"></a>00039 { <a name="l00040"></a>00040 <span class="keywordflow">case</span> from: @@ -126,9 +126,9 @@ <a name="l00109"></a>00109 <a class="code" href="classFilterElem.html#e872e95b54e1af0c6773c92cec688020">_filter2</a> = filter; <a name="l00110"></a>00110 } <a name="l00111"></a>00111 -<a name="l00112"></a><a class="code" href="classFilterElem.html#252af203fd2bf1784359034c73a7f6c8">00112</a> QString <a class="code" href="classFilterElem.html#252af203fd2bf1784359034c73a7f6c8">FilterElem::toString</a> ()<span class="keyword"> const</span> +<a name="l00112"></a><a class="code" href="classFilterElem.html#252af203fd2bf1784359034c73a7f6c8">00112</a> TQString <a class="code" href="classFilterElem.html#252af203fd2bf1784359034c73a7f6c8">FilterElem::toString</a> ()<span class="keyword"> const</span> <a name="l00113"></a>00113 <span class="keyword"></span>{ -<a name="l00114"></a>00114 QString name; +<a name="l00114"></a>00114 TQString name; <a name="l00115"></a>00115 name.sprintf (<span class="stringliteral">"%06d_"</span>, <a class="code" href="classFilterElem.html#2e417fd43d30ac8ce2d417f818b37a42">_counter</a>); <a name="l00116"></a>00116 name += <a class="code" href="classFilterElem.html#a0dc9e7d0ab4a85f5426f091eb459565">_filter1</a>.<a class="code" href="classFilterRecord.html#aad8e6b767fbcc3f9c214ca1be7db853">toString</a>(); <a name="l00117"></a>00117 <span class="keywordflow">if</span> (<a class="code" href="classFilterElem.html#91c7d695c13e14fd53b74f01ed082679">_secondCondition</a> != FilterElem::noSecondCondition) @@ -152,7 +152,7 @@ <a name="l00135"></a>00135 <a name="l00136"></a><a class="code" href="classFilterRecord.html#ce4bf661b49a342242d9c2bd578720c3">00136</a> <span class="keywordtype">bool</span> <a class="code" href="classFilterRecord.html#ce4bf661b49a342242d9c2bd578720c3">FilterRecord::matches</a> (<a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* pElem) <a name="l00137"></a>00137 { -<a name="l00138"></a>00138 QString text; +<a name="l00138"></a>00138 TQString text; <a name="l00139"></a>00139 <span class="keywordtype">int</span> msgsize = 0; <a name="l00140"></a>00140 <span class="keywordflow">switch</span> (<a class="code" href="classFilterRecord.html#a9ca58948529c51e27397ef9b105c6d2">_type</a>) <a name="l00141"></a>00141 { @@ -202,7 +202,7 @@ <a name="l00185"></a>00185 <span class="keywordflow">case</span> contains: <a name="l00186"></a>00186 <span class="keywordflow">if</span> (<a class="code" href="classFilterRecord.html#eecf987a35d4f17c91c8fd69f4afb139">_RegExp</a>) <a name="l00187"></a>00187 { -<a name="l00188"></a>00188 <span class="keywordflow">return</span> (QRegExp (<a class="code" href="classFilterRecord.html#72d4a650ab06738f169b562e5adbbaaa">_match</a>, <a class="code" href="classFilterRecord.html#47791227a3cabe9397f5bd1a6c44fd16">_CaseSensitive</a>).search(text) >= 0); +<a name="l00188"></a>00188 <span class="keywordflow">return</span> (TQRegExp (<a class="code" href="classFilterRecord.html#72d4a650ab06738f169b562e5adbbaaa">_match</a>, <a class="code" href="classFilterRecord.html#47791227a3cabe9397f5bd1a6c44fd16">_CaseSensitive</a>).search(text) >= 0); <a name="l00189"></a>00189 } <a name="l00190"></a>00190 <span class="keywordflow">else</span> <a name="l00191"></a>00191 { @@ -212,7 +212,7 @@ <a name="l00195"></a>00195 <span class="keywordflow">case</span> contains_not: <a name="l00196"></a>00196 <span class="keywordflow">if</span> (_RegExp) <a name="l00197"></a>00197 { -<a name="l00198"></a>00198 <span class="keywordflow">return</span> (QRegExp (<a class="code" href="classFilterRecord.html#72d4a650ab06738f169b562e5adbbaaa">_match</a>, <a class="code" href="classFilterRecord.html#47791227a3cabe9397f5bd1a6c44fd16">_CaseSensitive</a>).search(text) < 0); +<a name="l00198"></a>00198 <span class="keywordflow">return</span> (TQRegExp (<a class="code" href="classFilterRecord.html#72d4a650ab06738f169b562e5adbbaaa">_match</a>, <a class="code" href="classFilterRecord.html#47791227a3cabe9397f5bd1a6c44fd16">_CaseSensitive</a>).search(text) < 0); <a name="l00199"></a>00199 } <a name="l00200"></a>00200 <span class="keywordflow">else</span> <a name="l00201"></a>00201 { @@ -222,7 +222,7 @@ <a name="l00205"></a>00205 <span class="keywordflow">case</span> equals: <a name="l00206"></a>00206 <span class="keywordflow">if</span> (_RegExp) <a name="l00207"></a>00207 { -<a name="l00208"></a>00208 <span class="keywordflow">return</span> (QRegExp (<a class="code" href="classFilterRecord.html#72d4a650ab06738f169b562e5adbbaaa">_match</a>, <a class="code" href="classFilterRecord.html#47791227a3cabe9397f5bd1a6c44fd16">_CaseSensitive</a>).exactMatch (text)); +<a name="l00208"></a>00208 <span class="keywordflow">return</span> (TQRegExp (<a class="code" href="classFilterRecord.html#72d4a650ab06738f169b562e5adbbaaa">_match</a>, <a class="code" href="classFilterRecord.html#47791227a3cabe9397f5bd1a6c44fd16">_CaseSensitive</a>).exactMatch (text)); <a name="l00209"></a>00209 } <a name="l00210"></a>00210 <span class="keywordflow">else</span> <a name="l00211"></a>00211 { @@ -239,7 +239,7 @@ <a name="l00222"></a>00222 <span class="keywordflow">case</span> equals_not: <a name="l00223"></a>00223 <span class="keywordflow">if</span> (_RegExp) <a name="l00224"></a>00224 { -<a name="l00225"></a>00225 <span class="keywordflow">return</span> !(QRegExp (<a class="code" href="classFilterRecord.html#72d4a650ab06738f169b562e5adbbaaa">_match</a>, <a class="code" href="classFilterRecord.html#47791227a3cabe9397f5bd1a6c44fd16">_CaseSensitive</a>).exactMatch (text)); +<a name="l00225"></a>00225 <span class="keywordflow">return</span> !(TQRegExp (<a class="code" href="classFilterRecord.html#72d4a650ab06738f169b562e5adbbaaa">_match</a>, <a class="code" href="classFilterRecord.html#47791227a3cabe9397f5bd1a6c44fd16">_CaseSensitive</a>).exactMatch (text)); <a name="l00226"></a>00226 } <a name="l00227"></a>00227 <span class="keywordflow">else</span> <a name="l00228"></a>00228 { |