summaryrefslogtreecommitdiffstats
path: root/kio/kio/kurlcompletion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kio/kurlcompletion.cpp')
-rw-r--r--kio/kio/kurlcompletion.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kio/kio/kurlcompletion.cpp b/kio/kio/kurlcompletion.cpp
index 445fc674b..79a939530 100644
--- a/kio/kio/kurlcompletion.cpp
+++ b/kio/kio/kurlcompletion.cpp
@@ -35,7 +35,7 @@
#include <tqtimer.h>
#include <tqdir.h>
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqdeepcopy.h>
#include <tqthread.h>
@@ -750,7 +750,7 @@ bool KURLCompletion::userCompletion(const MyURL &url, TQString *match)
{
if ( url.protocol() != "file"
|| !url.dir().isEmpty()
- || url.file().at(0) != '~' )
+ || url.file().tqat(0) != '~' )
return false;
if ( !isListedURL( CTUser ) ) {
@@ -782,7 +782,7 @@ extern char **environ; // Array of environment variables
bool KURLCompletion::envCompletion(const MyURL &url, TQString *match)
{
- if ( url.file().at(0) != '$' )
+ if ( url.file().tqat(0) != '$' )
return false;
if ( !isListedURL( CTEnv ) ) {
@@ -861,7 +861,7 @@ bool KURLCompletion::exeCompletion(const MyURL &url, TQString *match)
}
// No hidden files unless the user types "."
- bool no_hidden_files = url.file().at(0) != '.';
+ bool no_hidden_files = url.file().tqat(0) != '.';
// List files if needed
//
@@ -921,7 +921,7 @@ bool KURLCompletion::systemexeCompletion(const MyURL &url, TQString *match)
}
// No hidden files unless the user types "."
- bool no_hidden_files = url.file().at(0) != '.';
+ bool no_hidden_files = url.file().tqat(0) != '.';
// List files if needed
//
@@ -995,7 +995,7 @@ bool KURLCompletion::fileCompletion(const MyURL &url, TQString *match)
}
// No hidden files unless the user types "."
- bool no_hidden_files = ( url.file().at(0) != '.' );
+ bool no_hidden_files = ( url.file().tqat(0) != '.' );
// List files if needed
//
@@ -1365,7 +1365,7 @@ void KURLCompletion::postProcessMatch( TQString *match ) const
void KURLCompletion::adjustMatch( TQString& match ) const
{
- if ( match.at( match.length()-1 ) != '/' )
+ if ( match.tqat( match.length()-1 ) != '/' )
{
TQString copy;