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.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/buildtools/ant/antprojectpart.cpp b/buildtools/ant/antprojectpart.cpp
index d6f66b46..84ad0a5e 100644
--- a/buildtools/ant/antprojectpart.cpp
+++ b/buildtools/ant/antprojectpart.cpp
@@ -45,8 +45,8 @@ AntOptions::AntOptions()
}
-AntProjectPart::AntProjectPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevBuildTool(&data, parent, name ? name : "AntProjectPart")
+AntProjectPart::AntProjectPart(TQObject *tqparent, const char *name, const TQStringList &)
+ : KDevBuildTool(&data, tqparent, name ? name : "AntProjectPart")
{
setInstance(AntProjectFactory::instance());
@@ -117,7 +117,7 @@ void AntProjectPart::openProject(const TQString &dirName, const TQString &projec
void AntProjectPart::populateProject()
{
- TQApplication::setOverrideCursor(Qt::waitCursor);
+ TQApplication::setOverrideCursor(TQt::waitCursor);
TQValueStack<TQString> s;
int prefixlen = m_projectDirectory.length()+1;
@@ -128,7 +128,7 @@ void AntProjectPart::populateProject()
{
dir.setPath(s.pop());
kdDebug() << "Examining: " << dir.path() << endl;
- const QFileInfoList *dirEntries = dir.entryInfoList();
+ const TQFileInfoList *dirEntries = dir.entryInfoList();
TQPtrListIterator<TQFileInfo> it(*dirEntries);
for (; it.current(); ++it)
{
@@ -229,7 +229,7 @@ TQString AntProjectPart::runDirectory() const
if ( directoryRadioString == "custom" )
return DomUtil::readEntry(dom, "/kdevantproject/run/customdirectory");
- int pos = DomMainProgram.findRev('/');
+ int pos = DomMainProgram.tqfindRev('/');
if (pos != -1)
return buildDirectory() + "/" + DomMainProgram.left(pos);
@@ -458,7 +458,7 @@ void AntProjectPart::ant(const TQString &target)
if (!m_classPath.count() == 0)
cp = "CLASSPATH="+m_classPath.join(":");
- makeFrontend()->queueCommand(m_projectDirectory, cmd.arg(cp).arg(m_projectDirectory).arg(target).arg(m_antOptions.m_buildXML).arg(verb).arg(options));
+ makeFrontend()->queueCommand(m_projectDirectory, cmd.tqarg(cp).tqarg(m_projectDirectory).tqarg(target).tqarg(m_antOptions.m_buildXML).tqarg(verb).tqarg(options));
}
@@ -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.replace(key, m_antOptionsWidget->Properties->text(i,1));
+ m_antOptions.m_properties.tqreplace(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.replace(key, item->isChecked());
+ m_antOptions.m_defineProperties.tqreplace(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().contains(m_contextFileName.mid ( project()->projectDirectory().length() + 1 ) );
+ bool inProject = project()->allFiles().tqcontains(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);
@@ -562,15 +562,15 @@ void AntProjectPart::contextMenu(TQPopupMenu *popup, const Context *context)
popup->insertSeparator();
if (inProject)
{
- int id = popup->insertItem( i18n("Remove %1 From Project").arg(popupstr),
+ int id = popup->insertItem( i18n("Remove %1 From Project").tqarg(popupstr),
this, TQT_SLOT(slotRemoveFromProject()) );
- popup->setWhatsThis(id, i18n("<b>Remove from project</b><p>Removes current file from the project."));
+ popup->tqsetWhatsThis(id, i18n("<b>Remove from project</b><p>Removes current file from the project."));
}
else
{
- int id = popup->insertItem( i18n("Add %1 to Project").arg(popupstr),
+ int id = popup->insertItem( i18n("Add %1 to Project").tqarg(popupstr),
this, TQT_SLOT(slotAddToProject()) );
- popup->setWhatsThis(id, i18n("<b>Add to project</b><p>Adds current file from the project."));
+ popup->tqsetWhatsThis(id, i18n("<b>Add to project</b><p>Adds current file from the project."));
}
}