diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
commit | d7633c195a464e4d344ada9eea61afd10110598a (patch) | |
tree | 1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnfrontend/itemdisplay.cpp | |
parent | 3fa7eb804f67b2789f128075cc2522f398640250 (diff) | |
download | tdesvn-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/svnfrontend/itemdisplay.cpp')
-rw-r--r-- | src/svnfrontend/itemdisplay.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/svnfrontend/itemdisplay.cpp b/src/svnfrontend/itemdisplay.cpp index 6a675ed..d037e80 100644 --- a/src/svnfrontend/itemdisplay.cpp +++ b/src/svnfrontend/itemdisplay.cpp @@ -34,7 +34,7 @@ bool ItemDisplay::isWorkingCopy()const return m_isWorkingCopy; } -const QString&ItemDisplay::baseUri()const +const TQString&ItemDisplay::baseUri()const { return m_baseUri; } @@ -57,7 +57,7 @@ void ItemDisplay::setNetworked(bool how) m_isNetworked=how; } -void ItemDisplay::setBaseUri(const QString&uri) +void ItemDisplay::setBaseUri(const TQString&uri) { m_baseUri = uri; /* otherwise subversion lib asserts! */ @@ -66,7 +66,7 @@ void ItemDisplay::setBaseUri(const QString&uri) } } -const QString&ItemDisplay::lastError()const +const TQString&ItemDisplay::lastError()const { return m_LastException; } @@ -82,13 +82,13 @@ bool ItemDisplay::filterOut(const SvnItem*item) /*! - \fn ItemDisplay::filterOut(const svn::Status&) + \fn ItemDisplay::filterOut(const svn::tqStatus&) */ bool ItemDisplay::filterOut(const svn::StatusPtr&item) { bool res = false; - if (!item->validReposStatus()) { + if (!item->validRepostqStatus()) { if ((!Kdesvnsettings::display_unknown_files() && !item->isVersioned()) || (Kdesvnsettings::hide_unchanged_files() && item->isRealVersioned() && !item->isModified() && !item->entry().isDir())) { res = true; @@ -101,12 +101,12 @@ bool ItemDisplay::filterOut(const svn::StatusPtr&item) /*! \fn ItemDisplay::relativePath(const SvnItem*item) */ -QString ItemDisplay::relativePath(const SvnItem*item) +TQString ItemDisplay::relativePath(const SvnItem*item) { if (!isWorkingCopy()||!item->fullName().startsWith(baseUri())) { return item->fullName(); } - QString name = item->fullName(); + TQString name = item->fullName(); if (name==baseUri()) { name = "."; } else { |