diff options
Diffstat (limited to 'src/svnqt/context_listener.hpp')
-rw-r--r-- | src/svnqt/context_listener.hpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/svnqt/context_listener.hpp b/src/svnqt/context_listener.hpp index 8383724..1c2ab2e 100644 --- a/src/svnqt/context_listener.hpp +++ b/src/svnqt/context_listener.hpp @@ -36,7 +36,7 @@ #include "svnqt/commititem.hpp" #include "svnqt/svnqt_defines.hpp" // qt -#include <qstring.h> +#include <tqstring.h> // Subversion api #include <svn_client.h> @@ -51,7 +51,7 @@ namespace svn * To use this you will have to inherit from this * interface and overwrite the virtual methods. */ - class SVNQT_EXPORT ContextListener + class SVNTQT_EXPORT ContextListener { public: /** @@ -71,9 +71,9 @@ namespace svn * @retval true continue */ virtual bool - contextGetLogin (const QString & realm, - QString & username, - QString & password, + contextGetLogin (const TQString & realm, + TQString & username, + TQString & password, bool & maySave) = 0; /** * this method will be called to retrieve @@ -87,9 +87,9 @@ namespace svn * @retval true continue */ virtual bool - contextGetSavedLogin(const QString & realm, - QString & username, - QString & password) = 0; + contextGetSavedLogin(const TQString & realm, + TQString & username, + TQString & password) = 0; /** * this method will be called to retrieve * authentication information stored not persistent. This @@ -102,9 +102,9 @@ namespace svn * @retval true continue */ virtual bool - contextGetCachedLogin(const QString & realm, - QString & username, - QString & password) = 0; + contextGetCachedLogin(const TQString & realm, + TQString & username, + TQString & password) = 0; /** * this method will be called to notify about @@ -157,7 +157,7 @@ namespace svn * @retval true continue */ virtual bool - contextGetLogMessage (QString & msg,const CommitItemList&) = 0; + contextGetLogMessage (TQString & msg,const CommitItemList&) = 0; typedef enum { @@ -178,12 +178,12 @@ namespace svn const apr_uint32_t failures; /** certificate information */ - QString hostname; - QString fingerprint; - QString validFrom; - QString validUntil; - QString issuerDName; - QString realm; + TQString hostname; + TQString fingerprint; + TQString validFrom; + TQString validUntil; + TQString issuerDName; + TQString realm; bool maySave; SslServerTrustData (const apr_uint32_t failures_) @@ -212,7 +212,7 @@ namespace svn * information */ virtual bool - contextSslClientCertPrompt (QString & certFile) = 0; + contextSslClientCertPrompt (TQString & certFile) = 0; /** * this method is called to retrieve the password @@ -223,8 +223,8 @@ namespace svn * @param maySave */ virtual bool - contextSslClientCertPwPrompt (QString & password, - const QString & realm, + contextSslClientCertPwPrompt (TQString & password, + const TQString & realm, bool & maySave) = 0; /** * this method is called to retrieve the password @@ -234,7 +234,7 @@ namespace svn * @param realm */ virtual bool - contextLoadSslClientCertPw(QString&password,const QString&realm)=0; + contextLoadSslClientCertPw(TQString&password,const TQString&realm)=0; virtual void contextProgress(long long int current, long long int max) = 0; @@ -246,7 +246,7 @@ namespace svn * @param what text to translate * @return translated text or origin. */ - virtual QString translate(const QString&what){return what;} + virtual TQString translate(const TQString&what){return what;} /** Callback for svn_wc_conflict_resolver_func_t in subversion 1.5 * This method is only useful when build with subverion 1.5 or above. The default implementation sets |