summaryrefslogtreecommitdiffstats
path: root/parts/openwith
diff options
context:
space:
mode:
Diffstat (limited to 'parts/openwith')
-rw-r--r--parts/openwith/CMakeLists.txt6
-rw-r--r--parts/openwith/Makefile.am10
-rw-r--r--parts/openwith/kdevopenwith.desktop (renamed from parts/openwith/tdevopenwith.desktop)2
-rw-r--r--parts/openwith/openwithpart.cpp16
-rw-r--r--parts/openwith/openwithpart.h4
5 files changed, 19 insertions, 19 deletions
diff --git a/parts/openwith/CMakeLists.txt b/parts/openwith/CMakeLists.txt
index d870a3e0..8384bdaa 100644
--- a/parts/openwith/CMakeLists.txt
+++ b/parts/openwith/CMakeLists.txt
@@ -26,12 +26,12 @@ link_directories(
##### other data ################################
-install( FILES tdevopenwith.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevopenwith.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libtdevopenwith (module) ##################
+##### libkdevopenwith (module) ##################
-tde_add_kpart( libtdevopenwith AUTOMOC
+tde_add_kpart( libkdevopenwith AUTOMOC
SOURCES openwithpart.cpp
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/openwith/Makefile.am b/parts/openwith/Makefile.am
index 316572ef..57503a0e 100644
--- a/parts/openwith/Makefile.am
+++ b/parts/openwith/Makefile.am
@@ -2,14 +2,14 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libtdevopenwith.la
-libtdevopenwith_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libtdevopenwith_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libkdevopenwith.la
+libkdevopenwith_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libkdevopenwith_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libtdevopenwith_la_SOURCES = openwithpart.cpp
+libkdevopenwith_la_SOURCES = openwithpart.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = tdevopenwith.desktop
+service_DATA = kdevopenwith.desktop
diff --git a/parts/openwith/tdevopenwith.desktop b/parts/openwith/kdevopenwith.desktop
index fa1be30d..0108daaa 100644
--- a/parts/openwith/tdevopenwith.desktop
+++ b/parts/openwith/kdevopenwith.desktop
@@ -76,7 +76,7 @@ GenericName[zh_CN]=“打开方式”菜单项
GenericName[zh_TW]="開啟方式"選單
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libtdevopenwith
+X-TDE-Library=libkdevopenwith
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=GlobalFileManagement,FileOpenWith
diff --git a/parts/openwith/openwithpart.cpp b/parts/openwith/openwithpart.cpp
index a223f193..63fcc6d9 100644
--- a/parts/openwith/openwithpart.cpp
+++ b/parts/openwith/openwithpart.cpp
@@ -3,7 +3,7 @@
#include <tqfile.h>
#include <tdepopupmenu.h>
-#include <tdevgenericfactory.h>
+#include <kdevgenericfactory.h>
#include <kdebug.h>
#include <kmimetype.h>
#include <ktrader.h>
@@ -11,18 +11,18 @@
#include <tdeaction.h>
#include <kcharsets.h>
-#include "tdevpartcontroller.h"
-#include "tdevcore.h"
-#include "tdevplugininfo.h"
+#include "kdevpartcontroller.h"
+#include "kdevcore.h"
+#include "kdevplugininfo.h"
#include "urlutil.h"
-typedef TDevGenericFactory<OpenWithPart> OpenWithFactory;
+typedef KDevGenericFactory<OpenWithPart> OpenWithFactory;
-static const TDevPluginInfo data("tdevopenwith");
-K_EXPORT_COMPONENT_FACTORY(libtdevopenwith, OpenWithFactory(data))
+static const KDevPluginInfo data("kdevopenwith");
+K_EXPORT_COMPONENT_FACTORY(libkdevopenwith, OpenWithFactory(data))
OpenWithPart::OpenWithPart(TQObject *parent, const char *name, const TQStringList &)
- : TDevPlugin(&data, parent, name ? name : "OpenWithPart")
+ : KDevPlugin(&data, parent, name ? name : "OpenWithPart")
{
setInstance( OpenWithFactory::instance() );
diff --git a/parts/openwith/openwithpart.h b/parts/openwith/openwithpart.h
index 0c9a20ac..bd338a3f 100644
--- a/parts/openwith/openwithpart.h
+++ b/parts/openwith/openwithpart.h
@@ -3,13 +3,13 @@
#include <kurl.h>
-#include "tdevplugin.h"
+#include "kdevplugin.h"
class TQPopupMenu;
class Context;
-class OpenWithPart : public TDevPlugin
+class OpenWithPart : public KDevPlugin
{
Q_OBJECT