diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:53:50 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:53:50 -0600 |
commit | f64397c82fa94371ab4a64af28c4d0029f4cd93f (patch) | |
tree | cdb72f3faadbcebe60088800f27df1ec23ad15d8 /kioslave/man/kio_man.cpp | |
parent | 628043be55ddd2f534411d028e4f68c8fe4eaabb (diff) | |
download | tdebase-f64397c82fa94371ab4a64af28c4d0029f4cd93f.tar.gz tdebase-f64397c82fa94371ab4a64af28c4d0029f4cd93f.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kioslave/man/kio_man.cpp')
-rw-r--r-- | kioslave/man/kio_man.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kioslave/man/kio_man.cpp b/kioslave/man/kio_man.cpp index c94c9b2c6..61f3ef45f 100644 --- a/kioslave/man/kio_man.cpp +++ b/kioslave/man/kio_man.cpp @@ -82,7 +82,7 @@ bool parseUrl(const TQString& _url, TQString &title, TQString §ion) section = TQString::null; TQString url = _url; - if (url.tqat(0) == '/') { + if (url.at(0) == '/') { if (KStandardDirs::exists(url)) { title = url; return true; @@ -93,7 +93,7 @@ bool parseUrl(const TQString& _url, TQString &title, TQString §ion) } } - while (url.tqat(0) == '/') + while (url.at(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.tqat(0) == '/') { + if (title.at(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.tqat(section.length() - 1).isLetter()) { + while (section.at(section.length() - 1).isLetter()) { section.truncate(section.length() - 1); sect_list += section; } @@ -400,7 +400,7 @@ void MANProtocol::output(const char *insert) { m_outputBuffer.writeBlock(insert,strlen(insert)); } - if (!insert || m_outputBuffer.tqat() >= 2048) + if (!insert || m_outputBuffer.at() >= 2048) { m_outputBuffer.close(); data(m_outputBuffer.buffer()); |