summaryrefslogtreecommitdiffstats
path: root/kioslave/man
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:25 -0600
commit2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (patch)
tree65f4f4370cf4269757d7fa4d0f4d15996a1bf68f /kioslave/man
parent73c08b592db45af554b9f21029bc549d70f683ab (diff)
downloadtdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.tar.gz
tdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
Diffstat (limited to 'kioslave/man')
-rw-r--r--kioslave/man/kio_man.cpp16
-rw-r--r--kioslave/man/man2html.cpp4
2 files changed, 10 insertions, 10 deletions
diff --git a/kioslave/man/kio_man.cpp b/kioslave/man/kio_man.cpp
index c8227e908..7cec22c27 100644
--- a/kioslave/man/kio_man.cpp
+++ b/kioslave/man/kio_man.cpp
@@ -24,7 +24,7 @@
#include <tqdir.h>
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqdatastream.h>
#include <tqcstring.h>
#include <tqptrlist.h>
@@ -82,7 +82,7 @@ bool parseUrl(const TQString& _url, TQString &title, TQString &section)
section = TQString::null;
TQString url = _url;
- if (url.at(0) == '/') {
+ if (url.tqat(0) == '/') {
if (KStandardDirs::exists(url)) {
title = url;
return true;
@@ -93,7 +93,7 @@ bool parseUrl(const TQString& _url, TQString &title, TQString &section)
}
}
- while (url.at(0) == '/')
+ while (url.tqat(0) == '/')
url.remove(0,1);
title = url;
@@ -259,7 +259,7 @@ TQStringList MANProtocol::findPages(const TQString &_section,
TQStringList list;
// kdDebug() << "findPages '" << section << "' '" << title << "'\n";
- if (title.at(0) == '/') {
+ if (title.tqat(0) == '/') {
list.append(title);
return list;
}
@@ -279,7 +279,7 @@ TQStringList MANProtocol::findPages(const TQString &_section,
// Section given as argument
//
sect_list += section;
- while (section.at(section.length() - 1).isLetter()) {
+ while (section.tqat(section.length() - 1).isLetter()) {
section.truncate(section.length() - 1);
sect_list += section;
}
@@ -400,11 +400,11 @@ void MANProtocol::output(const char *insert)
{
m_outputBuffer.writeBlock(insert,strlen(insert));
}
- if (!insert || m_outputBuffer.at() >= 2048)
+ if (!insert || m_outputBuffer.tqat() >= 2048)
{
m_outputBuffer.close();
data(m_outputBuffer.buffer());
- m_outputBuffer.setBuffer(TQByteArray());
+ m_outputBuffer.tqsetBufferFromCopy(TQByteArray());
m_outputBuffer.open(IO_WriteOnly);
}
}
@@ -505,7 +505,7 @@ void MANProtocol::get(const KURL& url )
m_outputBuffer.close();
data(m_outputBuffer.buffer());
- m_outputBuffer.setBuffer(TQByteArray());
+ m_outputBuffer.tqsetBufferFromCopy(TQByteArray());
// tell we are done
data(TQByteArray());
}
diff --git a/kioslave/man/man2html.cpp b/kioslave/man/man2html.cpp
index c7c41bc42..e31fe0fe6 100644
--- a/kioslave/man/man2html.cpp
+++ b/kioslave/man/man2html.cpp
@@ -144,7 +144,7 @@
# define kdDebug(x) cerr
# define kdWarning(x) cerr << "WARNING "
#else
-# include <textcodec.h>
+# include <tqtextcodec.h>
# include <kdebug.h>
# include <tdeversion.h>
#endif
@@ -1905,7 +1905,7 @@ public:
return (index >= 0) && (index < (int)items.count());
}
TABLEITEM &at(int index) {
- return *items.at(index);
+ return *items.tqat(index);
}
TABLEROW *copyLayout() const;