diff options
Diffstat (limited to 'kate/plugins/kdatatool')
-rw-r--r-- | kate/plugins/kdatatool/CMakeLists.txt | 10 | ||||
-rw-r--r-- | kate/plugins/kdatatool/Makefile.am | 16 | ||||
-rw-r--r-- | kate/plugins/kdatatool/kate_kdatatool.cpp | 14 | ||||
-rw-r--r-- | kate/plugins/kdatatool/kate_kdatatool.h | 2 | ||||
-rw-r--r-- | kate/plugins/kdatatool/ktexteditor_kdatatoolui.rc | 8 | ||||
-rw-r--r-- | kate/plugins/kdatatool/tdetexteditor_kdatatool.desktop (renamed from kate/plugins/kdatatool/ktexteditor_kdatatool.desktop) | 2 | ||||
-rw-r--r-- | kate/plugins/kdatatool/tdetexteditor_kdatatoolui.rc | 8 |
7 files changed, 30 insertions, 30 deletions
diff --git a/kate/plugins/kdatatool/CMakeLists.txt b/kate/plugins/kdatatool/CMakeLists.txt index aba50c79f..1adced175 100644 --- a/kate/plugins/kdatatool/CMakeLists.txt +++ b/kate/plugins/kdatatool/CMakeLists.txt @@ -29,13 +29,13 @@ link_directories( ##### other data ################################ -install( FILES ktexteditor_kdatatool.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES ktexteditor_kdatatoolui.rc DESTINATION ${DATA_INSTALL_DIR}/ktexteditor_kdatatool ) +install( FILES tdetexteditor_kdatatool.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdetexteditor_kdatatoolui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_kdatatool ) -##### ktexteditor_kdatatool ##################### +##### tdetexteditor_kdatatool ##################### -set( target ktexteditor_kdatatool ) +set( target tdetexteditor_kdatatool ) set( ${target}_SRCS kate_kdatatool.cpp @@ -43,6 +43,6 @@ set( ${target}_SRCS tde_add_kpart( ${target} AUTOMOC SOURCES ${${target}_SRCS} - LINK ktexteditor-shared + LINK tdetexteditor-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kate/plugins/kdatatool/Makefile.am b/kate/plugins/kdatatool/Makefile.am index 210fa69e8..2d4417d97 100644 --- a/kate/plugins/kdatatool/Makefile.am +++ b/kate/plugins/kdatatool/Makefile.am @@ -2,18 +2,18 @@ INCLUDES = -I$(top_srcdir)/interfaces -I$(top_srcdir)/tdefx $(all_includes) METASOURCES = AUTO # Install this plugin in the KDE modules directory -kde_module_LTLIBRARIES = ktexteditor_kdatatool.la +kde_module_LTLIBRARIES = tdetexteditor_kdatatool.la -ktexteditor_kdatatool_la_SOURCES = kate_kdatatool.cpp -ktexteditor_kdatatool_la_LIBADD = $(top_builddir)/interfaces/ktexteditor/libktexteditor.la $(LIB_QT) $(LIB_TDECORE) $(LIB_KFILE) $(LIB_TDEUI) -ktexteditor_kdatatool_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) +tdetexteditor_kdatatool_la_SOURCES = kate_kdatatool.cpp +tdetexteditor_kdatatool_la_LIBADD = $(top_builddir)/interfaces/tdetexteditor/libtdetexteditor.la $(LIB_QT) $(LIB_TDECORE) $(LIB_KFILE) $(LIB_TDEUI) +tdetexteditor_kdatatool_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -kdatatooldatadir = $(kde_datadir)/ktexteditor_kdatatool -kdatatooldata_DATA = ktexteditor_kdatatoolui.rc +kdatatooldatadir = $(kde_datadir)/tdetexteditor_kdatatool +kdatatooldata_DATA = tdetexteditor_kdatatoolui.rc -kde_services_DATA = ktexteditor_kdatatool.desktop +kde_services_DATA = tdetexteditor_kdatatool.desktop messages: rc.cpp - $(XGETTEXT) *.cpp *.h -o $(podir)/ktexteditor_kdatatool.pot + $(XGETTEXT) *.cpp *.h -o $(podir)/tdetexteditor_kdatatool.pot diff --git a/kate/plugins/kdatatool/kate_kdatatool.cpp b/kate/plugins/kdatatool/kate_kdatatool.cpp index 3265a77bf..832ff5eb7 100644 --- a/kate/plugins/kdatatool/kate_kdatatool.cpp +++ b/kate/plugins/kdatatool/kate_kdatatool.cpp @@ -21,19 +21,19 @@ #include "kate_kdatatool.moc" #include <kgenericfactory.h> #include <kaction.h> -#include <ktexteditor/view.h> +#include <tdetexteditor/view.h> #include <kdebug.h> #include <kdatatool.h> -#include <ktexteditor/document.h> -#include <ktexteditor/selectioninterface.h> +#include <tdetexteditor/document.h> +#include <tdetexteditor/selectioninterface.h> #include <kpopupmenu.h> -#include <ktexteditor/viewcursorinterface.h> -#include <ktexteditor/editinterface.h> +#include <tdetexteditor/viewcursorinterface.h> +#include <tdetexteditor/editinterface.h> #include <kmessagebox.h> //END includes -K_EXPORT_COMPONENT_FACTORY( ktexteditor_kdatatool, KGenericFactory<KTextEditor::KDataToolPlugin>( "ktexteditor_kdatatool" ) ) +K_EXPORT_COMPONENT_FACTORY( tdetexteditor_kdatatool, KGenericFactory<KTextEditor::KDataToolPlugin>( "tdetexteditor_kdatatool" ) ) namespace KTextEditor { @@ -77,7 +77,7 @@ KDataToolPluginView::KDataToolPluginView( KTextEditor::View *view ) m_menu = new KActionMenu(i18n("Data Tools"), actionCollection(), "popup_dataTool"); connect(m_menu->popupMenu(), TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(aboutToShow())); - setXMLFile("ktexteditor_kdatatoolui.rc"); + setXMLFile("tdetexteditor_kdatatoolui.rc"); m_view = view; } diff --git a/kate/plugins/kdatatool/kate_kdatatool.h b/kate/plugins/kdatatool/kate_kdatatool.h index fbe4e7bf0..ac437dd16 100644 --- a/kate/plugins/kdatatool/kate_kdatatool.h +++ b/kate/plugins/kdatatool/kate_kdatatool.h @@ -21,7 +21,7 @@ #ifndef _KATE_KDATATOOL_ #define _KATE_KDATATOOL_ -#include <ktexteditor/plugin.h> +#include <tdetexteditor/plugin.h> #include <tqstringlist.h> #include <kxmlguiclient.h> #include <tqguardedptr.h> diff --git a/kate/plugins/kdatatool/ktexteditor_kdatatoolui.rc b/kate/plugins/kdatatool/ktexteditor_kdatatoolui.rc deleted file mode 100644 index b98806200..000000000 --- a/kate/plugins/kdatatool/ktexteditor_kdatatoolui.rc +++ /dev/null @@ -1,8 +0,0 @@ -<!DOCTYPE kpartgui> -<kpartplugin name="ktexteditor_kdatatoolui" library="ktexteditor_kdatatool" version="2"> - -<Menu name="ktexteditor_popup" noMerge="1"> - <Action name="popup_dataTool" group="popup_operations"/> -</Menu> - -</kpartplugin> diff --git a/kate/plugins/kdatatool/ktexteditor_kdatatool.desktop b/kate/plugins/kdatatool/tdetexteditor_kdatatool.desktop index 9f3649521..d8019c570 100644 --- a/kate/plugins/kdatatool/ktexteditor_kdatatool.desktop +++ b/kate/plugins/kdatatool/tdetexteditor_kdatatool.desktop @@ -162,7 +162,7 @@ Comment[zh_CN]=启用像辞典(thesaurus)和拼写检查(spell check)这样的 Comment[zh_HK]=如果有安裝的話,啟用像同義字字典和拼字檢查等的文字工具 Comment[zh_TW]=打開資料工具如同義字典與拼字檢查 (如果有安裝的話) Comment[zu]=Nika amandla amathuluzi edata anjenge thesaurus kanye nokubheka ukubhalwa kwamagama (uma kufakiwe) -X-TDE-Library=ktexteditor_kdatatool +X-TDE-Library=tdetexteditor_kdatatool ServiceTypes=KTextEditor/Plugin Type=Service InitialPreference=8 diff --git a/kate/plugins/kdatatool/tdetexteditor_kdatatoolui.rc b/kate/plugins/kdatatool/tdetexteditor_kdatatoolui.rc new file mode 100644 index 000000000..ae405e3e7 --- /dev/null +++ b/kate/plugins/kdatatool/tdetexteditor_kdatatoolui.rc @@ -0,0 +1,8 @@ +<!DOCTYPE kpartgui> +<kpartplugin name="tdetexteditor_kdatatoolui" library="tdetexteditor_kdatatool" version="2"> + +<Menu name="tdetexteditor_popup" noMerge="1"> + <Action name="popup_dataTool" group="popup_operations"/> +</Menu> + +</kpartplugin> |