summaryrefslogtreecommitdiffstats
path: root/src/libgui/project_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/project_manager.cpp')
-rw-r--r--src/libgui/project_manager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libgui/project_manager.cpp b/src/libgui/project_manager.cpp
index e606370..931901e 100644
--- a/src/libgui/project_manager.cpp
+++ b/src/libgui/project_manager.cpp
@@ -189,7 +189,7 @@ void ProjectManager::View::contextMenu(TQListViewItem *item, const TQPoint &p, i
} else {
pop.insertTitle(i18n("Project"));
pop.insertItem("configure", i18n("Options..."), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(configureProject()));
- pop.insertItem("tqfind", i18n("Find Files..."), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(runKtqfind()));
+ pop.insertItem("find", i18n("Find Files..."), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(runKfind()));
pop.insertSeparator();
pop.insertItem("piklab_compile", i18n("Build Project"), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(buildProject()));
pop.insertItem("trashcan_empty", i18n("Clean Project"), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(cleanBuild()));
@@ -274,7 +274,7 @@ PURL::Url ProjectManager::View::standaloneGenerator(const PURL::Url &url, PURL::
{
TQMap<PURL::Url, ProjectData>::const_iterator it;
for (it=_standaloneData.begin(); it!=_standaloneData.end(); ++it) {
- if ( !it.data().externals.tqcontains(url) ) continue;
+ if ( !it.data().externals.contains(url) ) continue;
if ( !it.key().exists() ) continue;
type = it.data().type;
return it.key();
@@ -315,7 +315,7 @@ void ProjectManager::View::insertFile(const PURL::Url &url)
if ( copy==MessageBox::Cancel ) return;
if ( copy==MessageBox::Yes ) purl = PURL::Url(_project->directory(), url.filename());
}
- if ( _project->absoluteFiles().tqcontains(purl) ) {
+ if ( _project->absoluteFiles().contains(purl) ) {
MessageBox::detailedSorry(i18n("File is already in the project."), i18n("File: %1").tqarg(purl.pretty()), Log::Show);
return;
}
@@ -356,7 +356,7 @@ ProjectManager::View::ProjectData &ProjectManager::View::projectData()
void ProjectManager::View::addFile(const PURL::Url &url, PURL::FileType type, FileOrigin origin)
{
- if ( tqcontains(url) ) return;
+ if ( contains(url) ) return;
TQMap<PURL::Url, FileOrigin> &ext = projectData().externals;
if ( type.data().group==PURL::LinkerScript && _linkerScriptItem ) {
_linkerScriptItem->set(url);
@@ -551,7 +551,7 @@ bool ProjectManager::View::openProject(const PURL::Url &url)
bool ProjectManager::View::isExternalFile(const PURL::Url &url) const
{
if ( projectUrl().isEmpty() ) return false;
- return projectData().externals.tqcontains(url);
+ return projectData().externals.contains(url);
}
void ProjectManager::View::modified(const PURL::Url &url)