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