summaryrefslogtreecommitdiffstats
path: root/doc/html/archivesearch-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/archivesearch-example.html')
-rw-r--r--doc/html/archivesearch-example.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/archivesearch-example.html b/doc/html/archivesearch-example.html
index eff85def8..8cbc96c68 100644
--- a/doc/html/archivesearch-example.html
+++ b/doc/html/archivesearch-example.html
@@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }
<p>
<p> This example does a search on the qt-interest mailinglist archives. It uses
-<a href="ntqhttp.html">TQHttp</a> to issue the search command and to fetch the results. The GUI parts
+<a href="tqhttp.html">TQHttp</a> to issue the search command and to fetch the results. The GUI parts
were done using <a href="designer-manual.html">TQt Designer</a>.
<p> <hr>
<p> The implementation of the HTTP requests (archivedialog.ui.h):
@@ -69,8 +69,8 @@ void ArchiveDialog::init()
void ArchiveDialog::fetch( <a href="qlistviewitem.html">TQListViewItem</a> *it )
{
-<a name="x477"></a> <a href="ntqurl.html">TQUrl</a> u(it-&gt;<a href="qlistviewitem.html#text">text</a>(1));
-<a name="x485"></a> articleFetcher.setHost(u.<a href="ntqurl.html#host">host</a>());
+<a name="x477"></a> <a href="tqurl.html">TQUrl</a> u(it-&gt;<a href="qlistviewitem.html#text">text</a>(1));
+<a name="x485"></a> articleFetcher.setHost(u.<a href="tqurl.html#host">host</a>());
articleFetcher.get(it-&gt;<a href="qlistviewitem.html#text">text</a>(1));
}
@@ -104,12 +104,12 @@ void ArchiveDialog::search()
articleSearcher.setHost("lists.trolltech.com");
- <a href="qhttprequestheader.html">TQHttpRequestHeader</a> header("POST", "/qt-interest/search.php");
-<a name="x476"></a> header.<a href="qhttpheader.html#setValue">setValue</a>("Host", "lists.trolltech.com");
-<a name="x475"></a> header.<a href="qhttpheader.html#setContentType">setContentType</a>("application/x-www-form-urlencoded");
+ <a href="tqhttprequestheader.html">TQHttpRequestHeader</a> header("POST", "/qt-interest/search.php");
+<a name="x476"></a> header.<a href="tqhttpheader.html#setValue">setValue</a>("Host", "lists.trolltech.com");
+<a name="x475"></a> header.<a href="tqhttpheader.html#setContentType">setContentType</a>("application/x-www-form-urlencoded");
<a href="tqstring.html">TQString</a> encodedTopic = myLineEdit-&gt;text();
-<a name="x484"></a> TQUrl::<a href="ntqurl.html#encode">encode</a>(encodedTopic);
+<a name="x484"></a> TQUrl::<a href="tqurl.html#encode">encode</a>(encodedTopic);
<a href="tqstring.html">TQString</a> searchString = "qt-interest=on&amp;search=" + encodedTopic;
<a name="x483"></a> articleSearcher.request(header, searchString.<a href="tqstring.html#utf8">utf8</a>());