summaryrefslogtreecommitdiffstats
path: root/kioslave/sftp/ksshprocesstest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/sftp/ksshprocesstest.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-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/sftp/ksshprocesstest.cpp')
-rw-r--r--kioslave/sftp/ksshprocesstest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kioslave/sftp/ksshprocesstest.cpp b/kioslave/sftp/ksshprocesstest.cpp
index 3a37be02c..59dbf58c7 100644
--- a/kioslave/sftp/ksshprocesstest.cpp
+++ b/kioslave/sftp/ksshprocesstest.cpp
@@ -22,15 +22,15 @@ int main(int argc, char *argv[]) {
opts.append(opt);
opt.opt = KSshProcess::SSH_HOST;
- opt.str = QString(argv[2]);
+ opt.str = TQString(argv[2]);
opts.append(opt);
opt.opt = KSshProcess::SSH_USERNAME;
- opt.str = QString(argv[3]);
+ opt.str = TQString(argv[3]);
opts.append(opt);
// opt.opt = KSshProcess::SSH_PASSWD;
-// opt.str = QString(argv[4]);
+// opt.str = TQString(argv[4]);
// opts.append(opt);
if( !ssh.setOptions(opts) ) {
@@ -53,7 +53,7 @@ int main(int argc, char *argv[]) {
cout << "Password: ";
cin >> buf;
cout << "password is " << buf << endl;
- ssh.setPassword(QString(buf));
+ ssh.setPassword(TQString(buf));
break;
case KSshProcess::ERR_NEW_HOST_KEY:
case KSshProcess::ERR_DIFF_HOST_KEY: