summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kpackage/kpPty.cpp4
-rw-r--r--kpackage/kpPty.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/kpackage/kpPty.cpp b/kpackage/kpPty.cpp
index e442130..7be446f 100644
--- a/kpackage/kpPty.cpp
+++ b/kpackage/kpPty.cpp
@@ -92,7 +92,7 @@ kpPty::kpPty() : TQObject()
loginSession = FALSE;
codec = TQTextCodec::codecForLocale();
- TQMap<TQString, TQCString> passwords;
+ TQMap<TQString, TQString> passwords;
}
@@ -189,7 +189,7 @@ bool kpPty::startSession(bool needRoot)
inSession = TRUE;
}
} else if (Result == PASSWORD) { // We got a password prompt
- TQCString pass;
+ TQString pass;
int res;
interact = TRUE;
// kdDebug() << "H=" << hostName << " PH=" << passwords[hostName] << " PT=" << passwordTried <<"\n";
diff --git a/kpackage/kpPty.h b/kpackage/kpPty.h
index 9d2d067..bb88a12 100644
--- a/kpackage/kpPty.h
+++ b/kpackage/kpPty.h
@@ -101,7 +101,7 @@ private:
// True if trying to login
bool loginSession;
TQTextCodec *codec;
- TQMap<TQString, TQCString> passwords;
+ TQMap<TQString, TQString> passwords;
};