summaryrefslogtreecommitdiffstats
path: root/kdesu/ssh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdesu/ssh.cpp')
-rw-r--r--kdesu/ssh.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdesu/ssh.cpp b/kdesu/ssh.cpp
index a325fb62e..d39634ac5 100644
--- a/kdesu/ssh.cpp
+++ b/kdesu/ssh.cpp
@@ -28,8 +28,8 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <qglobal.h>
-#include <qcstring.h>
+#include <tqglobal.h>
+#include <tqcstring.h>
#include <kdebug.h>
#include <klocale.h>
@@ -39,7 +39,7 @@
#include "kcookie.h"
-SshProcess::SshProcess(const QCString &host, const QCString &user, const QCString &command)
+SshProcess::SshProcess(const TQCString &host, const TQCString &user, const TQCString &command)
{
m_Host = host;
m_User = user;
@@ -54,7 +54,7 @@ SshProcess::~SshProcess()
}
-void SshProcess::setStub(const QCString &stub)
+void SshProcess::setStub(const TQCString &stub)
{
m_Stub = stub;
}
@@ -146,13 +146,13 @@ int SshProcess::exec(const char *password, int check)
* 14/SEP/2000: DCOP forwarding is not used anymore.
*/
-QCString SshProcess::dcopForward()
+TQCString SshProcess::dcopForward()
{
- QCString result;
+ TQCString result;
setDcopTransport("tcp");
- QCString srv = StubProcess::dcopServer();
+ TQCString srv = StubProcess::dcopServer();
if (srv.isEmpty())
return result;
@@ -164,7 +164,7 @@ QCString SshProcess::dcopForward()
int j = srv.find(':', ++i);
if (j == -1)
return result;
- QCString host = srv.mid(i, j-i);
+ TQCString host = srv.mid(i, j-i);
bool ok;
int port = srv.mid(++j).toInt(&ok);
if (!ok)
@@ -193,7 +193,7 @@ int SshProcess::ConverseSsh(const char *password, int check)
{
unsigned i, j, colon;
- QCString line;
+ TQCString line;
int state = 0;
while (state < 2)
@@ -257,22 +257,22 @@ int SshProcess::ConverseSsh(const char *password, int check)
// Display redirection is handled by ssh natively.
-QCString SshProcess::display()
+TQCString SshProcess::display()
{
return "no";
}
-QCString SshProcess::displayAuth()
+TQCString SshProcess::displayAuth()
{
return "no";
}
// Return the remote end of the forwarded connection.
-QCString SshProcess::dcopServer()
+TQCString SshProcess::dcopServer()
{
- return QCString().sprintf("tcp/localhost:%d", m_dcopPort);
+ return TQCString().sprintf("tcp/localhost:%d", m_dcopPort);
}
void SshProcess::virtual_hook( int id, void* data )