diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
commit | d7633c195a464e4d344ada9eea61afd10110598a (patch) | |
tree | 1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/helpers/sshagent.h | |
parent | 3fa7eb804f67b2789f128075cc2522f398640250 (diff) | |
download | tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip |
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/helpers/sshagent.h')
-rw-r--r-- | src/helpers/sshagent.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/helpers/sshagent.h b/src/helpers/sshagent.h index f5738fb..ed9ff1a 100644 --- a/src/helpers/sshagent.h +++ b/src/helpers/sshagent.h @@ -21,19 +21,20 @@ #ifndef SSHAGENT_H #define SSHAGENT_H -#include <qobject.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqstringlist.h> class KProcess; -class SshAgent : public QObject +class SshAgent : public TQObject { Q_OBJECT + TQ_OBJECT public: - SshAgent(QObject* parent = 0, const char* name = 0); + SshAgent(TQObject* tqparent = 0, const char* name = 0); ~SshAgent(); bool querySshAgent(); @@ -41,8 +42,8 @@ public: void killSshAgent(); bool isRunning() const { return m_isRunning; } - QString pid() const { return m_pid; } - QString authSock() const { return m_authSock; } + TQString pid() const { return m_pid; } + TQString authSock() const { return m_authSock; } private slots: void slotProcessExited(KProcess*); @@ -52,13 +53,13 @@ private slots: private: bool startSshAgent(); - QString m_Output; + TQString m_Output; static bool m_isRunning; static bool m_isOurAgent; static bool m_addIdentitiesDone; - static QString m_authSock; - static QString m_pid; + static TQString m_authSock; + static TQString m_pid; }; |