summaryrefslogtreecommitdiffstats
path: root/buildtools/pascal
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/pascal')
-rw-r--r--buildtools/pascal/CMakeLists.txt7
-rw-r--r--buildtools/pascal/kdevpascalproject.desktop93
-rw-r--r--buildtools/pascal/pascalglobaloptionsdlg.h2
-rw-r--r--buildtools/pascal/pascalproject_optionsdlgbase.ui4
-rw-r--r--buildtools/pascal/pascalproject_part.cpp28
-rw-r--r--buildtools/pascal/pascalproject_part.h2
-rw-r--r--buildtools/pascal/pascalproject_widget.h2
-rw-r--r--buildtools/pascal/pascalprojectoptionsdlg.cpp2
-rw-r--r--buildtools/pascal/pascalprojectoptionsdlg.h2
9 files changed, 33 insertions, 109 deletions
diff --git a/buildtools/pascal/CMakeLists.txt b/buildtools/pascal/CMakeLists.txt
index b10a6bec..a2c85c2b 100644
--- a/buildtools/pascal/CMakeLists.txt
+++ b/buildtools/pascal/CMakeLists.txt
@@ -30,7 +30,12 @@ link_directories(
##### other data ################################
-install( FILES kdevpascalproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevpascalproject.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
+
install( FILES kdevpascalproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpascalproject )
diff --git a/buildtools/pascal/kdevpascalproject.desktop b/buildtools/pascal/kdevpascalproject.desktop
index 2e96196f..9d81d4fd 100644
--- a/buildtools/pascal/kdevpascalproject.desktop
+++ b/buildtools/pascal/kdevpascalproject.desktop
@@ -1,93 +1,12 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=Pascal Project
-Comment[br]=Raktres Pascal
-Comment[ca]=Projecte Pascal
-Comment[da]=Pascal projekt
-Comment[de]=Pascal-Projekt für TDevelop
-Comment[el]=Έργο Pascal
-Comment[es]=Proyecto de Pascal
-Comment[et]=Pascali projekt
-Comment[eu]=Pascal proiektua
-Comment[fa]=پروژۀ پاسکال
-Comment[fr]=Projet en langage PASCAL
-Comment[ga]=Tionscadal Pascal
-Comment[gl]=Proxecto Pascal
-Comment[hi]=पास्कल परियोजना
-Comment[hu]=Pascal-projekt
-Comment[is]=Pascal verkefni
-Comment[it]=Progetto per Pascal
-Comment[ja]=Pascal プロジェクト
-Comment[ms]=Projek Pascal
-Comment[nds]=Pascal-Projekt
-Comment[ne]=पास्कल परियोजना
-Comment[nl]=Pascal-project
-Comment[pa]=ਪਾਸਕਲ ਪ੍ਰੋਜੈਕਟ
-Comment[pl]=Projekt: Pascal
-Comment[pt]=Projecto de Pascal
-Comment[pt_BR]=Projeto Pascal
-Comment[ru]=Проект Pascal
-Comment[sk]=Pascal projekt
-Comment[sl]=Projekt Pascal
-Comment[sr]=Pascal пројекат
-Comment[sr@Latn]=Pascal projekat
-Comment[sv]=Pascal-projekt
-Comment[ta]=பாஸ்கல் பிராஜக்ட்
-Comment[tg]=Лоиҳаи Pascal
-Comment[tr]=Pascal Projesi
-Comment[uz]=Pascal loyihasi
-Comment[uz@cyrillic]=Pascal лойиҳаси
-Comment[zh_CN]=Pascal 工程
-Comment[zh_TW]=Pascal 專案
Name=KDevPascalProject
-Name[da]=TDevelop Pascal-projekt
-Name[de]=Pascal-Projekt (TDevelop)
-Name[hi]=के-डेव-पास्कल-परियोजना
-Name[nds]=Pascal-Projekt (TDevelop)
-Name[ne]=केडीई विकास पास्कल परियोजना
-Name[pl]=KDevProjektPascal
-Name[sk]=KDevPascalProjekt
-Name[sv]=TDevelop Pascal-projekt
-Name[ta]=கெடெவ் பாஸ்கல் பிராஜக்ட்
-Name[tg]=Лоиҳаи ПаскалKDev
-Name[zh_TW]=TDevelop Pascal 專案
+
GenericName=Pascal Project
-GenericName[br]=Raktres Pascal
-GenericName[ca]=Projecte Pascal
-GenericName[da]=Pascal projekt
-GenericName[de]=Pascal-Projekt
-GenericName[el]=Έργο Pascal
-GenericName[es]=Proyecto de Pascal
-GenericName[et]=Pascali projekt
-GenericName[eu]=Pascal proiektua
-GenericName[fa]=پروژۀ پاسکال
-GenericName[fr]=Projet en langage PASCAL
-GenericName[ga]=Tionscadal Pascal
-GenericName[gl]=Proxecto Pascal
-GenericName[hi]=पास्कल परियोजना
-GenericName[hu]=Pascal-projekt
-GenericName[it]=Progetto in Pascal
-GenericName[ja]=Pascal プロジェクト
-GenericName[ms]=Projek Pascal
-GenericName[nds]=Pascal-Projekt
-GenericName[ne]=पास्कल परियोजना
-GenericName[nl]=Pascal-project
-GenericName[pl]=Projekt: Pascal
-GenericName[pt]=Projecto de Pascal
-GenericName[pt_BR]=Projeto Pascal
-GenericName[ru]=Проект Pascal
-GenericName[sk]=Pascal projekt
-GenericName[sl]=Projekt Pascal
-GenericName[sr]=Pascal пројекат
-GenericName[sr@Latn]=Pascal projekat
-GenericName[sv]=Pascal-projekt
-GenericName[ta]=பாஸ்கல் பிராஜக்ட்
-GenericName[tr]=Pascal Projesi
-GenericName[uz]=Pascal loyihasi
-GenericName[uz@cyrillic]=Pascal лойиҳаси
-GenericName[zh_CN]=Pascal 工程
-GenericName[zh_TW]=Pascal 專案
+
+Comment=Pascal Project
+
+Type=Service
+Exec=blubb
X-TDE-ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevpascalproject
X-TDevelop-Version=5
diff --git a/buildtools/pascal/pascalglobaloptionsdlg.h b/buildtools/pascal/pascalglobaloptionsdlg.h
index 5e6e3d23..18be3ebc 100644
--- a/buildtools/pascal/pascalglobaloptionsdlg.h
+++ b/buildtools/pascal/pascalglobaloptionsdlg.h
@@ -21,7 +21,7 @@ class PascalProjectPart;
class PascalGlobalOptionsDlg : public PascalProjectOptionsDlgBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/buildtools/pascal/pascalproject_optionsdlgbase.ui b/buildtools/pascal/pascalproject_optionsdlgbase.ui
index a6f9321c..3ec7662d 100644
--- a/buildtools/pascal/pascalproject_optionsdlgbase.ui
+++ b/buildtools/pascal/pascalproject_optionsdlgbase.ui
@@ -450,7 +450,7 @@
<tabstop>addconfig_button</tabstop>
<tabstop>removeconfig_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">compiler_box_activated(const TQString&amp;)</slot>
<slot access="protected">addconfig_button_clicked()</slot>
<slot access="protected">configRemoved()</slot>
@@ -460,7 +460,7 @@
<slot access="protected">configAdded()</slot>
<slot access="protected">setDirty()</slot>
<slot access="protected">setDefaultOptions()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/pascal/pascalproject_part.cpp b/buildtools/pascal/pascalproject_part.cpp
index 98127f0a..c0bd71f3 100644
--- a/buildtools/pascal/pascalproject_part.cpp
+++ b/buildtools/pascal/pascalproject_part.cpp
@@ -29,7 +29,7 @@
#include <kservice.h>
#include <tdeconfig.h>
#include <tdeversion.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include "domutil.h"
#include "kdevcore.h"
@@ -49,34 +49,34 @@
#include <kdevplugininfo.h>
typedef KDevGenericFactory<PascalProjectPart> PascalProjectFactory;
-static const KDevPluginInfo data("kdevpascalproject");
-K_EXPORT_COMPONENT_FACTORY( libkdevpascalproject, PascalProjectFactory( data ) )
+static const KDevPluginInfo pluginData("kdevpascalproject");
+K_EXPORT_COMPONENT_FACTORY( libkdevpascalproject, PascalProjectFactory( pluginData ) )
PascalProjectPart::PascalProjectPart(TQObject *parent, const char *name, const TQStringList& )
- :KDevBuildTool(&data, parent, name ? name : "PascalProjectPart" )
+ :KDevBuildTool(&pluginData, parent, name ? name : "PascalProjectPart" )
{
setInstance(PascalProjectFactory::instance());
setXMLFile("kdevpascalproject.rc");
TDEAction *action;
action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8,
- this, TQT_SLOT(slotBuild()),
+ this, TQ_SLOT(slotBuild()),
actionCollection(), "build_build" );
action->setToolTip(i18n("Build project"));
action->setWhatsThis(i18n("<b>Build project</b><p>Runs the compiler on a main source file of the project. "
"The compiler and the main source file can be set in project settings, <b>Pascal Compiler</b> tab."));
action = new TDEAction( i18n("Execute Program"), "application-x-executable", 0,
- this, TQT_SLOT(slotExecute()),
+ this, TQ_SLOT(slotExecute()),
actionCollection(), "build_execute" );
action->setToolTip(i18n("Execute program"));
action->setWhatsThis(i18n("<b>Execute program</b><p>Executes the main program specified in project settings, <b>Run options</b> tab. "
"If nothing is set, the binary file with the same name as the main source file name is executed."));
- connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)),
- this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)),
+ this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
- connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)),
- this, TQT_SLOT(configWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(configWidget(KDialogBase*)),
+ this, TQ_SLOT(configWidget(KDialogBase*)) );
// m_widget = new PascalProjectWidget(this);
@@ -397,12 +397,12 @@ void PascalProjectPart::projectConfigWidget( KDialogBase * dlg )
TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Pascal Compiler"));
PascalProjectOptionsDlg *w = new PascalProjectOptionsDlg(this, vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
- connect( dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(loadProjectConfig()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), this, TQ_SLOT(loadProjectConfig()) );
vbox = dlg->addVBoxPage(i18n("Run Options"), i18n("Run Options"), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ));
RunOptionsWidget *w3 = new RunOptionsWidget(*projectDom(), "/kdevpascalproject", buildDirectory(), vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w3, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w3, TQ_SLOT(accept()) );
}
@@ -433,7 +433,7 @@ void PascalProjectPart::configWidget( KDialogBase * dlg )
TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Pascal Compiler"));
PascalGlobalOptionsDlg *w = new PascalGlobalOptionsDlg(this, vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
}
KDevCompilerOptions *PascalProjectPart::createCompilerOptions(const TQString &name)
diff --git a/buildtools/pascal/pascalproject_part.h b/buildtools/pascal/pascalproject_part.h
index 54d09b2e..55d98c96 100644
--- a/buildtools/pascal/pascalproject_part.h
+++ b/buildtools/pascal/pascalproject_part.h
@@ -21,7 +21,7 @@ class KDevCompilerOptions;
class PascalProjectPart : public KDevBuildTool
{
- Q_OBJECT
+ TQ_OBJECT
public:
PascalProjectPart(TQObject *parent, const char *name, const TQStringList &);
diff --git a/buildtools/pascal/pascalproject_widget.h b/buildtools/pascal/pascalproject_widget.h
index 252c7500..1d94652a 100644
--- a/buildtools/pascal/pascalproject_widget.h
+++ b/buildtools/pascal/pascalproject_widget.h
@@ -12,7 +12,7 @@ class PascalProjectPart;
class PascalProjectWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/buildtools/pascal/pascalprojectoptionsdlg.cpp b/buildtools/pascal/pascalprojectoptionsdlg.cpp
index 9c7c2518..1b96d072 100644
--- a/buildtools/pascal/pascalprojectoptionsdlg.cpp
+++ b/buildtools/pascal/pascalprojectoptionsdlg.cpp
@@ -29,7 +29,7 @@
PascalProjectOptionsDlg::PascalProjectOptionsDlg(PascalProjectPart *part, TQWidget* parent, const char* name, WFlags fl)
: PascalProjectOptionsDlgBase(parent,name, fl), m_part(part)
{
- config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), TQT_TQOBJECT(this)));
+ config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), this));
offers = TDETrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Pascal'");
diff --git a/buildtools/pascal/pascalprojectoptionsdlg.h b/buildtools/pascal/pascalprojectoptionsdlg.h
index acedb14d..78698a45 100644
--- a/buildtools/pascal/pascalprojectoptionsdlg.h
+++ b/buildtools/pascal/pascalprojectoptionsdlg.h
@@ -20,7 +20,7 @@ class KDevCompilerOptions;
class PascalProjectOptionsDlg : public PascalProjectOptionsDlgBase
{
- Q_OBJECT
+ TQ_OBJECT
public: