summaryrefslogtreecommitdiffstats
path: root/buildtools/ant
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/ant')
-rw-r--r--buildtools/ant/CMakeLists.txt7
-rw-r--r--buildtools/ant/antprojectpart.cpp20
-rw-r--r--buildtools/ant/antprojectpart.h2
-rw-r--r--buildtools/ant/kdevantproject.desktop95
4 files changed, 23 insertions, 101 deletions
diff --git a/buildtools/ant/CMakeLists.txt b/buildtools/ant/CMakeLists.txt
index 1b7cfd98..6c8a178c 100644
--- a/buildtools/ant/CMakeLists.txt
+++ b/buildtools/ant/CMakeLists.txt
@@ -26,7 +26,12 @@ link_directories(
##### other data ################################
-install( FILES kdevantproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevantproject.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
+
install( FILES kdevantproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevantproject )
diff --git a/buildtools/ant/antprojectpart.cpp b/buildtools/ant/antprojectpart.cpp
index a9e5a2d4..3c71e490 100644
--- a/buildtools/ant/antprojectpart.cpp
+++ b/buildtools/ant/antprojectpart.cpp
@@ -35,8 +35,8 @@
typedef KDevGenericFactory<AntProjectPart> AntProjectFactory;
-static const KDevPluginInfo data("kdevantproject");
-K_EXPORT_COMPONENT_FACTORY(libkdevantproject, AntProjectFactory( data ))
+static const KDevPluginInfo pluginData("kdevantproject");
+K_EXPORT_COMPONENT_FACTORY(libkdevantproject, AntProjectFactory( pluginData ))
AntOptions::AntOptions()
@@ -46,14 +46,14 @@ AntOptions::AntOptions()
AntProjectPart::AntProjectPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevBuildTool(&data, parent, name ? name : "AntProjectPart")
+ : KDevBuildTool(&pluginData, parent, name ? name : "AntProjectPart")
{
setInstance(AntProjectFactory::instance());
setXMLFile("kdevantproject.rc");
m_buildProjectAction = new TDEAction(i18n("&Build Project"), "make_tdevelop", Key_F8,
- this, TQT_SLOT(slotBuild()),
+ this, TQ_SLOT(slotBuild()),
actionCollection(), "build_build" );
m_buildProjectAction->setToolTip(i18n("Build project"));
m_buildProjectAction->setWhatsThis(i18n("<b>Build project</b><p>Executes <b>ant dist</b> command to build the project."));
@@ -65,9 +65,9 @@ AntProjectPart::AntProjectPart(TQObject *parent, const char *name, const TQStrin
m_targetMenu = menu->popupMenu();
- connect(m_targetMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotTargetMenuActivated(int)));
- connect(core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQT_SLOT(projectConfigWidget(KDialogBase*)));
- connect(core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)));
+ connect(m_targetMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotTargetMenuActivated(int)));
+ connect(core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQ_SLOT(projectConfigWidget(KDialogBase*)));
+ connect(core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)));
m_antOptionsWidget = 0;
}
@@ -497,7 +497,7 @@ void AntProjectPart::projectConfigWidget(KDialogBase *dlg)
++i;
}
- connect(dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(optionsAccepted()));
+ connect(dlg, TQ_SIGNAL(okClicked()), this, TQ_SLOT(optionsAccepted()));
vbox = dlg->addVBoxPage(i18n("Classpath"));
m_classPathWidget = new ClassPathWidget(vbox);
@@ -563,13 +563,13 @@ void AntProjectPart::contextMenu(TQPopupMenu *popup, const Context *context)
if (inProject)
{
int id = popup->insertItem( i18n("Remove %1 From Project").arg(popupstr),
- this, TQT_SLOT(slotRemoveFromProject()) );
+ this, TQ_SLOT(slotRemoveFromProject()) );
popup->setWhatsThis(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),
- this, TQT_SLOT(slotAddToProject()) );
+ this, TQ_SLOT(slotAddToProject()) );
popup->setWhatsThis(id, i18n("<b>Add to project</b><p>Adds current file from the project."));
}
}
diff --git a/buildtools/ant/antprojectpart.h b/buildtools/ant/antprojectpart.h
index e3b325d2..aecd7838 100644
--- a/buildtools/ant/antprojectpart.h
+++ b/buildtools/ant/antprojectpart.h
@@ -42,7 +42,7 @@ public:
class AntProjectPart : public KDevBuildTool
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/buildtools/ant/kdevantproject.desktop b/buildtools/ant/kdevantproject.desktop
index ad223c50..e75a6994 100644
--- a/buildtools/ant/kdevantproject.desktop
+++ b/buildtools/ant/kdevantproject.desktop
@@ -1,95 +1,12 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=Ant Project
-Comment[br]=Raktres Ant
-Comment[ca]=Projecte Ant
-Comment[cs]=Ant projekt
-Comment[da]=Ant-projekt
-Comment[de]=Ant-Projekt für TDevelop
-Comment[el]=Έργο Ant
-Comment[es]=Proyecto Ant
-Comment[et]=Ant projekt
-Comment[eu]=Ant proiektua
-Comment[fa]=پروژۀ Ant
-Comment[fr]=Projet avec Ant
-Comment[ga]=Comhad tionscadail Ant
-Comment[gl]=Proxecto Ant
-Comment[hi]=एएनटी परियोजना
-Comment[hu]=Ant-projekt
-Comment[is]=Ant verkefni
-Comment[it]=Progetto Ant
-Comment[ja]=Ant プロジェクト
-Comment[ms]=Projek Ant
-Comment[nds]=Ant-Projekt
-Comment[ne]=एन्ट परियोजना
-Comment[nl]=Ant-project
-Comment[pa]=Ant ਪ੍ਰੋਜੈਕਟ
-Comment[pl]=Projekt: Ant
-Comment[pt]=Projecto Ant
-Comment[pt_BR]=Projeto Ant
-Comment[ru]=Проект Ant
-Comment[sk]=Ant projekt
-Comment[sl]=Projekt Ant
-Comment[sr]=Ant пројекат
-Comment[sr@Latn]=Ant projekat
-Comment[sv]=Ant-projekt
-Comment[ta]=ஆன்ட்பிராஜக்ட்
-Comment[tg]=Лоиҳаи Ant
-Comment[tr]=Ant Projesi
-Comment[uz]=Ant loyihasi
-Comment[uz@cyrillic]=Ant лойиҳаси
-Comment[zh_CN]=Ant 工程
-Comment[zh_TW]=Ant 專案
Name=KDevAntProject
-Name[da]=TDevelop Ant-projekt
-Name[de]=Ant-Projekt (TDevelop)
-Name[hi]=के-डेव-एएनटी-परियोजना
-Name[nds]=Ant-Projekt (TDevelop)
-Name[ne]=केडीई विकास एन्ट परियोजना
-Name[pl]=KDevProjektAnt
-Name[sk]=KDevAntProjekt
-Name[sv]=TDevelop Ant-projekt
-Name[ta]=கெடெவ்ஆன்ட் பிராஜக்ட்
-Name[tg]=Лоиҳаи KDevAnt
-Name[zh_TW]=TDevelop Ant 專案
+
GenericName=Ant Project
-GenericName[br]=Raktres Ant
-GenericName[ca]=Projecte Ant
-GenericName[da]=Ant-projekt
-GenericName[de]=Ant-Projekt
-GenericName[el]=Έργο Ant
-GenericName[es]=Proyecto Ant
-GenericName[et]=Ant projekt
-GenericName[eu]=Ant proiektua
-GenericName[fa]=پروژۀ Ant
-GenericName[fr]=Projet avec Ant
-GenericName[ga]=Comhad tionscadail Ant
-GenericName[gl]=Proxecto Ant
-GenericName[hi]=एएनटी परियोजना
-GenericName[hu]=Ant-projekt
-GenericName[it]=Project con Ant
-GenericName[ja]=Ant プロジェクト
-GenericName[ms]=Projek Ant
-GenericName[nds]=Ant-Projekt
-GenericName[ne]=एन्ट परियोजना
-GenericName[nl]=Ant-project
-GenericName[pl]=Projekt: Ant
-GenericName[pt]=Projecto Ant
-GenericName[pt_BR]=Projeto Ant
-GenericName[ru]=Проект Ant
-GenericName[sk]=Ant projekt
-GenericName[sl]=Projekt Ant
-GenericName[sr]=Ant пројекат
-GenericName[sr@Latn]=Ant projekat
-GenericName[sv]=Ant-projekt
-GenericName[ta]=ஆன்ட்பிராஜக்ட்
-GenericName[tg]=Лоиҳаи Ant
-GenericName[tr]=Ant Projesi
-GenericName[uz]=Ant loyihasi
-GenericName[uz@cyrillic]=Ant лойиҳаси
-GenericName[zh_CN]=Ant 工程
-GenericName[zh_TW]=Ant 專案
+
+Comment=Ant Project
+
+Type=Service
+Exec=blubb
X-TDE-ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevantproject
X-TDevelop-Version=5