diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/smb/kio_smb_auth.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/smb/kio_smb_auth.cpp')
-rw-r--r-- | kioslave/smb/kio_smb_auth.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kioslave/smb/kio_smb_auth.cpp b/kioslave/smb/kio_smb_auth.cpp index 60d9ac285..d216e1e5b 100644 --- a/kioslave/smb/kio_smb_auth.cpp +++ b/kioslave/smb/kio_smb_auth.cpp @@ -33,7 +33,7 @@ #include "kio_smb_internal.h" #include <ksimpleconfig.h> -#include <qdir.h> +#include <tqdir.h> #include <stdlib.h> // call for libsmbclient @@ -67,14 +67,14 @@ void SMBSlave::auth_smbc_get_data(const char *server,const char *share, kdDebug(KIO_SMB) << "AAAAAAAAAAAAAA auth_smbc_get_dat: set user=" << username << ", workgroup=" << workgroup << " server=" << server << ", share=" << share << endl; - QString s_server = QString::fromUtf8(server); - QString s_share = QString::fromUtf8(share); + TQString s_server = TQString::fromUtf8(server); + TQString s_share = TQString::fromUtf8(share); workgroup[wgmaxlen - 1] = 0; - QString s_workgroup = QString::fromUtf8(workgroup); + TQString s_workgroup = TQString::fromUtf8(workgroup); username[unmaxlen - 1] = 0; - QString s_username = QString::fromUtf8(username); + TQString s_username = TQString::fromUtf8(username); password[pwmaxlen - 1] = 0; - QString s_password = QString::fromUtf8(password); + TQString s_password = TQString::fromUtf8(password); KIO::AuthInfo info; info.url = KURL("smb:///"); @@ -93,7 +93,7 @@ void SMBSlave::auth_smbc_get_data(const char *server,const char *share, { // ok, we do not know the password. Let's try anonymous before we try for real info.username = "anonymous"; - info.password = QString::null; + info.password = TQString::null; } else { @@ -117,7 +117,7 @@ bool SMBSlave::checkPassword(SMBUrl &url) info.url = KURL("smb:///"); info.url.setHost(url.host()); - QString share = url.path(); + TQString share = url.path(); int index = share.find('/', 1); if (index > 1) share = share.left(index); |