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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kio/kio/kurlcompletion.cpp b/kio/kio/kurlcompletion.cpp
index 339f6c351..85429a6db 100644
--- a/kio/kio/kurlcompletion.cpp
+++ b/kio/kio/kurlcompletion.cpp
@@ -738,7 +738,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 ) ) {
@@ -770,7 +770,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 ) ) {
@@ -849,7 +849,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
//
@@ -923,7 +923,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
//
@@ -1293,7 +1293,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;