diff options
Diffstat (limited to 'kio/kio/ksambashare.cpp')
-rw-r--r-- | kio/kio/ksambashare.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kio/kio/ksambashare.cpp b/kio/kio/ksambashare.cpp index defeae4a7..7fba51ae2 100644 --- a/kio/kio/ksambashare.cpp +++ b/kio/kio/ksambashare.cpp @@ -33,7 +33,7 @@ public: KSambaSharePrivate(); bool readSmbConf(); - bool findSmbConf(); + bool tqfindSmbConf(); bool load(); TQDict<bool> sharedPaths; @@ -49,20 +49,20 @@ KSambaSharePrivate::KSambaSharePrivate() #define FILESHARECONF "/etc/security/fileshare.conf" bool KSambaSharePrivate::load() { - if (!findSmbConf()) + if (!tqfindSmbConf()) return false; return readSmbConf(); } /** - * Try to find the samba config file path + * Try to tqfind the samba config file path * First tries the kconfig, then checks * several well-known paths * @return wether a smb.conf was found. **/ -bool KSambaSharePrivate::findSmbConf() { - KSimpleConfig config(TQString::fromLatin1(FILESHARECONF),true); +bool KSambaSharePrivate::tqfindSmbConf() { + 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 { |