diff options
Diffstat (limited to 'src/svnqt/client_status.cpp')
-rw-r--r-- | src/svnqt/client_status.cpp | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/svnqt/client_status.cpp b/src/svnqt/client_status.cpp index 17f51e6..c004b0f 100644 --- a/src/svnqt/client_status.cpp +++ b/src/svnqt/client_status.cpp @@ -66,8 +66,8 @@ namespace svn Client_impl::sBaton * l_baton = (Client_impl::sBaton*)baton; LogEntries * entries = (LogEntries *) l_baton->m_data; - QLIST<QLONG>*rstack= - (QLIST<QLONG>*)l_baton->m_revstack; + TQLIST<TQLONG>*rstack= + (TQLIST<TQLONG>*)l_baton->m_revstack; Context*l_context = l_baton->m_context; svn_client_ctx_t*ctx = l_context->ctx(); if (ctx&&ctx->cancel_func) { @@ -152,8 +152,8 @@ namespace svn LogEntriesMap * entries = (LogEntriesMap *) l_baton->m_data; Context*l_context = l_baton->m_context; - QLIST<QLONG>*rstack= - (QLIST<QLONG>*)l_baton->m_revstack; + TQLIST<TQLONG>*rstack= + (TQLIST<TQLONG>*)l_baton->m_revstack; svn_client_ctx_t*ctx = l_context->ctx(); if (ctx&&ctx->cancel_func) { SVN_ERR(ctx->cancel_func(ctx->cancel_baton)); @@ -269,7 +269,7 @@ namespace svn } static StatusEntries - localStatus (const Path& path, + localtqStatus (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 Status(filePath, status))); + entries.push_back (StatusPtr(new tqStatus(filePath, status))); } return entries; } static StatusPtr - dirEntryToStatus (const Path& path, DirEntryPtr dirEntry) + dirEntryTotqStatus (const Path& path, DirEntryPtr dirEntry) { - QString url = path.path(); - url += QString::FROMUTF8("/"); + TQString url = path.path(); + url += TQString::FROMUTF8("/"); url += dirEntry->name(); - return StatusPtr(new Status (url, dirEntry)); + return StatusPtr(new tqStatus (url, dirEntry)); } static StatusPtr - infoEntryToStatus(const Path&,const InfoEntry&infoEntry) + infoEntryTotqStatus(const Path&,const InfoEntry&infoEntry) { - return StatusPtr(new Status(infoEntry.url(),infoEntry)); + return StatusPtr(new tqStatus(infoEntry.url(),infoEntry)); } static StatusEntries - remoteStatus (Client * client, + remotetqStatus (Client * client, const Path& path, Depth depth, const bool , @@ -377,15 +377,15 @@ namespace svn DirEntries::const_iterator it; StatusEntries entries; - QString url = path.path(); - url+=QString::FROMUTF8("/"); + TQString url = path.path(); + url+=TQString::FROMUTF8("/"); for (it = dirEntries.begin (); it != dirEntries.end (); it++) { DirEntryPtr dirEntry = *it; if (dirEntry->name().isEmpty()) continue; - entries.push_back(dirEntryToStatus (path, dirEntry)); + entries.push_back(dirEntryTotqStatus (path, dirEntry)); } return entries; } @@ -402,16 +402,16 @@ namespace svn const StringArray & changelists) throw (ClientException) { if (Url::isValid (path.path())) { - return remoteStatus (this, path, depth, get_all, update, + return remotetqStatus (this, path, depth, get_all, update, no_ignore,revision,m_context,detailed_remote); } else { - return localStatus (path, depth, get_all, update, + return localtqStatus (path, depth, get_all, update, no_ignore, hide_externals,changelists, m_context); } } static StatusPtr - localSingleStatus (const Path& path, Context * context,bool update=false) + localSingletqStatus (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 Status (filePath, status)); + return StatusPtr(new tqStatus (filePath, status)); }; static StatusPtr - remoteSingleStatus (Client * client, const Path& path,const Revision revision, Context * ) + remoteSingletqStatus (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 Status()); + return StatusPtr(new tqStatus()); else - return infoEntryToStatus (path, infoEntries [0]); + return infoEntryTotqStatus (path, infoEntries [0]); } StatusPtr - Client_impl::singleStatus (const Path& path,bool update,const Revision revision) throw (ClientException) + Client_impl::singletqStatus (const Path& path,bool update,const Revision revision) throw (ClientException) { if (Url::isValid (path.path())) - return remoteSingleStatus (this, path,revision, m_context); + return remoteSingletqStatus (this, path,revision, m_context); else - return localSingleStatus (path, m_context,update); + return localSingletqStatus (path, m_context,update); } bool @@ -506,7 +506,7 @@ namespace svn Targets target(path); Pool pool; sBaton l_baton; - QLIST<QLONG> revstack; + TQLIST<TQLONG> revstack; l_baton.m_context=m_context; l_baton.m_data = &log_target; l_baton.m_revstack = &revstack; @@ -579,7 +579,7 @@ namespace svn Targets target(path); Pool pool; LogEntriesPtr entries = LogEntriesPtr(new LogEntries ()); - QLIST<QLONG> revstack; + TQLIST<TQLONG> revstack; sBaton l_baton; l_baton.m_context=m_context; l_baton.m_data = entries; @@ -664,7 +664,7 @@ namespace svn svn_opt_revision_t pegr; const char *truepath = 0; bool internal_peg = false; - QByteArray _buf = _p.cstr(); + TQByteArray _buf = _p.cstr(); error = svn_opt_parse_path(&pegr, &truepath, _buf, |