summaryrefslogtreecommitdiffstats
path: root/languages/kjssupport
diff options
context:
space:
mode:
Diffstat (limited to 'languages/kjssupport')
-rw-r--r--languages/kjssupport/Makefile.am14
-rw-r--r--languages/kjssupport/jscodecompletion.cpp10
-rw-r--r--languages/kjssupport/jscodecompletion.h2
-rw-r--r--languages/kjssupport/kjssupport_part.cpp22
-rw-r--r--languages/kjssupport/kjssupport_part.h8
-rw-r--r--languages/kjssupport/subclassing_template/Makefile.am2
-rw-r--r--languages/kjssupport/subclassingdlg.cpp2
-rw-r--r--languages/kjssupport/tdevkjssupport.desktop (renamed from languages/kjssupport/kdevkjssupport.desktop)2
-rw-r--r--languages/kjssupport/tdevkjssupport.rc (renamed from languages/kjssupport/kdevkjssupport.rc)0
-rw-r--r--languages/kjssupport/template/Makefile.am2
-rw-r--r--languages/kjssupport/template/app.tdevelop20
-rw-r--r--languages/kjssupport/template/script2
12 files changed, 43 insertions, 43 deletions
diff --git a/languages/kjssupport/Makefile.am b/languages/kjssupport/Makefile.am
index 72cc722b..1fd1839b 100644
--- a/languages/kjssupport/Makefile.am
+++ b/languages/kjssupport/Makefile.am
@@ -1,22 +1,22 @@
INCLUDES = -I$(kde_includes)/tdevelop $(all_includes)
-kde_module_LTLIBRARIES = libkdevkjssupport.la
-libkdevkjssupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevkjssupport_la_LIBADD = -lkjsembed -ltdevelop
-libkdevkjssupport_la_SOURCES = kjssupport_part.cpp kjsproblems.cpp jscodecompletion.cpp subclassingdlg.cpp subclassingdlgbase.ui
+kde_module_LTLIBRARIES = libtdevkjssupport.la
+libtdevkjssupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevkjssupport_la_LIBADD = -lkjsembed -ltdevelop
+libtdevkjssupport_la_SOURCES = kjssupport_part.cpp kjsproblems.cpp jscodecompletion.cpp subclassingdlg.cpp subclassingdlgbase.ui
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevkjssupport.desktop
+service_DATA = tdevkjssupport.desktop
mimesrcdir = $(kde_mimedir)/text
mimesrc_DATA = x-javascript-source.desktop
EXTRA_DIST = $(mimesrc_DATA)
-rcdir = $(kde_datadir)/kdevkjssupport
-rc_DATA = kdevkjssupport.rc
+rcdir = $(kde_datadir)/tdevkjssupport
+rc_DATA = tdevkjssupport.rc
SUBDIRS = template subclassing_template
noinst_HEADERS = kjsproblems.h
diff --git a/languages/kjssupport/jscodecompletion.cpp b/languages/kjssupport/jscodecompletion.cpp
index 436e0a95..b8f361a4 100644
--- a/languages/kjssupport/jscodecompletion.cpp
+++ b/languages/kjssupport/jscodecompletion.cpp
@@ -28,12 +28,12 @@
#include <kdialogbase.h>
-#include <tdevelop/kdevcore.h>
+#include <tdevelop/tdevcore.h>
#include <tdevelop/kdevmainwindow.h>
-#include <tdevelop/kdevlanguagesupport.h>
-#include <tdevelop/kdevpartcontroller.h>
-#include <tdevelop/kdevproject.h>
-#include <tdevelop/kdevappfrontend.h>
+#include <tdevelop/tdevlanguagesupport.h>
+#include <tdevelop/tdevpartcontroller.h>
+#include <tdevelop/tdevproject.h>
+#include <tdevelop/tdevappfrontend.h>
#include <tdevelop/domutil.h>
#include <tdevelop/codemodel.h>
diff --git a/languages/kjssupport/jscodecompletion.h b/languages/kjssupport/jscodecompletion.h
index f1d18a70..9e4434bb 100644
--- a/languages/kjssupport/jscodecompletion.h
+++ b/languages/kjssupport/jscodecompletion.h
@@ -15,7 +15,7 @@
#include <tqobject.h>
#include <tdevelop/codemodel.h>
#include <tdevelop/kdevplugin.h>
-#include <tdevelop/kdevlanguagesupport.h>
+#include <tdevelop/tdevlanguagesupport.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
diff --git a/languages/kjssupport/kjssupport_part.cpp b/languages/kjssupport/kjssupport_part.cpp
index 4a3dbc25..69311ac3 100644
--- a/languages/kjssupport/kjssupport_part.cpp
+++ b/languages/kjssupport/kjssupport_part.cpp
@@ -26,15 +26,15 @@
#include <kiconloader.h>
#include <tdelocale.h>
#include <kgenericfactory.h>
-#include <kdevcore.h>
-#include <kdevpartcontroller.h>
-#include <kdevmainwindow.h>
+#include <tdevcore.h>
+#include <tdevpartcontroller.h>
+#include <tdevmainwindow.h>
#include <domutil.h>
#include <codemodel.h>
#include <tdeparts/part.h>
-#include <kdevproject.h>
+#include <tdevproject.h>
#include <tdeaction.h>
#include <kdebug.h>
#include <tdeapplication.h>
@@ -42,16 +42,16 @@
#include <kjsembed/kjsembedpart.h>
#include <kjsembed/jsconsolewidget.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include "kjssupport_part.h"
#include "kjsproblems.h"
#include "jscodecompletion.h"
#include "subclassingdlg.h"
-typedef KDevGenericFactory<kjsSupportPart> kjsSupportFactory;
-static const KDevPluginInfo data("kdevkjssupport");
-K_EXPORT_COMPONENT_FACTORY( libkdevkjssupport, kjsSupportFactory( data ) );
+typedef TDevGenericFactory<kjsSupportPart> kjsSupportFactory;
+static const TDevPluginInfo data("tdevkjssupport");
+K_EXPORT_COMPONENT_FACTORY( libtdevkjssupport, kjsSupportFactory( data ) );
class typeProperty
@@ -63,10 +63,10 @@ class typeProperty
};
kjsSupportPart::kjsSupportPart(TQObject *parent, const char *name, const TQStringList& )
-: KDevLanguageSupport(&data, parent, name ? name : "kjsSupportPart" )
+: TDevLanguageSupport(&data, parent, name ? name : "kjsSupportPart" )
{
setInstance(kjsSupportFactory::instance());
- setXMLFile("kdevkjssupport.rc");
+ setXMLFile("tdevkjssupport.rc");
m_build = new TDEAction( i18n("&Run"), "exec",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" );
@@ -104,7 +104,7 @@ kjsSupportPart::~kjsSupportPart()
delete m_js;
}
-KDevLanguageSupport::Features kjsSupportPart::features()
+TDevLanguageSupport::Features kjsSupportPart::features()
{
return Features(Classes | Variables | Functions);
}
diff --git a/languages/kjssupport/kjssupport_part.h b/languages/kjssupport/kjssupport_part.h
index 4572b9a2..59b5dae4 100644
--- a/languages/kjssupport/kjssupport_part.h
+++ b/languages/kjssupport/kjssupport_part.h
@@ -17,13 +17,13 @@
*/
-#ifndef __KDEVPART_KJSSUPPORT_H__
-#define __KDEVPART_KJSSUPPORT_H__
+#ifndef __TDEVPART_KJSSUPPORT_H__
+#define __TDEVPART_KJSSUPPORT_H__
#include <tdevelop/kdevplugin.h>
#include <tdevelop/codemodel.h>
-#include <tdevelop/kdevlanguagesupport.h>
+#include <tdevelop/tdevlanguagesupport.h>
#include <kdialogbase.h>
#include <tqstringlist.h>
#include <tqdict.h>
@@ -43,7 +43,7 @@ class Context;
class typeProperty;
-class kjsSupportPart : public KDevLanguageSupport
+class kjsSupportPart : public TDevLanguageSupport
{
Q_OBJECT
diff --git a/languages/kjssupport/subclassing_template/Makefile.am b/languages/kjssupport/subclassing_template/Makefile.am
index 8c99d172..bafadb4e 100644
--- a/languages/kjssupport/subclassing_template/Makefile.am
+++ b/languages/kjssupport/subclassing_template/Makefile.am
@@ -1,3 +1,3 @@
-kjssupportdatadir = ${kde_datadir}/kdevkjssupport
+kjssupportdatadir = ${kde_datadir}/tdevkjssupport
subclassingdir = ${kjssupportdatadir}/subclassing
subclassing_DATA = subclass_template.js
diff --git a/languages/kjssupport/subclassingdlg.cpp b/languages/kjssupport/subclassingdlg.cpp
index 513e0180..260e2d49 100644
--- a/languages/kjssupport/subclassingdlg.cpp
+++ b/languages/kjssupport/subclassingdlg.cpp
@@ -17,7 +17,7 @@
#include "store_walker.h"
#include "cppsupportfactory.h"*/
#include <tdevelop/kdevsourceformatter.h>
-#include <tdevelop/kdevproject.h>
+#include <tdevelop/tdevproject.h>
#include <tdevelop/filetemplate.h>
#include <tdevelop/codemodel.h>
diff --git a/languages/kjssupport/kdevkjssupport.desktop b/languages/kjssupport/tdevkjssupport.desktop
index e972cd18..02640f78 100644
--- a/languages/kjssupport/kdevkjssupport.desktop
+++ b/languages/kjssupport/tdevkjssupport.desktop
@@ -50,5 +50,5 @@ GenericName[zh_TW]=TDE JavaScript 支援
Icon=tdevelop
ServiceTypes=TDevelop/LanguageSupport
X-TDevelop-Language=Javascript
-X-TDE-Library=libkdevkjssupport
+X-TDE-Library=libtdevkjssupport
X-TDevelop-Version=3
diff --git a/languages/kjssupport/kdevkjssupport.rc b/languages/kjssupport/tdevkjssupport.rc
index e48fc863..e48fc863 100644
--- a/languages/kjssupport/kdevkjssupport.rc
+++ b/languages/kjssupport/tdevkjssupport.rc
diff --git a/languages/kjssupport/template/Makefile.am b/languages/kjssupport/template/Makefile.am
index 284227b7..fd902e1a 100644
--- a/languages/kjssupport/template/Makefile.am
+++ b/languages/kjssupport/template/Makefile.am
@@ -1,4 +1,4 @@
-appwizarddatadir = ${kde_datadir}/kdevappwizard
+appwizarddatadir = ${kde_datadir}/tdevappwizard
commondatadir = ${appwizarddatadir}/template-common
jshellodir = ${appwizarddatadir}/template-jshello
templatedir = ${appwizarddatadir}/templates
diff --git a/languages/kjssupport/template/app.tdevelop b/languages/kjssupport/template/app.tdevelop
index cbef8262..d1e55b10 100644
--- a/languages/kjssupport/template/app.tdevelop
+++ b/languages/kjssupport/template/app.tdevelop
@@ -10,24 +10,24 @@
<keyword>Javascript</keyword>
</keywords>
<ignoreparts>
- <part>KDevFileView</part>
+ <part>TDevFileView</part>
<part>KDevdistpart</part>
- <part>KDevDebugger</part>
+ <part>TDevDebugger</part>
</ignoreparts>
</general>
- <kdevscriptproject>
+ <tdevscriptproject>
<general>
<activedir>src</activedir>
<includepatterns>*.js</includepatterns>
<excludepatterns>*~</excludepatterns>
</general>
- </kdevscriptproject>
- <kdevfileview>
+ </tdevscriptproject>
+ <tdevfileview>
<groups>
<group pattern="*.js" name="Scripts" />
</groups>
- </kdevfileview>
- <kdevdoctreeview>
+ </tdevfileview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>kde</toc>
<toc>gtk</toc>
@@ -36,10 +36,10 @@
<toc>perl</toc>
<toc>php</toc>
</ignoretocs>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="js"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/languages/kjssupport/template/script b/languages/kjssupport/template/script
index 1473d762..3ed2602c 100644
--- a/languages/kjssupport/template/script
+++ b/languages/kjssupport/template/script
@@ -1,4 +1,4 @@
-#!perl -I/usr/kde/3.1/share/apps/kdevappwizard/template-common
+#!perl -I/usr/kde/3.1/share/apps/tdevappwizard/template-common
use gideon;