summaryrefslogtreecommitdiffstats
path: root/parts/diff
diff options
context:
space:
mode:
Diffstat (limited to 'parts/diff')
-rw-r--r--parts/diff/CMakeLists.txt8
-rw-r--r--parts/diff/Makefile.am14
-rw-r--r--parts/diff/diffpart.cpp22
-rw-r--r--parts/diff/diffpart.h6
-rw-r--r--parts/diff/diffwidget.cpp2
-rw-r--r--parts/diff/tdevdiff.desktop (renamed from parts/diff/kdevdiff.desktop)4
-rw-r--r--parts/diff/tdevdiff.rc (renamed from parts/diff/kdevdiff.rc)2
7 files changed, 29 insertions, 29 deletions
diff --git a/parts/diff/CMakeLists.txt b/parts/diff/CMakeLists.txt
index 09987fd7..a4135dc6 100644
--- a/parts/diff/CMakeLists.txt
+++ b/parts/diff/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES kdevdiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevdiff.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdiff )
+install( FILES tdevdiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevdiff.rc DESTINATION ${DATA_INSTALL_DIR}/tdevdiff )
-##### libkdevdiff (module) ######################
+##### libtdevdiff (module) ######################
-tde_add_kpart( libkdevdiff AUTOMOC
+tde_add_kpart( libtdevdiff AUTOMOC
SOURCES diffpart.cpp diffwidget.cpp
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/diff/Makefile.am b/parts/diff/Makefile.am
index ea521442..3d9396eb 100644
--- a/parts/diff/Makefile.am
+++ b/parts/diff/Makefile.am
@@ -3,16 +3,16 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions $(all_includes)
-kde_module_LTLIBRARIES = libkdevdiff.la
-libkdevdiff_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevdiff_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevdiff.la
+libtdevdiff_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevdiff_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevdiff_la_SOURCES = diffpart.cpp diffwidget.cpp
+libtdevdiff_la_SOURCES = diffpart.cpp diffwidget.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevdiff.desktop
+service_DATA = tdevdiff.desktop
-rcdir = $(kde_datadir)/kdevdiff
-rc_DATA = kdevdiff.rc
+rcdir = $(kde_datadir)/tdevdiff
+rc_DATA = tdevdiff.rc
diff --git a/parts/diff/diffpart.cpp b/parts/diff/diffpart.cpp
index a0dbafdd..b48e8136 100644
--- a/parts/diff/diffpart.cpp
+++ b/parts/diff/diffpart.cpp
@@ -16,7 +16,7 @@
#include <tqpopupmenu.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdeaction.h>
#include <tdefiledialog.h>
#include <kprocess.h>
@@ -28,24 +28,24 @@
#include <kdebug.h>
#include <kiconloader.h>
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
-#include "kdevpartcontroller.h"
-#include "kdevplugininfo.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
+#include "tdevpartcontroller.h"
+#include "tdevplugininfo.h"
#include "diffdlg.h"
#include "diffwidget.h"
-static const KDevPluginInfo data("kdevdiff");
+static const TDevPluginInfo data("tdevdiff");
-typedef KDevGenericFactory<DiffPart> DiffFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevdiff, DiffFactory( data ) )
+typedef TDevGenericFactory<DiffPart> DiffFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevdiff, DiffFactory( data ) )
DiffPart::DiffPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevDiffFrontend(&data, parent, name ? name : "DiffPart"), proc(0)
+ : TDevDiffFrontend(&data, parent, name ? name : "DiffPart"), proc(0)
{
setInstance(DiffFactory::instance());
- setXMLFile("kdevdiff.rc");
+ setXMLFile("tdevdiff.rc");
diffWidget = new DiffWidget(this, 0, "diffWidget");
diffWidget->setIcon( SmallIcon("editcopy") );
@@ -83,7 +83,7 @@ static bool urlIsEqual(const KURL &a, const KURL &b)
return a == b;
}
-static KParts::ReadWritePart* partForURL(const KURL &url, KDevPartController* pc)
+static KParts::ReadWritePart* partForURL(const KURL &url, TDevPartController* pc)
{
if ( !pc )
return 0;
diff --git a/parts/diff/diffpart.h b/parts/diff/diffpart.h
index 6fe89efe..984c2c06 100644
--- a/parts/diff/diffpart.h
+++ b/parts/diff/diffpart.h
@@ -15,8 +15,8 @@
#include <tqguardedptr.h>
#include <tqcstring.h>
-#include "kdevplugin.h"
-#include "kdevdifffrontend.h"
+#include "tdevplugin.h"
+#include "tdevdifffrontend.h"
class TQPopupMenu;
class Context;
@@ -24,7 +24,7 @@ class TDEProcess;
class DiffWidget;
class TQCString;
-class DiffPart : public KDevDiffFrontend
+class DiffPart : public TDevDiffFrontend
{
Q_OBJECT
diff --git a/parts/diff/diffwidget.cpp b/parts/diff/diffwidget.cpp
index 51dabcaf..24435611 100644
--- a/parts/diff/diffwidget.cpp
+++ b/parts/diff/diffwidget.cpp
@@ -31,7 +31,7 @@
#include <tdeio/jobclasses.h>
#include <tdeio/job.h>
-#include <kdevmainwindow.h>
+#include <tdevmainwindow.h>
#include "diffpart.h"
#include "diffwidget.h"
diff --git a/parts/diff/kdevdiff.desktop b/parts/diff/tdevdiff.desktop
index 13b22e9f..db2d0428 100644
--- a/parts/diff/kdevdiff.desktop
+++ b/parts/diff/tdevdiff.desktop
@@ -35,7 +35,7 @@ Comment[tg]=Намоишгари фарқкунанда
Comment[tr]=Fark Görüntüleyicisi
Comment[zh_CN]=差别查看器
Comment[zh_TW]=比較檢視器
-Name=KDevDiff
+Name=TDevDiff
Name[da]=TDevelop diff-fremviser
Name[de]=Abweichungsansicht (TDevelop)
Name[hi]=के-डेव-डिफ़
@@ -78,7 +78,7 @@ GenericName[tr]=Fark Görüntüleyicisi
GenericName[zh_CN]=差别查看器
GenericName[zh_TW]=比較檢視器
ServiceTypes=TDevelop/DiffFrontend
-X-TDE-Library=libkdevdiff
+X-TDE-Library=libtdevdiff
X-TDevelop-Version=5
X-TDevelop-Properties=CodeEditing
X-TDevelop-Scope=Core
diff --git a/parts/diff/kdevdiff.rc b/parts/diff/tdevdiff.rc
index 37059573..ca944508 100644
--- a/parts/diff/kdevdiff.rc
+++ b/parts/diff/tdevdiff.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="KDevDiff" version="1">
+<kpartgui name="TDevDiff" version="1">
<MenuBar>
<Menu name="tools" >
<Action name="tools_diff" group="tools_file_operations"/>