diff options
Diffstat (limited to 'quanta/src/viewmanager.cpp')
-rw-r--r-- | quanta/src/viewmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quanta/src/viewmanager.cpp b/quanta/src/viewmanager.cpp index b2c598c6..eb7ef971 100644 --- a/quanta/src/viewmanager.cpp +++ b/quanta/src/viewmanager.cpp @@ -295,7 +295,7 @@ void ViewManager::slotCloseOtherTabs() Document *w = qView->document(); if (w) { - if (filesToSave.tqcontains(w->url())) + if (filesToSave.contains(w->url())) if (!qView->saveModified(false)) { return; //save aborted @@ -463,7 +463,7 @@ bool ViewManager::closeAll(bool createNew) Document *w = view->document(); if (w) { - if (filesToSave.tqcontains(w->url())) + if (filesToSave.contains(w->url())) if (!view->saveModified(false)) { emit filesClosed(false); @@ -604,7 +604,7 @@ void ViewManager::slotTabContextMenu(TQWidget *widget, const TQPoint& point) m_separatorVisible = true; m_tabPopup->insertSeparator(SEPARATOR_INDEX); } - if (Project::ref()->hasProject() && Project::ref()->tqcontains(w->url())) + if (Project::ref()->hasProject() && Project::ref()->contains(w->url())) m_tabPopup->setItemVisible(UPLOAD_ID, true); else m_tabPopup->setItemVisible(UPLOAD_ID, false); @@ -647,7 +647,7 @@ void ViewManager::slotTabContextMenu(TQWidget *widget, const TQPoint& point) m_tabPopup->insertSeparator(); m_cvsMenuId = m_tabPopup->insertItem(SmallIcon("cervisia"), i18n("CVS"), CVSService::ref()->menu()); } - if (Project::ref()->tqcontains(w->url())) + if (Project::ref()->contains(w->url())) CVSService::ref()->setRepository(Project::ref()->projectBaseURL().path()); else CVSService::ref()->setRepository(w->url().directory()); |