summaryrefslogtreecommitdiffstats
path: root/cervisia/cvsservice/repository.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /cervisia/cvsservice/repository.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/cvsservice/repository.cpp')
-rw-r--r--cervisia/cvsservice/repository.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/cvsservice/repository.cpp b/cervisia/cvsservice/repository.cpp
index d5f06ef4..2ac4c241 100644
--- a/cervisia/cvsservice/repository.cpp
+++ b/cervisia/cvsservice/repository.cpp
@@ -144,7 +144,7 @@ bool Repository::setWorkingCopy(const TQString& dirName)
return false;
d->workingCopy = path;
- d->location = TQString::null;
+ d->location = TQString();
// determine path to the repository
TQFile rootFile(path + "/CVS/Root");
@@ -157,7 +157,7 @@ bool Repository::setWorkingCopy(const TQString& dirName)
// add identities (ssh-add) to ssh-agent
// TODO CL make sure this is called only once
- if( d->location.contains(":ext:", false) > 0 )
+ if( d->location.tqcontains(":ext:", false) > 0 )
{
SshAgent ssh;
ssh.addSshIdentities();
@@ -223,11 +223,11 @@ void Repository::Private::readConfig()
//
// In order to be able to read this group, we then have to manually add
// the port number to it.
- TQString repositoryGroup = TQString::fromLatin1("Repository-") + location;
+ TQString repositoryGroup = TQString::tqfromLatin1("Repository-") + location;
if( !config->hasGroup(repositoryGroup) )
{
// find the position of the first path separator
- const int insertPos = repositoryGroup.find('/');
+ const int insertPos = repositoryGroup.tqfind('/');
if( insertPos > 0 )
{
// add port to location