summaryrefslogtreecommitdiffstats
path: root/kio/kio/ksambashare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kio/ksambashare.cpp')
-rw-r--r--kio/kio/ksambashare.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kio/kio/ksambashare.cpp b/kio/kio/ksambashare.cpp
index defeae4a7..3eea9e145 100644
--- a/kio/kio/ksambashare.cpp
+++ b/kio/kio/ksambashare.cpp
@@ -62,7 +62,7 @@ bool KSambaSharePrivate::load() {
* @return wether a smb.conf was found.
**/
bool KSambaSharePrivate::findSmbConf() {
- KSimpleConfig config(TQString::fromLatin1(FILESHARECONF),true);
+ KSimpleConfig config(TQString::tqfromLatin1(FILESHARECONF),true);
smbConf = config.readEntry("SMBCONF");
if ( TQFile::exists(smbConf) )
@@ -144,7 +144,7 @@ bool KSambaSharePrivate::readSmbConf() {
}
// parameter
- int i = completeLine.find('=');
+ int i = completeLine.tqfind('=');
if (i>-1)
{
@@ -203,7 +203,7 @@ bool KSambaShare::isDirectoryShared( const TQString & path ) const {
if ( path[path.length()-1] != '/' )
fixedPath += '/';
- return d->sharedPaths.find(fixedPath) != 0;
+ return d->sharedPaths.tqfind(fixedPath) != 0;
}
TQStringList KSambaShare::sharedDirectories() const {