summaryrefslogtreecommitdiffstats
path: root/languages/csharp/csharpdoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/csharp/csharpdoc.cpp')
-rw-r--r--languages/csharp/csharpdoc.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/languages/csharp/csharpdoc.cpp b/languages/csharp/csharpdoc.cpp
index 8755be2b..f70df162 100644
--- a/languages/csharp/csharpdoc.cpp
+++ b/languages/csharp/csharpdoc.cpp
@@ -5,7 +5,7 @@
#include <sys/stat.h>
#include <unistd.h>
-#include <qtextstream.h>
+#include <tqtextstream.h>
#include <kdebug.h>
#include <klocale.h>
#include <kstandarddirs.h>
@@ -17,7 +17,7 @@
using namespace KIO;
-CSharpdocProtocol::CSharpdocProtocol(const QCString &pool, const QCString &app)
+CSharpdocProtocol::CSharpdocProtocol(const TQCString &pool, const TQCString &app)
: SlaveBase("csharpdoc", pool, app)
{}
@@ -28,12 +28,12 @@ CSharpdocProtocol::~CSharpdocProtocol()
void CSharpdocProtocol::get(const KURL& url)
{
- QStringList l = QStringList::split('/', url.path());
+ TQStringList l = TQStringList::split('/', url.path());
mimeType("text/html");
bool plain = false;
- QString cmd = "csharpdoc ";
+ TQString cmd = "csharpdoc ";
if (l[0] == "functions") {
plain = true;
cmd += "-t -f ";
@@ -43,7 +43,7 @@ void CSharpdocProtocol::get(const KURL& url)
cmd += KProcess::quote(l[1]);
cmd += " | pod2html";
} else {
- QCString errstr(i18n("The only existing directories are functions and faq.").local8Bit());
+ TQCString errstr(i18n("The only existing directories are functions and faq.").local8Bit());
data(errstr);
finished();
return;
@@ -52,11 +52,11 @@ void CSharpdocProtocol::get(const KURL& url)
kdDebug() << "Command: " << cmd << endl;
if (plain)
- data(QCString("<blockquote>"));
+ data(TQCString("<blockquote>"));
FILE *fd = popen(cmd.local8Bit().data(), "r");
char buffer[4090];
- QByteArray array;
+ TQByteArray array;
while (!feof(fd)) {
int n = fread(buffer, 1, 2048, fd);
@@ -72,7 +72,7 @@ void CSharpdocProtocol::get(const KURL& url)
pclose(fd);
if (plain)
- data(QCString("</blockquote>"));
+ data(TQCString("</blockquote>"));
finished();
}
@@ -80,15 +80,15 @@ void CSharpdocProtocol::get(const KURL& url)
void CSharpdocProtocol::mimetype(const KURL &url)
{
- QStringList l = QStringList::split('/', url.path());
+ TQStringList l = TQStringList::split('/', url.path());
mimeType((l[0] == "faq")? "text/html" : "text/plain");
finished();
}
-QCString CSharpdocProtocol::errorMessage()
+TQCString CSharpdocProtocol::errorMessage()
{
- return QCString( "<html><body bgcolor=\"#FFFFFF\">" + i18n("Error in csharpdoc").local8Bit() + "</body></html>" );
+ return TQCString( "<html><body bgcolor=\"#FFFFFF\">" + i18n("Error in csharpdoc").local8Bit() + "</body></html>" );
}