diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
commit | 6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch) | |
tree | ab69e390f7962b7e7dda1a3a64f035c61c751cf4 /parts/openwith | |
parent | aba2788b428dc53243407902e9ccbb20b97a69fd (diff) | |
download | tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip |
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
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/kdevopenwith.desktop (renamed from parts/openwith/tdevopenwith.desktop) | 2 | ||||
-rw-r--r-- | parts/openwith/openwithpart.cpp | 16 | ||||
-rw-r--r-- | parts/openwith/openwithpart.h | 4 |
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 |