summaryrefslogtreecommitdiffstats
path: root/buildtools/custommakefiles
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /buildtools/custommakefiles
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'buildtools/custommakefiles')
-rw-r--r--buildtools/custommakefiles/CMakeLists.txt10
-rw-r--r--buildtools/custommakefiles/Makefile.am16
-rw-r--r--buildtools/custommakefiles/customprojectpart.cpp28
-rw-r--r--buildtools/custommakefiles/customprojectpart.h4
-rw-r--r--buildtools/custommakefiles/tdevcustomproject.desktop (renamed from buildtools/custommakefiles/kdevcustomproject.desktop)4
-rw-r--r--buildtools/custommakefiles/tdevcustomproject.rc (renamed from buildtools/custommakefiles/kdevcustomproject.rc)2
6 files changed, 32 insertions, 32 deletions
diff --git a/buildtools/custommakefiles/CMakeLists.txt b/buildtools/custommakefiles/CMakeLists.txt
index 55036324..8327a38d 100644
--- a/buildtools/custommakefiles/CMakeLists.txt
+++ b/buildtools/custommakefiles/CMakeLists.txt
@@ -30,15 +30,15 @@ link_directories(
##### other data ################################
-install( FILES kdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcustomproject )
+install( FILES tdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevcustomproject )
-##### libkdevcustomproject (module) #############
+##### libtdevcustomproject (module) #############
-tde_add_kpart( libkdevcustomproject AUTOMOC
+tde_add_kpart( libtdevcustomproject AUTOMOC
SOURCES
selectnewfilesdialog.cpp
selectnewfilesdialogbase.ui custombuildoptionswidget.cpp
@@ -46,6 +46,6 @@ tde_add_kpart( libkdevcustomproject AUTOMOC
custommakeconfigwidgetbase.ui custommanagerwidget.cpp
custommanagerwidgetbase.ui customotherconfigwidget.cpp
customotherconfigwidgetbase.ui customprojectpart.cpp
- LINK kdevbuildbase-shared kdevbuildtoolswidgets-shared
+ LINK tdevbuildbase-shared tdevbuildtoolswidgets-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/buildtools/custommakefiles/Makefile.am b/buildtools/custommakefiles/Makefile.am
index 087ab001..618f8794 100644
--- a/buildtools/custommakefiles/Makefile.am
+++ b/buildtools/custommakefiles/Makefile.am
@@ -5,12 +5,12 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib/base \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes) \
-I$(top_builddir)/buildtools/lib/widgets
-kde_module_LTLIBRARIES = libkdevcustomproject.la
-libkdevcustomproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevcustomproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la
+kde_module_LTLIBRARIES = libtdevcustomproject.la
+libtdevcustomproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevcustomproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+ $(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la
-libkdevcustomproject_la_SOURCES = selectnewfilesdialog.cpp selectnewfilesdialogbase.ui \
+libtdevcustomproject_la_SOURCES = selectnewfilesdialog.cpp selectnewfilesdialogbase.ui \
custombuildoptionswidget.cpp custombuildoptionswidgetbase.ui custommakeconfigwidget.cpp \
custommakeconfigwidgetbase.ui custommanagerwidget.cpp custommanagerwidgetbase.ui \
customotherconfigwidget.cpp customotherconfigwidgetbase.ui customprojectpart.cpp
@@ -18,9 +18,9 @@ libkdevcustomproject_la_SOURCES = selectnewfilesdialog.cpp selectnewfilesdialogb
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevcustomproject.desktop
+service_DATA = tdevcustomproject.desktop
-rcdir = $(kde_datadir)/kdevcustomproject
-rc_DATA = kdevcustomproject.rc
+rcdir = $(kde_datadir)/tdevcustomproject
+rc_DATA = tdevcustomproject.rc
noinst_HEADERS = selectnewfilesdialog.h custommanagerwidget.h \
customotherconfigwidget.h
diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp
index 5b41080e..c9cc482d 100644
--- a/buildtools/custommakefiles/customprojectpart.cpp
+++ b/buildtools/custommakefiles/customprojectpart.cpp
@@ -31,7 +31,7 @@
#include <kdebug.h>
#include <kdialogbase.h>
#include <keditlistbox.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdemainwindow.h>
@@ -42,11 +42,11 @@
#include <kprocess.h>
#include "domutil.h"
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
-#include "kdevmakefrontend.h"
-#include "kdevappfrontend.h"
-#include "kdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
+#include "tdevmakefrontend.h"
+#include "tdevappfrontend.h"
+#include "tdevpartcontroller.h"
#include "runoptionswidget.h"
#include "makeoptionswidget.h"
#include "custombuildoptionswidget.h"
@@ -59,18 +59,18 @@
#include "selectnewfilesdialog.h"
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
-typedef KDevGenericFactory<CustomProjectPart> CustomProjectFactory;
-static const KDevPluginInfo data( "kdevcustomproject" );
-K_EXPORT_COMPONENT_FACTORY( libkdevcustomproject, CustomProjectFactory( data ) )
+typedef TDevGenericFactory<CustomProjectPart> CustomProjectFactory;
+static const TDevPluginInfo data( "tdevcustomproject" );
+K_EXPORT_COMPONENT_FACTORY( libtdevcustomproject, CustomProjectFactory( data ) )
CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const TQStringList & )
- : KDevBuildTool( &data, parent, name ? name : "CustomProjectPart" )
+ : TDevBuildTool( &data, parent, name ? name : "CustomProjectPart" )
, m_lastCompilationFailed( false ), m_recursive( false ), m_first_recursive( false )
{
setInstance( CustomProjectFactory::instance() );
- setXMLFile( "kdevcustomproject.rc" );
+ setXMLFile( "tdevcustomproject.rc" );
m_executeAfterBuild = false;
@@ -477,7 +477,7 @@ void CustomProjectPart::openProject( const TQString &dirName, const TQString &pr
el.setTagName( "default" );
envs.appendChild( el );
}
- KDevProject::openProject( dirName, projectName );
+ TDevProject::openProject( dirName, projectName );
}
@@ -632,7 +632,7 @@ DomUtil::PairList CustomProjectPart::runEnvironmentVars() const
*/
TQString CustomProjectPart::runDirectory() const
{
- TQString cwd = defaultRunDirectory( "kdevcustomproject" );
+ TQString cwd = defaultRunDirectory( "tdevcustomproject" );
if ( cwd.isEmpty() )
cwd = buildDirectory();
return cwd;
diff --git a/buildtools/custommakefiles/customprojectpart.h b/buildtools/custommakefiles/customprojectpart.h
index 67223e92..db46d576 100644
--- a/buildtools/custommakefiles/customprojectpart.h
+++ b/buildtools/custommakefiles/customprojectpart.h
@@ -20,7 +20,7 @@
#include <tqdatetime.h>
#include <tqvaluestack.h>
-#include <kdevbuildtool.h>
+#include <tdevbuildtool.h>
class TQListViewItem;
class TQPopupMenu;
@@ -30,7 +30,7 @@ class CustomProjectWidget;
class Context;
class TDESelectAction;
-class CustomProjectPart : public KDevBuildTool
+class CustomProjectPart : public TDevBuildTool
{
Q_OBJECT
diff --git a/buildtools/custommakefiles/kdevcustomproject.desktop b/buildtools/custommakefiles/tdevcustomproject.desktop
index 9f81a3d6..0ea2c3bc 100644
--- a/buildtools/custommakefiles/kdevcustomproject.desktop
+++ b/buildtools/custommakefiles/tdevcustomproject.desktop
@@ -38,7 +38,7 @@ Comment[tg]=Лоиҳаи оддӣ
Comment[tr]=Özel Proje
Comment[zh_CN]=自定义工程
Comment[zh_TW]=自訂專案
-Name=KDevCustomProject
+Name=TDevCustomProject
Name[da]=TDevelop brugerdefineret projekt
Name[de]=Benutzerdefiniertes Projekt (TDevelop)
Name[hi]=के-डेव-कस्टम-परियोजना
@@ -86,6 +86,6 @@ GenericName[tr]=Özel Proje
GenericName[zh_CN]=自定义工程
GenericName[zh_TW]=自訂專案
ServiceTypes=TDevelop/Project
-X-TDE-Library=libkdevcustomproject
+X-TDE-Library=libtdevcustomproject
X-TDevelop-Version=5
X-TDevelop-Args=
diff --git a/buildtools/custommakefiles/kdevcustomproject.rc b/buildtools/custommakefiles/tdevcustomproject.rc
index c744b4be..08079774 100644
--- a/buildtools/custommakefiles/kdevcustomproject.rc
+++ b/buildtools/custommakefiles/tdevcustomproject.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="KDevCustomProject" version="7">
+<kpartgui name="TDevCustomProject" version="7">
<MenuBar>
<Menu name="project" >
<Action name="repopulate_project" />