summaryrefslogtreecommitdiffstats
path: root/buildtools/script
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/script')
-rw-r--r--buildtools/script/CMakeLists.txt10
-rw-r--r--buildtools/script/Makefile.am16
-rw-r--r--buildtools/script/scriptnewfiledlg.cpp2
-rw-r--r--buildtools/script/scriptoptionswidget.cpp4
-rw-r--r--buildtools/script/scriptoptionswidget.h6
-rw-r--r--buildtools/script/scriptprojectpart.cpp30
-rw-r--r--buildtools/script/scriptprojectpart.h4
-rw-r--r--buildtools/script/tdevscriptproject.desktop (renamed from buildtools/script/kdevscriptproject.desktop)2
-rw-r--r--buildtools/script/tdevscriptproject.rc (renamed from buildtools/script/kdevscriptproject.rc)2
9 files changed, 38 insertions, 38 deletions
diff --git a/buildtools/script/CMakeLists.txt b/buildtools/script/CMakeLists.txt
index d3f97540..c30a403d 100644
--- a/buildtools/script/CMakeLists.txt
+++ b/buildtools/script/CMakeLists.txt
@@ -27,16 +27,16 @@ link_directories(
##### other data ################################
-install( FILES kdevscriptproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevscriptproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevscriptproject )
+install( FILES tdevscriptproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevscriptproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevscriptproject )
-##### libkdevscriptproject (module) #############
+##### libtdevscriptproject (module) #############
-tde_add_kpart( libkdevscriptproject AUTOMOC
+tde_add_kpart( libtdevscriptproject AUTOMOC
SOURCES
scriptprojectpart.cpp scriptoptionswidget.cpp
scriptoptionswidgetbase.ui scriptnewfiledlg.cpp
- LINK kdevbuildbase-shared
+ LINK tdevbuildbase-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/buildtools/script/Makefile.am b/buildtools/script/Makefile.am
index 542b1a69..a3d7652a 100644
--- a/buildtools/script/Makefile.am
+++ b/buildtools/script/Makefile.am
@@ -10,17 +10,17 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib/base \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util \
-I$(top_srcdir)/lib/external_interfaces $(all_includes)
-kde_module_LTLIBRARIES = libkdevscriptproject.la
-libkdevscriptproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevscriptproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la
+kde_module_LTLIBRARIES = libtdevscriptproject.la
+libtdevscriptproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevscriptproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+ $(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la
-libkdevscriptproject_la_SOURCES = scriptprojectpart.cpp scriptoptionswidget.cpp scriptoptionswidgetbase.ui scriptnewfiledlg.cpp
+libtdevscriptproject_la_SOURCES = scriptprojectpart.cpp scriptoptionswidget.cpp scriptoptionswidgetbase.ui scriptnewfiledlg.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevscriptproject.desktop
+service_DATA = tdevscriptproject.desktop
-rcdir = $(kde_datadir)/kdevscriptproject
-rc_DATA = kdevscriptproject.rc
+rcdir = $(kde_datadir)/tdevscriptproject
+rc_DATA = tdevscriptproject.rc
diff --git a/buildtools/script/scriptnewfiledlg.cpp b/buildtools/script/scriptnewfiledlg.cpp
index 9308792a..f254680e 100644
--- a/buildtools/script/scriptnewfiledlg.cpp
+++ b/buildtools/script/scriptnewfiledlg.cpp
@@ -81,7 +81,7 @@ void ScriptNewFileDialog::accept()
return;
}
- KDevProject *project = m_part->project();
+ TDevProject *project = m_part->project();
if (!project->activeDirectory().isEmpty())
fileName.prepend(project->activeDirectory() + "/");
TQString destpath = project->projectDirectory() + "/" + fileName;
diff --git a/buildtools/script/scriptoptionswidget.cpp b/buildtools/script/scriptoptionswidget.cpp
index d80cd501..13049699 100644
--- a/buildtools/script/scriptoptionswidget.cpp
+++ b/buildtools/script/scriptoptionswidget.cpp
@@ -16,10 +16,10 @@
#include <tqradiobutton.h>
#include <tqtabwidget.h>
#include "domutil.h"
-#include "kdevlanguagesupport.h"
+#include "tdevlanguagesupport.h"
-ScriptOptionsWidget::ScriptOptionsWidget(KDevPlugin *part,
+ScriptOptionsWidget::ScriptOptionsWidget(TDevPlugin *part,
TQWidget *parent, const char *name)
: ScriptOptionsWidgetBase(parent, name)
{
diff --git a/buildtools/script/scriptoptionswidget.h b/buildtools/script/scriptoptionswidget.h
index 8f136d75..086186cc 100644
--- a/buildtools/script/scriptoptionswidget.h
+++ b/buildtools/script/scriptoptionswidget.h
@@ -14,7 +14,7 @@
#include "scriptoptionswidgetbase.h"
-class KDevPlugin;
+class TDevPlugin;
class ScriptOptionsWidget : public ScriptOptionsWidgetBase
@@ -23,14 +23,14 @@ class ScriptOptionsWidget : public ScriptOptionsWidgetBase
public:
- ScriptOptionsWidget( KDevPlugin *part, TQWidget *parent=0, const char *name=0 );
+ ScriptOptionsWidget( TDevPlugin *part, TQWidget *parent=0, const char *name=0 );
~ScriptOptionsWidget();
public slots:
void accept();
private:
- KDevPlugin *m_part;
+ TDevPlugin *m_part;
};
#endif
diff --git a/buildtools/script/scriptprojectpart.cpp b/buildtools/script/scriptprojectpart.cpp
index 8f6b5fb4..ef4fb16f 100644
--- a/buildtools/script/scriptprojectpart.cpp
+++ b/buildtools/script/scriptprojectpart.cpp
@@ -23,32 +23,32 @@
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kdevgenericfactory.h>
-#include <kdevcreatefile.h>
+#include <tdevgenericfactory.h>
+#include <tdevcreatefile.h>
#include <kdirwatch.h>
#include "domutil.h"
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
-#include "kdevpartcontroller.h"
-#include "kdevlanguagesupport.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
+#include "tdevpartcontroller.h"
+#include "tdevlanguagesupport.h"
#include "scriptoptionswidget.h"
#include "scriptnewfiledlg.h"
-#include "kdevplugininfo.h"
+#include "tdevplugininfo.h"
-typedef KDevGenericFactory<ScriptProjectPart> ScriptProjectFactory;
-static const KDevPluginInfo data("kdevscriptproject");
-K_EXPORT_COMPONENT_FACTORY( libkdevscriptproject, ScriptProjectFactory( data ) )
+typedef TDevGenericFactory<ScriptProjectPart> ScriptProjectFactory;
+static const TDevPluginInfo data("tdevscriptproject");
+K_EXPORT_COMPONENT_FACTORY( libtdevscriptproject, ScriptProjectFactory( data ) )
ScriptProjectPart::ScriptProjectPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevBuildTool(&data, parent, name ? name : "ScriptProjectPart")
+ : TDevBuildTool(&data, parent, name ? name : "ScriptProjectPart")
{
setInstance(ScriptProjectFactory::instance());
- setXMLFile("kdevscriptproject.rc");
+ setXMLFile("tdevscriptproject.rc");
// only create new file action if file creation part not available
- if (!extension<KDevCreateFile>("TDevelop/CreateFile")) {
+ if (!extension<TDevCreateFile>("TDevelop/CreateFile")) {
TDEAction *action;
action = new TDEAction( i18n("New File..."), 0,
this, TQT_SLOT(slotNewFile()),
@@ -148,7 +148,7 @@ void ScriptProjectPart::openProject(const TQString &dirName, const TQString &pro
}
} while (!s.isEmpty());
- KDevProject::openProject( dirName, projectName );
+ TDevProject::openProject( dirName, projectName );
}
@@ -192,7 +192,7 @@ DomUtil::PairList ScriptProjectPart::runEnvironmentVars() const
*/
TQString ScriptProjectPart::runDirectory() const
{
- TQString cwd = defaultRunDirectory("kdevscriptproject");
+ TQString cwd = defaultRunDirectory("tdevscriptproject");
if (cwd.isEmpty())
cwd = buildDirectory();
return cwd;
diff --git a/buildtools/script/scriptprojectpart.h b/buildtools/script/scriptprojectpart.h
index 92087991..2c3023ad 100644
--- a/buildtools/script/scriptprojectpart.h
+++ b/buildtools/script/scriptprojectpart.h
@@ -15,14 +15,14 @@
#include <tqdict.h>
#include <tqguardedptr.h>
-#include "kdevbuildtool.h"
+#include "tdevbuildtool.h"
class TQListViewItem;
class TQStringList;
class KDialogBase;
class ScriptProjectWidget;
-class ScriptProjectPart : public KDevBuildTool
+class ScriptProjectPart : public TDevBuildTool
{
Q_OBJECT
diff --git a/buildtools/script/kdevscriptproject.desktop b/buildtools/script/tdevscriptproject.desktop
index 6e135c16..9ba87c9f 100644
--- a/buildtools/script/kdevscriptproject.desktop
+++ b/buildtools/script/tdevscriptproject.desktop
@@ -83,5 +83,5 @@ GenericName[zh_CN]=脚本语言工程
GenericName[zh_TW]=文稿語言專案
ServiceTypes=TDevelop/Project
Icon=tdevelop
-X-TDE-Library=libkdevscriptproject
+X-TDE-Library=libtdevscriptproject
X-TDevelop-Version=5
diff --git a/buildtools/script/kdevscriptproject.rc b/buildtools/script/tdevscriptproject.rc
index 651b10b4..d15c3dc2 100644
--- a/buildtools/script/kdevscriptproject.rc
+++ b/buildtools/script/tdevscriptproject.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="KDevCustomProject" version="2">
+<kpartgui name="TDevCustomProject" version="2">
<MenuBar>
<Menu name="file" >
<Action name="file_newfile" />