summaryrefslogtreecommitdiffstats
path: root/doc/html/regexptester-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/regexptester-example.html')
-rw-r--r--doc/html/regexptester-example.html38
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/regexptester-example.html b/doc/html/regexptester-example.html
index 19bfb8111..1d90da289 100644
--- a/doc/html/regexptester-example.html
+++ b/doc/html/regexptester-example.html
@@ -163,9 +163,9 @@ private:
languageChange();
- <a href="ntqobject.html#connect">connect</a>(copyPushButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(copy()));
- <a href="ntqobject.html#connect">connect</a>(executePushButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(execute()));
- <a href="ntqobject.html#connect">connect</a>(quitPushButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(<a href="ntqdialog.html#accept">accept</a>()));
+ <a href="tqobject.html#connect">connect</a>(copyPushButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(copy()));
+ <a href="tqobject.html#connect">connect</a>(executePushButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(execute()));
+ <a href="tqobject.html#connect">connect</a>(quitPushButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(<a href="ntqdialog.html#accept">accept</a>()));
execute();
}
@@ -181,7 +181,7 @@ void <a name="f557"></a>RegexpTester::execute()
bool wildcard = wildcardCheckBox-&gt;<a href="ntqcheckbox.html#isChecked">isChecked</a>();
<a name="x2493"></a> re.<a href="ntqregexp.html#setWildcard">setWildcard</a>(wildcard);
<a name="x2487"></a> if (!re.<a href="ntqregexp.html#isValid">isValid</a>()) {
-<a name="x2494"></a> statusBar-&gt;<a href="ntqstatusbar.html#message">message</a>(<a href="ntqobject.html#tr">tr</a>("Invalid <a href="ntqregexp.html#regular-expression">regular expression</a>: %1")
+<a name="x2494"></a> statusBar-&gt;<a href="ntqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Invalid <a href="ntqregexp.html#regular-expression">regular expression</a>: %1")
<a name="x2486"></a> .arg(re.<a href="ntqregexp.html#errorString">errorString</a>()));
return;
}
@@ -234,11 +234,11 @@ void <a name="f557"></a>RegexpTester::execute()
<a name="x2498"></a> resultTable-&gt;<a href="ntqtable.html#adjustColumn">adjustColumn</a>(0);
resultTable-&gt;<a href="ntqtable.html#adjustColumn">adjustColumn</a>(1);
resultTable-&gt;<a href="ntqtable.html#adjustColumn">adjustColumn</a>(2);
- statusBar-&gt;<a href="ntqstatusbar.html#message">message</a>(<a href="ntqobject.html#tr">tr</a>("Executed \"%1\" on \"%2\"")
+ statusBar-&gt;<a href="ntqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Executed \"%1\" on \"%2\"")
.arg(escaped).arg(text));
}
else
- statusBar-&gt;<a href="ntqstatusbar.html#message">message</a>(<a href="ntqobject.html#tr">tr</a>("A regular expression and a text must be given"));
+ statusBar-&gt;<a href="ntqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("A regular expression and a text must be given"));
}
void <a name="f558"></a>RegexpTester::copy()
@@ -250,24 +250,24 @@ void <a name="f558"></a>RegexpTester::copy()
<a name="x2476"></a> cb-&gt;<a href="ntqclipboard.html#setText">setText</a>(escaped, TQClipboard::Clipboard);
<a name="x2477"></a> if (cb-&gt;<a href="ntqclipboard.html#supportsSelection">supportsSelection</a>())
cb-&gt;<a href="ntqclipboard.html#setText">setText</a>(escaped, TQClipboard::Selection);
- statusBar-&gt;<a href="ntqstatusbar.html#message">message</a>(<a href="ntqobject.html#tr">tr</a>("Copied \"%1\" to the clipboard")
+ statusBar-&gt;<a href="ntqstatusbar.html#message">message</a>(<a href="tqobject.html#tr">tr</a>("Copied \"%1\" to the clipboard")
.arg(escaped));
}
}
void <a name="f559"></a>RegexpTester::languageChange()
{
- <a href="ntqwidget.html#setCaption">setCaption</a>(<a href="ntqobject.html#tr">tr</a>("Regex Tester"));
- regexLabel-&gt;<a href="ntqlabel.html#setText">setText</a>(<a href="ntqobject.html#tr">tr</a>("&amp;Regex:"));
-<a name="x2479"></a> regexComboBox-&gt;<a href="ntqcombobox.html#insertItem">insertItem</a>(<a href="ntqobject.html#tr">tr</a>("[A-Z]+=(\\d+):(\\d*)"));
- textLabel-&gt;<a href="ntqlabel.html#setText">setText</a>(<a href="ntqobject.html#tr">tr</a>("&amp;Text:"));
- textComboBox-&gt;<a href="ntqcombobox.html#insertItem">insertItem</a>(<a href="ntqobject.html#tr">tr</a>("ABC=12:3456"));
-<a name="x2473"></a> caseSensitiveCheckBox-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="ntqobject.html#tr">tr</a>("Case &amp;Sensitive"));
- minimalCheckBox-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="ntqobject.html#tr">tr</a>("&amp;Minimal"));
- wildcardCheckBox-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="ntqobject.html#tr">tr</a>("&amp;Wildcard"));
- copyPushButton-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="ntqobject.html#tr">tr</a>("&amp;Copy"));
- executePushButton-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="ntqobject.html#tr">tr</a>("&amp;Execute"));
- quitPushButton-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="ntqobject.html#tr">tr</a>("&amp;Quit"));
+ <a href="ntqwidget.html#setCaption">setCaption</a>(<a href="tqobject.html#tr">tr</a>("Regex Tester"));
+ regexLabel-&gt;<a href="ntqlabel.html#setText">setText</a>(<a href="tqobject.html#tr">tr</a>("&amp;Regex:"));
+<a name="x2479"></a> regexComboBox-&gt;<a href="ntqcombobox.html#insertItem">insertItem</a>(<a href="tqobject.html#tr">tr</a>("[A-Z]+=(\\d+):(\\d*)"));
+ textLabel-&gt;<a href="ntqlabel.html#setText">setText</a>(<a href="tqobject.html#tr">tr</a>("&amp;Text:"));
+ textComboBox-&gt;<a href="ntqcombobox.html#insertItem">insertItem</a>(<a href="tqobject.html#tr">tr</a>("ABC=12:3456"));
+<a name="x2473"></a> caseSensitiveCheckBox-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="tqobject.html#tr">tr</a>("Case &amp;Sensitive"));
+ minimalCheckBox-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="tqobject.html#tr">tr</a>("&amp;Minimal"));
+ wildcardCheckBox-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="tqobject.html#tr">tr</a>("&amp;Wildcard"));
+ copyPushButton-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="tqobject.html#tr">tr</a>("&amp;Copy"));
+ executePushButton-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="tqobject.html#tr">tr</a>("&amp;Execute"));
+ quitPushButton-&gt;<a href="ntqbutton.html#setText">setText</a>(<a href="tqobject.html#tr">tr</a>("&amp;Quit"));
}
</pre>
@@ -282,7 +282,7 @@ int main(int argc, char **argv)
<a href="ntqapplication.html">TQApplication</a> app(argc, argv);
RegexpTester form;
<a name="x2511"></a> form.<a href="ntqdialog.html#show">show</a>();
-<a name="x2512"></a><a name="x2510"></a><a name="x2509"></a> app.<a href="ntqobject.html#connect">connect</a>(&amp;app, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;app, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()));
+<a name="x2512"></a><a name="x2510"></a><a name="x2509"></a> app.<a href="tqobject.html#connect">connect</a>(&amp;app, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;app, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()));
return app.<a href="ntqapplication.html#exec">exec</a>();
}
</pre>