summaryrefslogtreecommitdiffstats
path: root/parts/scripting
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /parts/scripting
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'parts/scripting')
-rw-r--r--parts/scripting/CMakeLists.txt8
-rw-r--r--parts/scripting/Makefile.am16
-rw-r--r--parts/scripting/kdevscripting.desktop (renamed from parts/scripting/tdevscripting.desktop)2
-rw-r--r--parts/scripting/kdevscripting.rc (renamed from parts/scripting/tdevscripting.rc)0
-rw-r--r--parts/scripting/scriptingpart.cpp18
-rw-r--r--parts/scripting/scriptingpart.h8
6 files changed, 26 insertions, 26 deletions
diff --git a/parts/scripting/CMakeLists.txt b/parts/scripting/CMakeLists.txt
index 371cf8f6..f906bd02 100644
--- a/parts/scripting/CMakeLists.txt
+++ b/parts/scripting/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES tdevscripting.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES tdevscripting.rc DESTINATION ${DATA_INSTALL_DIR}/tdevscripting )
+install( FILES kdevscripting.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevscripting.rc DESTINATION ${DATA_INSTALL_DIR}/kdevscripting )
-##### libtdevscripting (module) #################
+##### libkdevscripting (module) #################
-tde_add_kpart( libtdevscripting AUTOMOC
+tde_add_kpart( libkdevscripting AUTOMOC
SOURCES
scriptingpart.cpp scriptingglobalconfigbase.ui
scriptingglobalconfig.cpp
diff --git a/parts/scripting/Makefile.am b/parts/scripting/Makefile.am
index 9de6d889..7262dac9 100644
--- a/parts/scripting/Makefile.am
+++ b/parts/scripting/Makefile.am
@@ -1,20 +1,20 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libtdevscripting.la
-libtdevscripting_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libtdevscripting_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libkdevscripting.la
+libkdevscripting_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libkdevscripting_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libtdevscripting_la_SOURCES = scriptingpart.cpp scriptingglobalconfigbase.ui \
+libkdevscripting_la_SOURCES = scriptingpart.cpp scriptingglobalconfigbase.ui \
scriptingglobalconfig.cpp
METASOURCES = AUTO
-appsharedir = $(kde_datadir)/tdevscripting
+appsharedir = $(kde_datadir)/kdevscripting
appshare_DATA =
servicedir = $(kde_servicesdir)
-service_DATA = tdevscripting.desktop
+service_DATA = kdevscripting.desktop
-rcdir = $(kde_datadir)/tdevscripting
-rc_DATA = tdevscripting.rc
+rcdir = $(kde_datadir)/kdevscripting
+rc_DATA = kdevscripting.rc
noinst_HEADERS = scriptingglobalconfig.h scriptingpart.h
diff --git a/parts/scripting/tdevscripting.desktop b/parts/scripting/kdevscripting.desktop
index afa0cc10..22ef15e8 100644
--- a/parts/scripting/tdevscripting.desktop
+++ b/parts/scripting/kdevscripting.desktop
@@ -72,6 +72,6 @@ X-TDevelop-Plugin-Copyright=(C) by ian reinhart geiser
X-TDevelop-Args=
X-TDevelop-Scope=Global
-X-TDE-Library=libtdevscripting
+X-TDE-Library=libkdevscripting
X-TDevelop-Version=5
X-TDevelop-Properties=CodeEditing
diff --git a/parts/scripting/tdevscripting.rc b/parts/scripting/kdevscripting.rc
index 217bece1..217bece1 100644
--- a/parts/scripting/tdevscripting.rc
+++ b/parts/scripting/kdevscripting.rc
diff --git a/parts/scripting/scriptingpart.cpp b/parts/scripting/scriptingpart.cpp
index 4ebee2b0..80a33c9e 100644
--- a/parts/scripting/scriptingpart.cpp
+++ b/parts/scripting/scriptingpart.cpp
@@ -29,29 +29,29 @@
#include <kdialogbase.h>
#include <kiconloader.h>
#include <tdemessagebox.h>
-#include <tdevplugininfo.h>
-#include <tdevgenericfactory.h>
+#include <kdevplugininfo.h>
+#include <kdevgenericfactory.h>
-#include <tdevcore.h>
-#include <tdevmainwindow.h>
+#include <kdevcore.h>
+#include <kdevmainwindow.h>
#include <configwidgetproxy.h>
#include <tdeapplication.h>
#include <tdeconfig.h>
#include "scriptingglobalconfig.h"
#include "tdescriptactionmanager.h"
-typedef TDevGenericFactory<scriptingPart> scriptingFactory;
-TDevPluginInfo data("tdevscripting");
-K_EXPORT_COMPONENT_FACTORY( libtdevscripting, scriptingFactory( data ) )
+typedef KDevGenericFactory<scriptingPart> scriptingFactory;
+KDevPluginInfo data("kdevscripting");
+K_EXPORT_COMPONENT_FACTORY( libkdevscripting, scriptingFactory( data ) )
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
scriptingPart::scriptingPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
- : TDevPlugin(&data, parent, name ? name : "scriptingPart"), m_scripts(0L)
+ : KDevPlugin(&data, parent, name ? name : "scriptingPart"), m_scripts(0L)
{
setInstance(scriptingFactory::instance());
- setXMLFile("tdevscripting.rc");
+ setXMLFile("kdevscripting.rc");
m_configProxy = new ConfigWidgetProxy(core());
m_configProxy->createGlobalConfigPage(i18n("Scripting"), GLOBALDOC_OPTIONS, info()->icon());
diff --git a/parts/scripting/scriptingpart.h b/parts/scripting/scriptingpart.h
index ca6bafd9..832318b9 100644
--- a/parts/scripting/scriptingpart.h
+++ b/parts/scripting/scriptingpart.h
@@ -18,10 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef TDEVSCRIPTING_H
-#define TDEVSCRIPTING_H
+#ifndef KDEVSCRIPTING_H
+#define KDEVSCRIPTING_H
-#include <tdevplugin.h>
+#include <kdevplugin.h>
#include <tqguardedptr.h>
@@ -34,7 +34,7 @@ class KScriptActionManager;
/**
Please read the README.dox file for more info about this part
*/
-class scriptingPart: public TDevPlugin
+class scriptingPart: public KDevPlugin
{
Q_OBJECT