From d7633c195a464e4d344ada9eea61afd10110598a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 4 May 2011 19:54:24 +0000 Subject: 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 --- src/svnqt/contextdata.hpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/svnqt/contextdata.hpp') diff --git a/src/svnqt/contextdata.hpp b/src/svnqt/contextdata.hpp index 7c03f0a..e38c6f2 100644 --- a/src/svnqt/contextdata.hpp +++ b/src/svnqt/contextdata.hpp @@ -29,7 +29,7 @@ #if (SVN_VER_MAJOR >= 1) && (SVN_VER_MINOR >= 4) #include #endif -#include +#include struct svn_wc_conflict_result_t; struct svn_wc_conflict_description_t; @@ -41,14 +41,14 @@ namespace svn { @author Rajko Albrecht */ -class SVNQT_NOEXPORT ContextData{ +class SVNTQT_NOEXPORT ContextData{ public: - ContextData(const QString & configDir_); + ContextData(const TQString & configDir_); ~ContextData(); // data methods svn_client_ctx_t*ctx(); - const QString&configDir()const; + const TQString&configDir()const; void setListener (ContextListener * listener); ContextListener * getListener () const; void reset(); @@ -56,10 +56,10 @@ public: // svn methods void setAuthCache(bool value); /** @see Context::setLogin */ - void setLogin (const QString& usr, const QString& pwd); + void setLogin (const TQString& usr, const TQString& pwd); /** @see Context::setLogMessage */ - void setLogMessage (const QString& msg); - const QString&getLogMessage ()const; + void setLogMessage (const TQString& msg); + const TQString&getLogMessage ()const; /** * if the @a listener is set, use it to retrieve the log * message using ContextListener::contextGetLogMessage. @@ -72,7 +72,7 @@ public: * @param msg log message * @retval false cancel */ - bool retrieveLogMessage (QString & msg,const CommitItemList&); + bool retrieveLogMessage (TQString & msg,const CommitItemList&); /** * if the @a listener is set call the method @@ -91,8 +91,8 @@ public: * @a contextCancel */ bool cancel(); - const QString& getUsername () const; - const QString& getPassword () const; + const TQString& getUsername () const; + const TQString& getPassword () const; /** * if the @a listener is set and no password has been @@ -326,10 +326,10 @@ protected: int m_promptCounter; Pool pool; svn_client_ctx_t*m_ctx; - QString username; - QString password; - QString logMessage; - QString m_ConfigDir; + TQString username; + TQString password; + TQString logMessage; + TQString m_ConfigDir; }; -- cgit v1.2.1