summaryrefslogtreecommitdiffstats
path: root/parts/texttools
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/texttools
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'parts/texttools')
-rw-r--r--parts/texttools/CMakeLists.txt6
-rw-r--r--parts/texttools/Makefile.am14
-rw-r--r--parts/texttools/kdevtexttools.desktop (renamed from parts/texttools/tdevtexttools.desktop)2
-rw-r--r--parts/texttools/texttoolspart.cpp18
-rw-r--r--parts/texttools/texttoolspart.h4
-rw-r--r--parts/texttools/texttoolswidget.cpp4
6 files changed, 24 insertions, 24 deletions
diff --git a/parts/texttools/CMakeLists.txt b/parts/texttools/CMakeLists.txt
index 4a893dd4..2ed4221c 100644
--- a/parts/texttools/CMakeLists.txt
+++ b/parts/texttools/CMakeLists.txt
@@ -26,12 +26,12 @@ link_directories(
##### other data ################################
-install( FILES tdevtexttools.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevtexttools.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libtdevtexttools (module) #################
+##### libkdevtexttools (module) #################
-tde_add_kpart( libtdevtexttools AUTOMOC
+tde_add_kpart( libkdevtexttools AUTOMOC
SOURCES texttoolspart.cpp texttoolswidget.cpp
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/texttools/Makefile.am b/parts/texttools/Makefile.am
index 105eec32..725133be 100644
--- a/parts/texttools/Makefile.am
+++ b/parts/texttools/Makefile.am
@@ -2,17 +2,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/sourceinfo -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libtdevtexttools.la
-libtdevtexttools_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libtdevtexttools_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libkdevtexttools.la
+libkdevtexttools_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libkdevtexttools_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libtdevtexttools_la_SOURCES = texttoolspart.cpp texttoolswidget.cpp
+libkdevtexttools_la_SOURCES = texttoolspart.cpp texttoolswidget.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = tdevtexttools.desktop
+service_DATA = kdevtexttools.desktop
# not used currently
-#rcdir = $(kde_datadir)/tdevtexttools
-#rc_DATA = tdevtexttools.rc
+#rcdir = $(kde_datadir)/kdevtexttools
+#rc_DATA = kdevtexttools.rc
diff --git a/parts/texttools/tdevtexttools.desktop b/parts/texttools/kdevtexttools.desktop
index c9caf618..fd5fc736 100644
--- a/parts/texttools/tdevtexttools.desktop
+++ b/parts/texttools/kdevtexttools.desktop
@@ -78,7 +78,7 @@ GenericName[tr]=Metin Yapısı
GenericName[zh_CN]=文件结构
GenericName[zh_TW]=文字結構
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libtdevtexttools
+X-TDE-Library=libkdevtexttools
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=CodeNavigation
diff --git a/parts/texttools/texttoolspart.cpp b/parts/texttools/texttoolspart.cpp
index 857e2bec..4453030a 100644
--- a/parts/texttools/texttoolspart.cpp
+++ b/parts/texttools/texttoolspart.cpp
@@ -14,25 +14,25 @@
#include <tqwhatsthis.h>
#include <kdebug.h>
#include <tdelocale.h>
-#include <tdevgenericfactory.h>
-#include <tdevplugininfo.h>
+#include <kdevgenericfactory.h>
+#include <kdevplugininfo.h>
#include <tdetexteditor/editinterface.h>
-#include "tdevpartcontroller.h"
-#include "tdevmainwindow.h"
+#include "kdevpartcontroller.h"
+#include "kdevmainwindow.h"
#include "texttoolswidget.h"
-typedef TDevGenericFactory<TextToolsPart> TextToolsFactory;
-static const TDevPluginInfo data("tdevtexttools");
-K_EXPORT_COMPONENT_FACTORY( libtdevtexttools, TextToolsFactory( data ) )
+typedef KDevGenericFactory<TextToolsPart> TextToolsFactory;
+static const KDevPluginInfo data("kdevtexttools");
+K_EXPORT_COMPONENT_FACTORY( libkdevtexttools, TextToolsFactory( data ) )
TextToolsPart::TextToolsPart(TQObject *parent, const char *name, const TQStringList &)
- : TDevPlugin(&data, parent, name ? name : "TextToolsPart")
+ : KDevPlugin(&data, parent, name ? name : "TextToolsPart")
{
setInstance(TextToolsFactory::instance());
- // setXMLFile("tdevfileview.rc");
+ // setXMLFile("kdevfileview.rc");
m_widget = 0;
diff --git a/parts/texttools/texttoolspart.h b/parts/texttools/texttoolspart.h
index fa911d98..0d822a65 100644
--- a/parts/texttools/texttoolspart.h
+++ b/parts/texttools/texttoolspart.h
@@ -14,12 +14,12 @@
#include <tqguardedptr.h>
#include <tdeparts/part.h>
-#include "tdevplugin.h"
+#include "kdevplugin.h"
class TextToolsWidget;
-class TextToolsPart : public TDevPlugin
+class TextToolsPart : public KDevPlugin
{
Q_OBJECT
diff --git a/parts/texttools/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index ebf0c56b..db2f0acc 100644
--- a/parts/texttools/texttoolswidget.cpp
+++ b/parts/texttools/texttoolswidget.cpp
@@ -22,8 +22,8 @@
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/editinterface.h>
-#include "tdevmainwindow.h"
-#include "tdevpartcontroller.h"
+#include "kdevmainwindow.h"
+#include "kdevpartcontroller.h"
#include "texttoolspart.h"