summaryrefslogtreecommitdiffstats
path: root/src/svnqt/repository.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/repository.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/repository.hpp')
-rw-r--r--src/svnqt/repository.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/svnqt/repository.hpp b/src/svnqt/repository.hpp
index e4ea5eb..ff8e730 100644
--- a/src/svnqt/repository.hpp
+++ b/src/svnqt/repository.hpp
@@ -29,7 +29,7 @@
#include "svnqt/revision.hpp"
#include "svnqt/svnqt_defines.hpp"
-#include <qstring.h>
+#include <tqstring.h>
namespace svn {
@@ -42,7 +42,7 @@ class RepositoryListener;
/*!
\author Rajko Albrecht <ral@alwins-world.de>
*/
-class SVNQT_EXPORT Repository{
+class SVNTQT_EXPORT Repository{
public:
enum LOAD_UUID {
UUID_DEFAULT_ACTION = 0,
@@ -63,7 +63,7 @@ public:
\param path Path to a local repository, must not be an url
\exception ClientException will be thrown in case of an error
*/
- void Open(const QString&path) throw (ClientException);
+ void Open(const TQString&path) throw (ClientException);
//! Creates and open a new repository
/*!
* Creates a new repository in path with type fstype. If create succeeded open and assigns with the object.
@@ -74,7 +74,7 @@ public:
* \param _bdbautologremove enable automatic log file removal [Berkeley DB]
* \param _pre_1_4_compat Create repository compatibel to version earlier than 1.4 (only used with subversion 1.4)
*/
- void CreateOpen(const QString&path, const QString&fstype, bool _bdbnosync = false,
+ void CreateOpen(const TQString&path, const TQString&fstype, bool _bdbnosync = false,
bool _bdbautologremove = true, bool _pre_1_4_compat=false, bool _pre_1_5_compat=false) throw (ClientException);
//! dump content of repository to a file
/*!
@@ -87,18 +87,18 @@ public:
\param use_deltas use deltas in dump output
\exception ClientException will be thrown in case of an error
*/
- void dump(const QString&output,const svn::Revision&start,const svn::Revision&end, bool incremental, bool use_deltas)throw (ClientException);
+ void dump(const TQString&output,const svn::Revision&start,const svn::Revision&end, bool incremental, bool use_deltas)throw (ClientException);
//! load a dump into repository
/*!
The repository must opened before. Progress message go trough the assigned svn::repository::RepositoryListener object.
\param dump Dumpfile to load
\param uuida what to do with UUIDs
- \param parentFolder put content of dumpstream within folder in repository, if empty put into root-folder.
+ \param tqparentFolder put content of dumpstream within folder in repository, if empty put into root-folder.
\param usePre use pre-commit-hook
\param usePost use post-commit-hook
\exception ClientException will be thrown in case of an error
*/
- void loaddump(const QString&dump,LOAD_UUID uuida, const QString&parentFolder, bool usePre, bool usePost)throw (ClientException);
+ void loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&tqparentFolder, bool usePre, bool usePost)throw (ClientException);
//! copy a repository to a new location
/*!
\param src the repository path to copy
@@ -106,7 +106,7 @@ public:
\param cleanlogs remove redundand log files from source
\exception ClientException will be thrown in case of an error
*/
- static void hotcopy(const QString&src,const QString&dest,bool cleanlogs)throw (ClientException);
+ static void hotcopy(const TQString&src,const TQString&dest,bool cleanlogs)throw (ClientException);
private:
RepositoryData*m_Data;