summaryrefslogtreecommitdiffstats
path: root/src/svnqt/contextdata.hpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
commitd7633c195a464e4d344ada9eea61afd10110598a (patch)
tree1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnqt/contextdata.hpp
parent3fa7eb804f67b2789f128075cc2522f398640250 (diff)
downloadtdesvn-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/svnqt/contextdata.hpp')
-rw-r--r--src/svnqt/contextdata.hpp28
1 files changed, 14 insertions, 14 deletions
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 <svn_auth.h>
#endif
-#include <qstring.h>
+#include <tqstring.h>
struct svn_wc_conflict_result_t;
struct svn_wc_conflict_description_t;
@@ -41,14 +41,14 @@ namespace svn {
@author Rajko Albrecht <ral@alwins-world.de>
*/
-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;
};