summaryrefslogtreecommitdiffstats
path: root/buildtools/custommakefiles
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/custommakefiles')
-rw-r--r--buildtools/custommakefiles/CMakeLists.txt7
-rw-r--r--buildtools/custommakefiles/custombuildoptionswidget.cpp10
-rw-r--r--buildtools/custommakefiles/custombuildoptionswidget.h4
-rw-r--r--buildtools/custommakefiles/custombuildoptionswidgetbase.ui7
-rw-r--r--buildtools/custommakefiles/custommakeconfigwidget.cpp4
-rw-r--r--buildtools/custommakefiles/custommakeconfigwidget.h2
-rw-r--r--buildtools/custommakefiles/custommakeconfigwidgetbase.ui4
-rw-r--r--buildtools/custommakefiles/custommanagerwidget.cpp4
-rw-r--r--buildtools/custommakefiles/custommanagerwidget.h4
-rw-r--r--buildtools/custommakefiles/customotherconfigwidget.cpp6
-rw-r--r--buildtools/custommakefiles/customotherconfigwidget.h5
-rw-r--r--buildtools/custommakefiles/customotherconfigwidgetbase.ui4
-rw-r--r--buildtools/custommakefiles/customprojectpart.cpp90
-rw-r--r--buildtools/custommakefiles/customprojectpart.h3
-rw-r--r--buildtools/custommakefiles/kdevcustomproject.desktop90
-rw-r--r--buildtools/custommakefiles/selectnewfilesdialog.cpp2
-rw-r--r--buildtools/custommakefiles/selectnewfilesdialog.h4
17 files changed, 78 insertions, 172 deletions
diff --git a/buildtools/custommakefiles/CMakeLists.txt b/buildtools/custommakefiles/CMakeLists.txt
index 55036324..8d477200 100644
--- a/buildtools/custommakefiles/CMakeLists.txt
+++ b/buildtools/custommakefiles/CMakeLists.txt
@@ -30,7 +30,12 @@ link_directories(
##### other data ################################
-install( FILES kdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kdevcustomproject.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
+
install( FILES kdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcustomproject )
diff --git a/buildtools/custommakefiles/custombuildoptionswidget.cpp b/buildtools/custommakefiles/custombuildoptionswidget.cpp
index 20931698..f36dc78a 100644
--- a/buildtools/custommakefiles/custombuildoptionswidget.cpp
+++ b/buildtools/custommakefiles/custombuildoptionswidget.cpp
@@ -44,10 +44,10 @@ CustomBuildOptionsWidget::CustomBuildOptionsWidget(TQDomDocument &dom,
// This connection must not be made before the ant->setChecked() line,
// because at this time makeToggled() would crash
- connect( make_button, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(makeToggled(bool)) );
- connect( other_button, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(otherToggled(bool)) );
+ connect( make_button, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(makeToggled(bool)) );
+ connect( other_button, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(otherToggled(bool)) );
}
@@ -95,5 +95,3 @@ void CustomBuildOptionsWidget::makeToggled(bool b)
}
#include "custombuildoptionswidget.moc"
-
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
diff --git a/buildtools/custommakefiles/custombuildoptionswidget.h b/buildtools/custommakefiles/custombuildoptionswidget.h
index 91b4e5c4..3308aa47 100644
--- a/buildtools/custommakefiles/custombuildoptionswidget.h
+++ b/buildtools/custommakefiles/custombuildoptionswidget.h
@@ -20,7 +20,7 @@ class TQTabWidget;
class CustomBuildOptionsWidget : public CustomBuildOptionsWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -43,5 +43,3 @@ private:
};
#endif
-
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
diff --git a/buildtools/custommakefiles/custombuildoptionswidgetbase.ui b/buildtools/custommakefiles/custombuildoptionswidgetbase.ui
index bea1e872..0e1658ea 100644
--- a/buildtools/custommakefiles/custombuildoptionswidgetbase.ui
+++ b/buildtools/custommakefiles/custombuildoptionswidgetbase.ui
@@ -56,9 +56,6 @@
<property name="text">
<string>Other</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="toolTip" stdset="0">
<string>other custom build tool, e.g. script</string>
</property>
@@ -147,10 +144,10 @@
</spacer>
</vbox>
</widget>
-<Q_SLOTS>
+<slots>
<slot access="protected">makeToggled(bool)</slot>
<slot access="protected">otherToggled(bool)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/custommakefiles/custommakeconfigwidget.cpp b/buildtools/custommakefiles/custommakeconfigwidget.cpp
index 6a12cdfb..10855e60 100644
--- a/buildtools/custommakefiles/custommakeconfigwidget.cpp
+++ b/buildtools/custommakefiles/custommakeconfigwidget.cpp
@@ -43,10 +43,10 @@ CustomMakeConfigWidget::CustomMakeConfigWidget(CustomProjectPart* part, const TQ
defaultTarget_edit->setText(DomUtil::readEntry(m_dom, m_configGroup + "/make/defaulttarget"));
makeoptions_edit->setText(DomUtil::readEntry(m_dom, m_configGroup + "/make/makeoptions"));
- envs_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D[^\\s]*"), TQT_TQOBJECT(this)));
+ envs_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D[^\\s]*"), this));
m_allEnvironments = m_part->allMakeEnvironments();
m_currentEnvironment = m_part->currentMakeEnvironment();
- env_var_group->setColumnLayout( 1, Qt::Vertical );
+ env_var_group->setColumnLayout( 1, TQt::Vertical );
m_envWidget = new EnvironmentVariablesWidget(m_dom, m_configGroup + "/make/environments/" + m_currentEnvironment, env_var_group);
envs_combo->insertStringList(m_allEnvironments);
envs_combo->setEditText(m_currentEnvironment);
diff --git a/buildtools/custommakefiles/custommakeconfigwidget.h b/buildtools/custommakefiles/custommakeconfigwidget.h
index 9ace95e0..d3369b1d 100644
--- a/buildtools/custommakefiles/custommakeconfigwidget.h
+++ b/buildtools/custommakefiles/custommakeconfigwidget.h
@@ -23,7 +23,7 @@ class EnvironmentVariablesWidget;
*/
class CustomMakeConfigWidget : public CustomMakeConfigWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/buildtools/custommakefiles/custommakeconfigwidgetbase.ui b/buildtools/custommakefiles/custommakeconfigwidgetbase.ui
index cae0a6e0..47d23c9b 100644
--- a/buildtools/custommakefiles/custommakeconfigwidgetbase.ui
+++ b/buildtools/custommakefiles/custommakeconfigwidgetbase.ui
@@ -375,13 +375,13 @@
<tabstop>copyenvs_button</tabstop>
<tabstop>removeenvs_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">envNameChanged(const TQString &amp;)</slot>
<slot access="protected">envChanged(const TQString&amp;)</slot>
<slot access="protected">envAdded()</slot>
<slot access="protected">envRemoved()</slot>
<slot access="protected">envCopied()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/custommakefiles/custommanagerwidget.cpp b/buildtools/custommakefiles/custommanagerwidget.cpp
index 85f77d52..1500995d 100644
--- a/buildtools/custommakefiles/custommanagerwidget.cpp
+++ b/buildtools/custommakefiles/custommanagerwidget.cpp
@@ -44,7 +44,7 @@ CustomManagerWidget::CustomManagerWidget( CustomProjectPart* part, TQWidget* par
m_blacklistBox->setButtons( KEditListBox::Add | KEditListBox::Remove );
m_blacklistBox->insertStringList( DomUtil::readListEntry( m_dom, "kdevcustomproject/blacklist","path") );
grid->addWidget( m_blacklistBox, 0, 1 );
- connect(m_blacklistBox, TQT_SIGNAL(added(const TQString&)), this, TQT_SLOT(checkUrl(const TQString&)));
+ connect(m_blacklistBox, TQ_SIGNAL(added(const TQString&)), this, TQ_SLOT(checkUrl(const TQString&)));
}
void CustomManagerWidget::checkUrl(const TQString& url)
@@ -76,5 +76,3 @@ void CustomManagerWidget::accept()
#include "custommanagerwidget.moc"
-
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
diff --git a/buildtools/custommakefiles/custommanagerwidget.h b/buildtools/custommakefiles/custommanagerwidget.h
index 657bae9f..6ce029e2 100644
--- a/buildtools/custommakefiles/custommanagerwidget.h
+++ b/buildtools/custommakefiles/custommanagerwidget.h
@@ -22,7 +22,7 @@ class KEditListBox;
class CustomManagerWidget : public CustomManagerWidgetBase
{
-Q_OBJECT
+TQ_OBJECT
public:
@@ -38,5 +38,3 @@ private:
};
#endif
-
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
diff --git a/buildtools/custommakefiles/customotherconfigwidget.cpp b/buildtools/custommakefiles/customotherconfigwidget.cpp
index 945d7c91..012dfd36 100644
--- a/buildtools/custommakefiles/customotherconfigwidget.cpp
+++ b/buildtools/custommakefiles/customotherconfigwidget.cpp
@@ -38,10 +38,10 @@ CustomOtherConfigWidget::CustomOtherConfigWidget(CustomProjectPart* part, const
defaultTarget_edit->setText(DomUtil::readEntry(m_dom, m_configGroup + "/other/defaulttarget"));
makeoptions_edit->setText(DomUtil::readEntry(m_dom, m_configGroup + "/other/otheroptions"));
- envs_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), TQT_TQOBJECT(this)));
+ envs_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), this));
m_allEnvironments = m_part->allMakeEnvironments();
m_currentEnvironment = m_part->currentMakeEnvironment();
- env_var_group->setColumnLayout( 1, Qt::Vertical );
+ env_var_group->setColumnLayout( 1, TQt::Vertical );
m_envWidget = new EnvironmentVariablesWidget(m_dom, m_configGroup + "/other/environments/" + m_currentEnvironment, env_var_group);
envs_combo->insertStringList(m_allEnvironments);
envs_combo->setEditText(m_currentEnvironment);
@@ -121,5 +121,3 @@ void CustomOtherConfigWidget::accept()
}
#include "customotherconfigwidget.moc"
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
-
diff --git a/buildtools/custommakefiles/customotherconfigwidget.h b/buildtools/custommakefiles/customotherconfigwidget.h
index 64f3a5bd..ee9c31a7 100644
--- a/buildtools/custommakefiles/customotherconfigwidget.h
+++ b/buildtools/custommakefiles/customotherconfigwidget.h
@@ -23,7 +23,7 @@ class EnvironmentVariablesWidget;
*/
class CustomOtherConfigWidget : public CustomOtherConfigWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -53,6 +53,3 @@ protected:
};
#endif
-
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
-
diff --git a/buildtools/custommakefiles/customotherconfigwidgetbase.ui b/buildtools/custommakefiles/customotherconfigwidgetbase.ui
index 3f7290af..60f4adbc 100644
--- a/buildtools/custommakefiles/customotherconfigwidgetbase.ui
+++ b/buildtools/custommakefiles/customotherconfigwidgetbase.ui
@@ -276,13 +276,13 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot access="protected">envNameChanged(const TQString &amp;)</slot>
<slot access="protected">envChanged(const TQString&amp;)</slot>
<slot access="protected">envAdded()</slot>
<slot access="protected">envRemoved()</slot>
<slot access="protected">envCopied()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp
index f61782ae..746e9fe4 100644
--- a/buildtools/custommakefiles/customprojectpart.cpp
+++ b/buildtools/custommakefiles/customprojectpart.cpp
@@ -62,11 +62,11 @@
#include <kdevplugininfo.h>
typedef KDevGenericFactory<CustomProjectPart> CustomProjectFactory;
-static const KDevPluginInfo data( "kdevcustomproject" );
-K_EXPORT_COMPONENT_FACTORY( libkdevcustomproject, CustomProjectFactory( data ) )
+static const KDevPluginInfo pluginData( "kdevcustomproject" );
+K_EXPORT_COMPONENT_FACTORY( libkdevcustomproject, CustomProjectFactory( pluginData ) )
CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const TQStringList & )
- : KDevBuildTool( &data, parent, name ? name : "CustomProjectPart" )
+ : KDevBuildTool( &pluginData, parent, name ? name : "CustomProjectPart" )
, m_lastCompilationFailed( false ), m_recursive( false ), m_first_recursive( false )
{
setInstance( CustomProjectFactory::instance() );
@@ -76,12 +76,12 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
TDEAction *action;
- action = new TDEAction( i18n( "Re-Populate Project" ), 0, this, TQT_SLOT( populateProject() ), actionCollection(), "repopulate_project" );
+ action = new TDEAction( i18n( "Re-Populate Project" ), 0, this, TQ_SLOT( populateProject() ), actionCollection(), "repopulate_project" );
action->setToolTip( i18n( "Re-Populate Project" ) );
action->setWhatsThis( i18n( "<b>Re-Populate Project</b><p>Re-Populates the project, searching through the project directory and adding all files that match one of the wildcards set in the custom manager options of the project filelist." ) );
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 <b>make</b> from the project directory.<br>"
@@ -89,7 +89,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Build Options</b> tab." ) );
action = new TDEAction( i18n( "&Build Active Directory" ), "make_tdevelop", Key_F7,
- this, TQT_SLOT( slotBuildActiveDir() ),
+ this, TQ_SLOT( slotBuildActiveDir() ),
actionCollection(), "build_buildactivetarget" );
action->setToolTip( i18n( "Build active directory" ) );
action->setWhatsThis( i18n( "<b>Build active directory</b><p>Constructs a series of make commands to build the active directory. "
@@ -97,7 +97,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Make Options</b> tab." ) );
action = new TDEAction( i18n( "Compile &File" ), "make_tdevelop",
- this, TQT_SLOT( slotCompileFile() ),
+ this, TQ_SLOT( slotCompileFile() ),
actionCollection(), "build_compilefile" );
action->setToolTip( i18n( "Compile file" ) );
action->setWhatsThis( i18n( "<b>Compile file</b><p>Runs <b>make filename.o</b> command from the directory where 'filename' is the name of currently opened file.<br>"
@@ -105,7 +105,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Build Options</b> tab." ) );
action = new TDEAction( i18n( "Install" ), 0,
- this, TQT_SLOT( slotInstall() ),
+ this, TQ_SLOT( slotInstall() ),
actionCollection(), "build_install" );
action->setToolTip( i18n( "Install" ) );
action->setWhatsThis( i18n( "<b>Install</b><p>Runs <b>make install</b> command from the project directory.<br>"
@@ -113,7 +113,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Make Options</b> tab." ) );
action = new TDEAction( i18n( "Install Active Directory" ), 0,
- this, TQT_SLOT( slotInstallActiveDir() ),
+ this, TQ_SLOT( slotInstallActiveDir() ),
actionCollection(), "build_installactivetarget" );
action->setToolTip( i18n( "Install active directory" ) );
action->setWhatsThis( i18n( "<b>Install active directory</b><p>Runs <b>make install</b> command from the active directory.<br>"
@@ -121,7 +121,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Make Options</b> tab." ) );
action = new TDEAction( i18n( "Install (as root user)" ), 0,
- this, TQT_SLOT( slotInstallWithKdesu() ),
+ this, TQ_SLOT( slotInstallWithKdesu() ),
actionCollection(), "build_install_tdesu" );
action->setToolTip( i18n( "Install as root user" ) );
action->setWhatsThis( i18n( "<b>Install</b><p>Runs <b>make install</b> command from the project directory with root privileges.<br>"
@@ -130,7 +130,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Make Options</b> tab." ) );
action = new TDEAction( i18n( "&Clean Project" ), 0,
- this, TQT_SLOT( slotClean() ),
+ this, TQ_SLOT( slotClean() ),
actionCollection(), "build_clean" );
action->setToolTip( i18n( "Clean project" ) );
action->setWhatsThis( i18n( "<b>Clean project</b><p>Runs <b>make clean</b> command from the project directory.<br>"
@@ -138,7 +138,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Build Options</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. "
@@ -162,27 +162,27 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"Environment variables can be specified in the project "
"settings dialog, <b>Build Options</b> tab." ) );
- connect( m_targetMenu, TQT_SIGNAL( aboutToShow() ),
- this, TQT_SLOT( updateTargetMenu() ) );
- connect( m_targetMenu, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( targetMenuActivated( int ) ) );
- connect( m_targetObjectFilesMenu, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( targetObjectFilesMenuActivated( int ) ) );
- connect( m_targetOtherFilesMenu, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( targetOtherFilesMenuActivated( int ) ) );
- connect( m_makeEnvironmentsSelector->popupMenu(), TQT_SIGNAL( aboutToShow() ),
- this, TQT_SLOT( updateMakeEnvironmentsMenu() ) );
- connect( m_makeEnvironmentsSelector->popupMenu(), TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( makeEnvironmentsMenuActivated( 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( makeFrontend(), TQT_SIGNAL( commandFinished( const TQString& ) ),
- this, TQT_SLOT( slotCommandFinished( const TQString& ) ) );
- connect( makeFrontend(), TQT_SIGNAL( commandFailed( const TQString& ) ),
- this, TQT_SLOT( slotCommandFailed( const TQString& ) ) );
+ connect( m_targetMenu, TQ_SIGNAL( aboutToShow() ),
+ this, TQ_SLOT( updateTargetMenu() ) );
+ connect( m_targetMenu, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( targetMenuActivated( int ) ) );
+ connect( m_targetObjectFilesMenu, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( targetObjectFilesMenuActivated( int ) ) );
+ connect( m_targetOtherFilesMenu, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( targetOtherFilesMenuActivated( int ) ) );
+ connect( m_makeEnvironmentsSelector->popupMenu(), TQ_SIGNAL( aboutToShow() ),
+ this, TQ_SLOT( updateMakeEnvironmentsMenu() ) );
+ connect( m_makeEnvironmentsSelector->popupMenu(), TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( makeEnvironmentsMenuActivated( 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 * ) ) );
+
+ connect( makeFrontend(), TQ_SIGNAL( commandFinished( const TQString& ) ),
+ this, TQ_SLOT( slotCommandFinished( const TQString& ) ) );
+ connect( makeFrontend(), TQ_SIGNAL( commandFailed( const TQString& ) ),
+ this, TQ_SLOT( slotCommandFailed( const TQString& ) ) );
}
@@ -195,26 +195,26 @@ void CustomProjectPart::projectConfigWidget( KDialogBase *dlg )
TQVBox *vbox;
vbox = dlg->addVBoxPage( i18n( "Custom Manager" ), i18n( "Custom Manager" ), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ) );
CustomManagerWidget *w0 = new CustomManagerWidget( this, vbox );
- connect( dlg, TQT_SIGNAL( okClicked() ), w0, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w0, TQ_SLOT( accept() ) );
vbox = dlg->addVBoxPage( i18n( "Run Options" ), i18n( "Run Options" ), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ) );
RunOptionsWidget *w1 = new RunOptionsWidget( *projectDom(), "/kdevcustomproject", buildDirectory(), vbox );
- connect( dlg, TQT_SIGNAL( okClicked() ), w1, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w1, TQ_SLOT( accept() ) );
vbox = dlg->addVBoxPage( i18n( "Build Options" ), i18n( "Build Options" ), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ) );
TQTabWidget *buildtab = new TQTabWidget( vbox );
CustomBuildOptionsWidget *w2 = new CustomBuildOptionsWidget( *projectDom(), buildtab );
- connect( dlg, TQT_SIGNAL( okClicked() ), w2, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w2, TQ_SLOT( accept() ) );
buildtab->addTab( w2, i18n( "&Build" ) );
CustomOtherConfigWidget *w4 = new CustomOtherConfigWidget( this, "/kdevcustomproject", buildtab );
- connect( dlg, TQT_SIGNAL( okClicked() ), w4, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w4, TQ_SLOT( accept() ) );
buildtab->addTab( w4, i18n( "&Other" ) );
CustomMakeConfigWidget *w3 = new CustomMakeConfigWidget( this, "/kdevcustomproject", buildtab );
buildtab->addTab( w3, i18n( "Ma&ke" ) );
w2->setMakeOptionsWidget( buildtab, w3, w4 );
- connect( dlg, TQT_SIGNAL( okClicked() ), w3, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w3, TQ_SLOT( accept() ) );
}
@@ -241,7 +241,7 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
m_contextDirName = fcontext->urls().first().path();
m_contextDirName = m_contextDirName.mid( project()->projectDirectory().length() + 1 );
int id = popup->insertItem( i18n( "Make Active Directory" ),
- this, TQT_SLOT( slotChooseActiveDirectory() ) );
+ this, TQ_SLOT( slotChooseActiveDirectory() ) );
popup->setWhatsThis( id, i18n( "<b>Make active directory</b><p>"
"Chooses this directory as the destination for new files created using wizards "
"like the <i>New Class</i> wizard." ) );
@@ -257,7 +257,7 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
if ( isInBlacklist( m_contextDirName ) )
{
id = popup->insertItem( i18n( "Remove from blacklist" ),
- this, TQT_SLOT( slotChangeBlacklist() ) );
+ this, TQ_SLOT( slotChangeBlacklist() ) );
popup->setWhatsThis( id, i18n( "<b>Remove from blacklist</b><p>"
"Removes the given file or directory from the "
"blacklist if it is already in it.<br>The blacklist contains files and"
@@ -267,7 +267,7 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
else
{
id = popup->insertItem( i18n( "Add to blacklist" ),
- this, TQT_SLOT( slotChangeBlacklist() ) );
+ this, TQ_SLOT( slotChangeBlacklist() ) );
popup->setWhatsThis( id, i18n( "<b>Add to blacklist</b><p>"
"Adds the given file or directory to the blacklist.<br>The blacklist contains files and"
" directories that should be ignored even if they match a project filetype "
@@ -317,13 +317,13 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
if ( m_contextAddFiles.size() > 0 )
{
int id = popup->insertItem( i18n( "Add Selected File/Dir(s) to Project" ),
- this, TQT_SLOT( slotAddToProject() ) );
+ this, TQ_SLOT( slotAddToProject() ) );
popup->setWhatsThis( id, i18n( "<b>Add to project</b><p>Adds selected file/dir(s) to the list of files in the project. "
"Note that the files should be manually added to the corresponding makefile or build.xml." ) );
if ( dirAddRecursive )
{
int id = popup->insertItem( i18n( "Add Selected Dir(s) to Project (recursive)" ),
- this, TQT_SLOT( slotAddToProjectRecursive() ) );
+ this, TQ_SLOT( slotAddToProjectRecursive() ) );
popup->setWhatsThis( id, i18n( "<b>Add to project</b><p>Recursively adds selected dir(s) to the list of files in the project. "
"Note that the files should be manually added to the corresponding makefile or build.xml." ) );
}
@@ -332,14 +332,14 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
if ( m_contextRemoveFiles.size() > 0 )
{
int id = popup->insertItem( i18n( "Remove Selected File/Dir(s) From Project" ),
- this, TQT_SLOT( slotRemoveFromProject() ) );
+ this, TQ_SLOT( slotRemoveFromProject() ) );
popup->setWhatsThis( id, i18n( "<b>Remove from project</b><p>Removes selected file/dir(s) from the list of files in the project. "
"Note that the files should be manually excluded from the corresponding makefile or build.xml." ) );
if ( dirDelRecursive )
{
int id = popup->insertItem( i18n( "Remove Selected Dir(s) From Project (recursive)" ),
- this, TQT_SLOT( slotRemoveFromProjectRecursive() ) );
+ this, TQ_SLOT( slotRemoveFromProjectRecursive() ) );
popup->setWhatsThis( id, i18n( "<b>Remove from project</b><p>Recursively removes selected dir(s) from the list of files in the project. "
"Note that the files should be manually excluded from the corresponding makefile or build.xml." ) );
}
diff --git a/buildtools/custommakefiles/customprojectpart.h b/buildtools/custommakefiles/customprojectpart.h
index 67223e92..b505847c 100644
--- a/buildtools/custommakefiles/customprojectpart.h
+++ b/buildtools/custommakefiles/customprojectpart.h
@@ -32,7 +32,7 @@ class TDESelectAction;
class CustomProjectPart : public KDevBuildTool
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -156,4 +156,3 @@ private:
};
#endif
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
diff --git a/buildtools/custommakefiles/kdevcustomproject.desktop b/buildtools/custommakefiles/kdevcustomproject.desktop
index 90cdac04..0540feae 100644
--- a/buildtools/custommakefiles/kdevcustomproject.desktop
+++ b/buildtools/custommakefiles/kdevcustomproject.desktop
@@ -1,90 +1,12 @@
[Desktop Entry]
-Type=Service
-Exec=blubb
-Comment=Custom Project
-Comment[br]=Raktres diouzhoc'h
-Comment[ca]=Projecte a mida
-Comment[cs]=Vlastní projekt
-Comment[da]=Brugerdefineret projekt
-Comment[de]=Benutzerdefiniertes Projekt für TDevelop
-Comment[el]=Προσαρμοσμένo έργο
-Comment[es]=Proyecto personalizado
-Comment[et]=Kohandatav projekt
-Comment[eu]=Proiektu pertsonalizatua
-Comment[fa]=پروژۀ سفارشی
-Comment[fr]=Projet personnalisé
-Comment[ga]=Tionscadal Saincheaptha
-Comment[gl]=Proxecto persoalizado
-Comment[hi]=कस्टम परियोजना
-Comment[hu]=Egyedi projekt
-Comment[is]=Sérsniðið verkefni
-Comment[it]=Progetto personalizzato
-Comment[ja]=カスタムプロジェクト
-Comment[ms]=Projek Tersendiri
-Comment[nds]=Egen Projekt
-Comment[ne]=अनुकूल परियोजना
-Comment[nl]=Aangepast project
-Comment[pl]=Własny projekt
-Comment[pt]=Projecto Personalizado
-Comment[pt_BR]=Projeto Personalizado
-Comment[ru]=Особый проект
-Comment[sk]=Vlastný projekt
-Comment[sl]=Poljuben projekt
-Comment[sr]=Произвољан пројекат
-Comment[sr@Latn]=Proizvoljan projekat
-Comment[sv]=Eget projekt
-Comment[ta]=தனிப்பயன் பிராஜக்ட்
-Comment[tg]=Лоиҳаи оддӣ
-Comment[tr]=Özel Proje
-Comment[zh_CN]=自定义工程
-Comment[zh_TW]=自訂專案
Name=KDevCustomProject
-Name[da]=TDevelop brugerdefineret projekt
-Name[de]=Benutzerdefiniertes Projekt (TDevelop)
-Name[hi]=के-डेव-कस्टम-परियोजना
-Name[nds]=Egen Projekt (TDevelop)
-Name[ne]=केडीई विकास अनुकूल परियोजना
-Name[pl]=KDevWłasnyProjekt
-Name[sk]=KDevVlastnýProjekt
-Name[sv]=TDevelop eget projekt
-Name[ta]=கெடெவ் தனிப்பயன் பிராஜக்ட்
-Name[tg]=Лоиҳаи оддӣKDev
-Name[zh_TW]=TDevelop 自訂專案
+
GenericName=Custom Project
-GenericName[br]=Raktres diouzhoc'h
-GenericName[ca]=Projecte a mida
-GenericName[da]=Brugerdefineret projekt
-GenericName[de]=Benutzerdefiniertes Projekt
-GenericName[el]=Προσαρμοσμένο έργο
-GenericName[es]=Proyecto personalizado
-GenericName[et]=Kohandatav projekt
-GenericName[eu]=Proiektu pertsonalizatua
-GenericName[fa]=پروژۀ سفارشی
-GenericName[fr]=Projet personnalisé
-GenericName[ga]=Tionscadal Saincheaptha
-GenericName[gl]=Proxecto persoalizado
-GenericName[hi]=कस्टम परियोजना
-GenericName[hu]=Egyedi projekt
-GenericName[it]=Progetto personalizzato
-GenericName[ja]=カスタムプロジェクト
-GenericName[ms]=Projek Tersendiri
-GenericName[nds]=Egen Projekt
-GenericName[ne]=अनुकूल परियोजना
-GenericName[nl]=Aangepast project
-GenericName[pl]=Projekt: własny
-GenericName[pt]=Projecto Personalizado
-GenericName[pt_BR]=Projeto Personalizado
-GenericName[ru]=Особый проект
-GenericName[sk]=Vlastný projekt
-GenericName[sl]=Poljuben projekt
-GenericName[sr]=Произвољан пројекат
-GenericName[sr@Latn]=Proizvoljan projekat
-GenericName[sv]=Eget projekt
-GenericName[ta]=தனிப்பயன் பிராஜக்ட்
-GenericName[tg]=Лоиҳаи оддӣ
-GenericName[tr]=Özel Proje
-GenericName[zh_CN]=自定义工程
-GenericName[zh_TW]=自訂專案
+
+Comment=Custom Project
+
+Type=Service
+Exec=blubb
X-TDE-ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevcustomproject
X-TDevelop-Version=5
diff --git a/buildtools/custommakefiles/selectnewfilesdialog.cpp b/buildtools/custommakefiles/selectnewfilesdialog.cpp
index a223c87a..2ccf9593 100644
--- a/buildtools/custommakefiles/selectnewfilesdialog.cpp
+++ b/buildtools/custommakefiles/selectnewfilesdialog.cpp
@@ -127,5 +127,3 @@ TQStringList SelectNewFilesDialog::includedPaths() const
}
#include "selectnewfilesdialog.moc"
-
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
diff --git a/buildtools/custommakefiles/selectnewfilesdialog.h b/buildtools/custommakefiles/selectnewfilesdialog.h
index 3c8d9c14..5c226f41 100644
--- a/buildtools/custommakefiles/selectnewfilesdialog.h
+++ b/buildtools/custommakefiles/selectnewfilesdialog.h
@@ -20,7 +20,7 @@ class SelectNewFilesDialogBase;
class SelectNewFilesDialog : public KDialogBase
{
-Q_OBJECT
+TQ_OBJECT
public:
@@ -50,5 +50,3 @@ private:
};
#endif
-
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on