diff options
Diffstat (limited to 'kdesu/ssh.h')
-rw-r--r-- | kdesu/ssh.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kdesu/ssh.h b/kdesu/ssh.h index 23308fd64..66ee0fccc 100644 --- a/kdesu/ssh.h +++ b/kdesu/ssh.h @@ -13,7 +13,7 @@ #ifndef __SSH_h_Included__ #define __SSH_h_Included__ -#include <qcstring.h> +#include <tqcstring.h> #include "stub.h" @@ -26,7 +26,7 @@ class KDESU_EXPORT SshProcess: public StubProcess { public: - SshProcess(const QCString &host=0, const QCString &user=0, const QCString &command=0); + SshProcess(const TQCString &host=0, const TQCString &user=0, const TQCString &command=0); ~SshProcess(); enum Errors { SshNotFound=1, SshNeedsPassword, SshIncorrectPassword }; @@ -34,12 +34,12 @@ public: /** * Sets the target host. */ - void setHost(const QCString &host) { m_Host = host; } + void setHost(const TQCString &host) { m_Host = host; } /** * Sets the localtion of the remote stub. */ - void setStub(const QCString &stub); + void setStub(const TQCString &stub); /** * Checks if the current user\@host needs a password. @@ -61,24 +61,24 @@ public: */ int exec(const char *password, int check=0); - QCString prompt() { return m_Prompt; } - QCString error() { return m_Error; } + TQCString prompt() { return m_Prompt; } + TQCString error() { return m_Error; } protected: - virtual QCString display(); - virtual QCString displayAuth(); - virtual QCString dcopServer(); + virtual TQCString display(); + virtual TQCString displayAuth(); + virtual TQCString dcopServer(); private: - QCString dcopForward(); + TQCString dcopForward(); int ConverseSsh(const char *password, int check); int m_dcopPort; int m_dcopSrv; - QCString m_Prompt; - QCString m_Host; - QCString m_Error; - QCString m_Stub; + TQCString m_Prompt; + TQCString m_Host; + TQCString m_Error; + TQCString m_Stub; protected: virtual void virtual_hook( int id, void* data ); |