summaryrefslogtreecommitdiffstats
path: root/src/svnqt/context.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/context.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/context.hpp')
-rw-r--r--src/svnqt/context.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/svnqt/context.hpp b/src/svnqt/context.hpp
index b45cb1c..04193d3 100644
--- a/src/svnqt/context.hpp
+++ b/src/svnqt/context.hpp
@@ -34,7 +34,7 @@
#include "svnqt/svnqt_defines.hpp"
// qt
-#include <qstring.h>
+#include <tqstring.h>
// Subversion api
#include "svn_client.h"
@@ -55,7 +55,7 @@ namespace svn
* and replace the old notification and baton
* stuff
*/
- class SVNQT_EXPORT Context:public ref_count
+ class SVNTQT_EXPORT Context:public ref_count
{
public:
/**
@@ -65,7 +65,7 @@ namespace svn
* subversion api stores its
* configuration
*/
- Context (const QString & configDir=QString::null);
+ Context (const TQString & configDir=TQString());
/**
* copy constructor
@@ -89,7 +89,7 @@ namespace svn
/**
* set username/password for authentication
*/
- void setLogin (const QString& username, const QString& password);
+ void setLogin (const TQString& username, const TQString& password);
/**
* operator to get svn_client_ctx object
@@ -112,14 +112,14 @@ namespace svn
*
* @param msg
*/
- void setLogMessage (const QString& msg);
+ void setLogMessage (const TQString& msg);
/**
* get log message
*
* @return log message
*/
- const QString&
+ const TQString&
getLogMessage () const;
/**
@@ -127,7 +127,7 @@ namespace svn
*
* @return username
*/
- const QString&
+ const TQString&
getUsername () const;
/**
@@ -135,7 +135,7 @@ namespace svn
*
* @return password
*/
- const QString&
+ const TQString&
getPassword () const;
/**