diff options
Diffstat (limited to 'quanta/project/projectlist.cpp')
-rw-r--r-- | quanta/project/projectlist.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/quanta/project/projectlist.cpp b/quanta/project/projectlist.cpp index fabec2fd..db162ce2 100644 --- a/quanta/project/projectlist.cpp +++ b/quanta/project/projectlist.cpp @@ -69,19 +69,19 @@ bool ProjectList::readFromXML(TQDomDocument &dom, const KURL &baseURL, } } path = url.path(); - url = QExtFileInfo::toAbsolute(url, baseURL); + url = TQExtFileInfo::toAbsolute(url, baseURL); if ( el.nodeName() == "item" ) { - if (excludeRx.exactMatch(path) || find(url.url(-1))) + if (excludeRx.exactMatch(path) || tqfind(url.url(-1))) { - el.parentNode().removeChild(el); + el.tqparentNode().removeChild(el); modified = true; i--; } else { bool docFolder = (el.attribute("documentFolder", "false") == "true"); - int uploadStatus = el.attribute("uploadstatus", "-1").toInt(); - if (uploadStatus == -1) + int uploadtqStatus = el.attribute("uploadstatus", "-1").toInt(); + if (uploadtqStatus == -1) el.setAttribute("uploadstatus", 1); //remove non-existent local files if ( url.isLocalFile() ) @@ -89,7 +89,7 @@ bool ProjectList::readFromXML(TQDomDocument &dom, const KURL &baseURL, TQFileInfo fi( url.path() ); if ( !fi.exists() ) { - el.parentNode().removeChild( el ); + el.tqparentNode().removeChild( el ); modified = true; i--; } else @@ -106,7 +106,7 @@ bool ProjectList::readFromXML(TQDomDocument &dom, const KURL &baseURL, } progressBar->advance(1); } - ProjectURL *proUrl = find(baseURL); + ProjectURL *proUrl = tqfind(baseURL); if (!proUrl) { el = dom.createElement("item"); @@ -126,10 +126,10 @@ bool ProjectList::readFromXML(TQDomDocument &dom, const KURL &baseURL, bool ProjectList::removeFromListAndXML(const KURL &url) { - ProjectURL *p = find(url); + ProjectURL *p = tqfind(url); if (p) { TQDomElement el = p->domElement; - el.parentNode().removeChild(el); + el.tqparentNode().removeChild(el); remove(url.url(-1)); return true; } @@ -137,15 +137,15 @@ bool ProjectList::removeFromListAndXML(const KURL &url) } -bool ProjectList::contains(const KURL &url) const +bool ProjectList::tqcontains(const KURL &url) const { - return ProjectUrlList::find(url.url(-1)); + return ProjectUrlList::tqfind(url.url(-1)); } -ProjectURL * ProjectList::find(const KURL &url) const +ProjectURL * ProjectList::tqfind(const KURL &url) const { - return ProjectUrlList::find(url.url(-1)); + return ProjectUrlList::tqfind(url.url(-1)); } @@ -157,7 +157,7 @@ void ProjectList::insert(ProjectURL *url) bool ProjectList::isFolder(const KURL &url) const { - ProjectURL *p = find(url); + ProjectURL *p = tqfind(url); return ( p && url.url(-1) != (*p).url() ); } @@ -168,9 +168,9 @@ void ProjectList::insert(const TQString & key, const ProjectURL * item) } -ProjectURL * ProjectList::find ( const TQString & key ) const +ProjectURL * ProjectList::tqfind ( const TQString & key ) const { - return ProjectUrlList::find(key); + return ProjectUrlList::tqfind(key); } @@ -180,8 +180,8 @@ bool ProjectList::remove ( const TQString & key ) } -void ProjectList::replace(const TQString & key, const ProjectURL * item) +void ProjectList::tqreplace(const TQString & key, const ProjectURL * item) { - ProjectUrlList::replace(key, item); + ProjectUrlList::tqreplace(key, item); } |