diff options
Diffstat (limited to 'quanta/project/project.cpp')
-rw-r--r-- | quanta/project/project.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/quanta/project/project.cpp b/quanta/project/project.cpp index ebc16264..1ce01241 100644 --- a/quanta/project/project.cpp +++ b/quanta/project/project.cpp @@ -150,10 +150,10 @@ void Project::insertFile(const KURL& nameURL, bool tqrepaint ) d->dom.firstChild().firstChild().appendChild( el ); KURL u = url.upURL(); ProjectURL *parentURL = d->m_projectFiles.find(u); - int uploadtqStatus = 1; + int uploadStatus = 1; if (parentURL) - uploadtqStatus = parentURL->uploadtqStatus; - d->m_projectFiles.insert( new ProjectURL(url, "", uploadtqStatus, false, el) ); + uploadStatus = parentURL->uploadStatus; + d->m_projectFiles.insert( new ProjectURL(url, "", uploadStatus, false, el) ); } url.setPath(url.directory(false)); } @@ -162,7 +162,7 @@ void Project::insertFile(const KURL& nameURL, bool tqrepaint ) if ( tqrepaint ) { emit reloadTree( &(d->m_projectFiles), false, TQStringList()); - emit newtqStatus(); + emit newStatus(); } } @@ -384,7 +384,7 @@ void Project::slotRenamed(const KURL& oldURL, const KURL& newURL) setModified(); // there happens more than setting the flag ! emit reloadTree(&(d->m_projectFiles), false, TQStringList()); - emit newtqStatus(); + emit newStatus(); } @@ -422,7 +422,7 @@ void Project::slotRemove(const KURL& urlToRemove) if (d->m_modified) setModified(); // there happens more than setting the flag ! emit reloadTree( &(d->m_projectFiles), false, TQStringList() ); - emit newtqStatus(); + emit newStatus(); TQString urlPath = QExtFileInfo::toRelative(urlToRemove, d->baseURL).path(); TQString nice = urlPath; @@ -952,7 +952,7 @@ void Project::slotUploadStatusChanged(const KURL& url, int status) { if ( it.currentKey().startsWith(urlStr) || it.currentKey() + "/" == urlStr) { - it.current()->uploadtqStatus = status; + it.current()->uploadStatus = status; el = it.current()->domElement; el.setAttribute("uploadstatus", status); } @@ -960,7 +960,7 @@ void Project::slotUploadStatusChanged(const KURL& url, int status) setModified(); } -void Project::slotChangeDocumentFoldertqStatus(const KURL &url, bool status) +void Project::slotChangeDocumentFolderStatus(const KURL &url, bool status) { ProjectURL *proUrl = d->m_projectFiles.find(url); if (! proUrl) @@ -1280,7 +1280,7 @@ bool Project::queryClose() reloadTree( &(d->m_projectFiles), true, TQStringList()); d->adjustActions(); d->m_projectRecent->setCurrentItem(-1); - newtqStatus(); + newStatus(); // kapp->processEvents(TQEventLoop::ExcludeUserInput | TQEventLoop::ExcludeSocketNotifiers); } } |