diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdesu/ssh.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ); |