diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:08 -0600 |
commit | bb7be2361770a435b3e2e8ae2ac4250bf9810bb4 (patch) | |
tree | 3dc3697661e497b5486191491da2ed4cc751b7fc /src/svnqt/client_status.cpp | |
parent | 40e169496670c40004f7386a23f7c03d9aeac3e0 (diff) | |
download | tdesvn-bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.tar.gz tdesvn-bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/svnqt/client_status.cpp')
-rw-r--r-- | src/svnqt/client_status.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/svnqt/client_status.cpp b/src/svnqt/client_status.cpp index 4468b0d..1c58610 100644 --- a/src/svnqt/client_status.cpp +++ b/src/svnqt/client_status.cpp @@ -269,7 +269,7 @@ namespace svn } static StatusEntries - localtqStatus (const Path& path, + localStatus (const Path& path, Depth depth, const bool get_all, const bool update, @@ -342,28 +342,28 @@ namespace svn status = (svn_wc_status2_t *) item->value; filePath = (const char *) item->key; - entries.push_back (StatusPtr(new tqStatus(filePath, status))); + entries.push_back (StatusPtr(new Status(filePath, status))); } return entries; } static StatusPtr - dirEntryTotqStatus (const Path& path, DirEntryPtr dirEntry) + dirEntryToStatus (const Path& path, DirEntryPtr dirEntry) { TQString url = path.path(); url += TQString::FROMUTF8("/"); url += dirEntry->name(); - return StatusPtr(new tqStatus (url, dirEntry)); + return StatusPtr(new Status (url, dirEntry)); } static StatusPtr - infoEntryTotqStatus(const Path&,const InfoEntry&infoEntry) + infoEntryToStatus(const Path&,const InfoEntry&infoEntry) { - return StatusPtr(new tqStatus(infoEntry.url(),infoEntry)); + return StatusPtr(new Status(infoEntry.url(),infoEntry)); } static StatusEntries - remotetqStatus (Client * client, + remoteStatus (Client * client, const Path& path, Depth depth, const bool , @@ -385,7 +385,7 @@ namespace svn DirEntryPtr dirEntry = *it; if (dirEntry->name().isEmpty()) continue; - entries.push_back(dirEntryTotqStatus (path, dirEntry)); + entries.push_back(dirEntryToStatus (path, dirEntry)); } return entries; } @@ -402,16 +402,16 @@ namespace svn const StringArray & changelists) throw (ClientException) { if (Url::isValid (path.path())) { - return remotetqStatus (this, path, depth, get_all, update, + return remoteStatus (this, path, depth, get_all, update, no_ignore,revision,m_context,detailed_remote); } else { - return localtqStatus (path, depth, get_all, update, + return localStatus (path, depth, get_all, update, no_ignore, hide_externals,changelists, m_context); } } static StatusPtr - localSingletqStatus (const Path& path, Context * context,bool update=false) + localSingleStatus (const Path& path, Context * context,bool update=false) { svn_error_t *error; apr_hash_t *status_hash; @@ -470,26 +470,26 @@ namespace svn status = (svn_wc_status2_t *) item->value; filePath = (const char *) item->key; - return StatusPtr(new tqStatus (filePath, status)); + return StatusPtr(new Status (filePath, status)); }; static StatusPtr - remoteSingletqStatus (Client * client, const Path& path,const Revision revision, Context * ) + remoteSingleStatus (Client * client, const Path& path,const Revision revision, Context * ) { InfoEntries infoEntries = client->info(path,DepthEmpty,revision,Revision(Revision::UNDEFINED)); if (infoEntries.size () == 0) - return StatusPtr(new tqStatus()); + return StatusPtr(new Status()); else - return infoEntryTotqStatus (path, infoEntries [0]); + return infoEntryToStatus (path, infoEntries [0]); } StatusPtr - Client_impl::singletqStatus (const Path& path,bool update,const Revision revision) throw (ClientException) + Client_impl::singleStatus (const Path& path,bool update,const Revision revision) throw (ClientException) { if (Url::isValid (path.path())) - return remoteSingletqStatus (this, path,revision, m_context); + return remoteSingleStatus (this, path,revision, m_context); else - return localSingletqStatus (path, m_context,update); + return localSingleStatus (path, m_context,update); } bool |