summaryrefslogtreecommitdiffstats
path: root/buildtools/ant/antprojectpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/ant/antprojectpart.cpp')
-rw-r--r--buildtools/ant/antprojectpart.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildtools/ant/antprojectpart.cpp b/buildtools/ant/antprojectpart.cpp
index 84ad0a5e..4d95f523 100644
--- a/buildtools/ant/antprojectpart.cpp
+++ b/buildtools/ant/antprojectpart.cpp
@@ -229,7 +229,7 @@ TQString AntProjectPart::runDirectory() const
if ( directoryRadioString == "custom" )
return DomUtil::readEntry(dom, "/kdevantproject/run/customdirectory");
- int pos = DomMainProgram.tqfindRev('/');
+ int pos = DomMainProgram.findRev('/');
if (pos != -1)
return buildDirectory() + "/" + DomMainProgram.left(pos);
@@ -529,11 +529,11 @@ void AntProjectPart::optionsAccepted()
for (int i=0; i<m_antOptionsWidget->Properties->numRows(); ++i)
{
TQString key = m_antOptionsWidget->Properties->text(i,0);
- m_antOptions.m_properties.tqreplace(key, m_antOptionsWidget->Properties->text(i,1));
+ m_antOptions.m_properties.replace(key, m_antOptionsWidget->Properties->text(i,1));
kdDebug() << "PROP: " << key << " = " << m_antOptionsWidget->Properties->text(i,1);
TQCheckTableItem *item =(TQCheckTableItem*) m_antOptionsWidget->Properties->item(i,0);
- m_antOptions.m_defineProperties.tqreplace(key, item->isChecked());
+ m_antOptions.m_defineProperties.replace(key, item->isChecked());
}
m_classPath = m_classPathWidget->ClassPath->items();
@@ -554,7 +554,7 @@ void AntProjectPart::contextMenu(TQPopupMenu *popup, const Context *context)
return;
m_contextFileName = url.fileName();
- bool inProject = project()->allFiles().tqcontains(m_contextFileName.mid ( project()->projectDirectory().length() + 1 ) );
+ bool inProject = project()->allFiles().contains(m_contextFileName.mid ( project()->projectDirectory().length() + 1 ) );
TQString popupstr = TQFileInfo(m_contextFileName).fileName();
if (m_contextFileName.startsWith(projectDirectory()+ "/"))
m_contextFileName.remove(0, projectDirectory().length()+1);