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/partexplorer | |
parent | aba2788b428dc53243407902e9ccbb20b97a69fd (diff) | |
download | tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip |
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'parts/partexplorer')
-rw-r--r-- | parts/partexplorer/CMakeLists.txt | 8 | ||||
-rw-r--r-- | parts/partexplorer/Makefile.am | 14 | ||||
-rw-r--r-- | parts/partexplorer/kdevpartexplorer.desktop (renamed from parts/partexplorer/tdevpartexplorer.desktop) | 4 | ||||
-rw-r--r-- | parts/partexplorer/kdevpartexplorer.rc (renamed from parts/partexplorer/tdevpartexplorer.rc) | 2 | ||||
-rw-r--r-- | parts/partexplorer/partexplorer_plugin.cpp | 16 | ||||
-rw-r--r-- | parts/partexplorer/partexplorer_plugin.h | 4 |
6 files changed, 24 insertions, 24 deletions
diff --git a/parts/partexplorer/CMakeLists.txt b/parts/partexplorer/CMakeLists.txt index 8b9b130f..7fe5080f 100644 --- a/parts/partexplorer/CMakeLists.txt +++ b/parts/partexplorer/CMakeLists.txt @@ -25,13 +25,13 @@ link_directories( ##### other data ################################ -install( FILES tdevpartexplorer.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES tdevpartexplorer.rc DESTINATION ${DATA_INSTALL_DIR}/tdevpartexplorer ) +install( FILES kdevpartexplorer.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpartexplorer.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpartexplorer ) -##### libtdevpartexplorer (module) ############## +##### libkdevpartexplorer (module) ############## -tde_add_kpart( libtdevpartexplorer AUTOMOC +tde_add_kpart( libkdevpartexplorer AUTOMOC SOURCES partexplorerformbase.ui partexplorerform.cpp partexplorer_plugin.cpp diff --git a/parts/partexplorer/Makefile.am b/parts/partexplorer/Makefile.am index b0d8dd8a..fcb6caff 100644 --- a/parts/partexplorer/Makefile.am +++ b/parts/partexplorer/Makefile.am @@ -2,16 +2,16 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces $(all_includes) -kde_module_LTLIBRARIES = libtdevpartexplorer.la -libtdevpartexplorer_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libtdevpartexplorer_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libkdevpartexplorer.la +libkdevpartexplorer_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libkdevpartexplorer_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libtdevpartexplorer_la_SOURCES = partexplorerformbase.ui partexplorerform.cpp partexplorer_plugin.cpp +libkdevpartexplorer_la_SOURCES = partexplorerformbase.ui partexplorerform.cpp partexplorer_plugin.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = tdevpartexplorer.desktop +service_DATA = kdevpartexplorer.desktop -rcdir = $(kde_datadir)/tdevpartexplorer -rc_DATA = tdevpartexplorer.rc +rcdir = $(kde_datadir)/kdevpartexplorer +rc_DATA = kdevpartexplorer.rc diff --git a/parts/partexplorer/tdevpartexplorer.desktop b/parts/partexplorer/kdevpartexplorer.desktop index 0e1242c4..ff432eeb 100644 --- a/parts/partexplorer/tdevpartexplorer.desktop +++ b/parts/partexplorer/kdevpartexplorer.desktop @@ -32,7 +32,7 @@ Comment[tg]=Воситаи графикӣ барои иҷро намудани Comment[tr]=Kayıtlı servisler için TDETrader-benzeri sorgular yapmayı sağlayan bir grafiksel araç Comment[zh_CN]=调用TDETrader的图形工具-就像查询已经注册的服务。 Comment[zh_TW]=執行類似 TDETrader 查詢註冊服務的圖形化工具 -Name=TDevPartExplorer +Name=KDevPartExplorer Name[da]=TDevelop Part-søger Name[nds]=TDevelop-Komponentkieker Name[sk]=KDev Part prieskumník @@ -70,7 +70,7 @@ GenericName[tr]=Bileşen Gezinti Aracı GenericName[zh_CN]=模块浏览器工具 GenericName[zh_TW]=元件探索工具 ServiceTypes=TDevelop/Plugin -X-TDE-Library=libtdevpartexplorer +X-TDE-Library=libkdevpartexplorer X-TDevelop-Version=5 X-TDevelop-Scope=Global X-TDevelop-Properties=KDEDevelopment diff --git a/parts/partexplorer/tdevpartexplorer.rc b/parts/partexplorer/kdevpartexplorer.rc index 1dff4ed6..9632115b 100644 --- a/parts/partexplorer/tdevpartexplorer.rc +++ b/parts/partexplorer/kdevpartexplorer.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui name="TDevPartExplorer" version="4"> +<kpartgui name="KDevPartExplorer" version="4"> <MenuBar> <Menu name="tools" > <Action name="show_partexplorerform"/> diff --git a/parts/partexplorer/partexplorer_plugin.cpp b/parts/partexplorer/partexplorer_plugin.cpp index 43ab5717..d5240edb 100644 --- a/parts/partexplorer/partexplorer_plugin.cpp +++ b/parts/partexplorer/partexplorer_plugin.cpp @@ -13,28 +13,28 @@ #include <kinstance.h> #include <tdelocale.h> -#include <tdevgenericfactory.h> +#include <kdevgenericfactory.h> #include <kdebug.h> #include <tdeaction.h> #include <tdemainwindow.h> -#include <tdevplugininfo.h> -#include <tdevmainwindow.h> +#include <kdevplugininfo.h> +#include <kdevmainwindow.h> #include "partexplorerform.h" -static const TDevPluginInfo data("tdevpartexplorer"); +static const KDevPluginInfo data("kdevpartexplorer"); -typedef TDevGenericFactory<PartExplorerPlugin> PartExplorerPluginFactory; -K_EXPORT_COMPONENT_FACTORY( libtdevpartexplorer, PartExplorerPluginFactory( data ) ) +typedef KDevGenericFactory<PartExplorerPlugin> PartExplorerPluginFactory; +K_EXPORT_COMPONENT_FACTORY( libkdevpartexplorer, PartExplorerPluginFactory( data ) ) PartExplorerPlugin::PartExplorerPlugin( TQObject *parent, const char *name, const TQStringList & ) - : TDevPlugin( &data, parent, name ? name : "PartExplorerPlugin" ) + : KDevPlugin( &data, parent, name ? name : "PartExplorerPlugin" ) { // we need an instance setInstance( PartExplorerPluginFactory::instance() ); - setXMLFile( "tdevpartexplorer.rc" ); + setXMLFile( "kdevpartexplorer.rc" ); // this should be your custom internal widget m_widget = new PartExplorerForm( mainWindow()->main() ); diff --git a/parts/partexplorer/partexplorer_plugin.h b/parts/partexplorer/partexplorer_plugin.h index 622ff002..eea44750 100644 --- a/parts/partexplorer/partexplorer_plugin.h +++ b/parts/partexplorer/partexplorer_plugin.h @@ -14,14 +14,14 @@ #include <tqguardedptr.h> -#include "tdevplugin.h" +#include "kdevplugin.h" class TQWidget; class TQPainter; class KURL; class PartExplorerForm; -class PartExplorerPlugin : public TDevPlugin +class PartExplorerPlugin : public KDevPlugin { Q_OBJECT |