diff options
Diffstat (limited to 'kate/plugins')
30 files changed, 116 insertions, 116 deletions
diff --git a/kate/plugins/autobookmarker/Makefile.am b/kate/plugins/autobookmarker/Makefile.am index 748dbb2e5..4465a88a7 100644 --- a/kate/plugins/autobookmarker/Makefile.am +++ b/kate/plugins/autobookmarker/Makefile.am @@ -2,16 +2,16 @@ INCLUDES = -I$(top_srcdir)/interfaces $(all_includes) METASOURCES = AUTO # Install this plugin in the KDE modules directory -kde_module_LTLIBRARIES = ktexteditor_autobookmarker.la +kde_module_LTLIBRARIES = tdetexteditor_autobookmarker.la -ktexteditor_autobookmarker_la_SOURCES = autobookmarker.cpp -ktexteditor_autobookmarker_la_LIBADD = $(top_builddir)/interfaces/ktexteditor/libktexteditor.la -ktexteditor_autobookmarker_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) +tdetexteditor_autobookmarker_la_SOURCES = autobookmarker.cpp +tdetexteditor_autobookmarker_la_LIBADD = $(top_builddir)/interfaces/tdetexteditor/libtdetexteditor.la +tdetexteditor_autobookmarker_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -kde_services_DATA = ktexteditor_autobookmarker.desktop +kde_services_DATA = tdetexteditor_autobookmarker.desktop confdir=$(kde_confdir) -conf_DATA = ktexteditor_autobookmarkerrc +conf_DATA = tdetexteditor_autobookmarkerrc messages: rc.cpp - $(XGETTEXT) *.cpp *.h -o $(podir)/ktexteditor_autobookmarker.pot + $(XGETTEXT) *.cpp *.h -o $(podir)/tdetexteditor_autobookmarker.pot diff --git a/kate/plugins/autobookmarker/autobookmarker.cpp b/kate/plugins/autobookmarker/autobookmarker.cpp index 2a7a6de45..ceb76eedd 100644 --- a/kate/plugins/autobookmarker/autobookmarker.cpp +++ b/kate/plugins/autobookmarker/autobookmarker.cpp @@ -23,10 +23,10 @@ //BEGIN includes #include "autobookmarker.h" -#include <ktexteditor/markinterfaceextension.h> -#include <ktexteditor/editinterface.h> -#include <ktexteditor/documentinfo.h> -#include <ktexteditor/document.h> +#include <tdetexteditor/markinterfaceextension.h> +#include <tdetexteditor/editinterface.h> +#include <tdetexteditor/documentinfo.h> +#include <tdetexteditor/document.h> #include <kaction.h> #include <kapplication.h> @@ -57,7 +57,7 @@ //END includes //BEGIN AutoBookmarker -K_EXPORT_COMPONENT_FACTORY( ktexteditor_autobookmarker, KGenericFactory<AutoBookmarker>( "ktexteditor_autobookmarker" ) ) +K_EXPORT_COMPONENT_FACTORY( tdetexteditor_autobookmarker, KGenericFactory<AutoBookmarker>( "tdetexteditor_autobookmarker" ) ) AutoBookmarker::AutoBookmarker( TQObject *parent, const char* name, @@ -199,7 +199,7 @@ void ABGlobal::readConfig() m_ents = new ABEntityList; else m_ents->clear(); - TDEConfig *config = new TDEConfig("ktexteditor_autobookmarkerrc"); + TDEConfig *config = new TDEConfig("tdetexteditor_autobookmarkerrc"); uint n( 0 ); while ( config->hasGroup( TQString("autobookmark%1").arg( n ) ) ) @@ -225,7 +225,7 @@ void ABGlobal::readConfig() void ABGlobal::writeConfig() { - TDEConfig *config = new TDEConfig("ktexteditor_autobookmarkerrc"); + TDEConfig *config = new TDEConfig("tdetexteditor_autobookmarkerrc"); // clean the config object TQStringList l = config->groupList(); diff --git a/kate/plugins/autobookmarker/autobookmarker.h b/kate/plugins/autobookmarker/autobookmarker.h index bdeb2abcf..4a7b998de 100644 --- a/kate/plugins/autobookmarker/autobookmarker.h +++ b/kate/plugins/autobookmarker/autobookmarker.h @@ -23,8 +23,8 @@ #ifndef _AUTOBOOKMARKER_H_ #define _AUTOBOOKMARKER_H_ -#include <ktexteditor/plugin.h> -#include <ktexteditor/configinterfaceextension.h> +#include <tdetexteditor/plugin.h> +#include <tdetexteditor/configinterfaceextension.h> #include <kdialogbase.h> diff --git a/kate/plugins/autobookmarker/ktexteditor_autobookmarker.desktop b/kate/plugins/autobookmarker/tdetexteditor_autobookmarker.desktop index 632d84628..ea5b08247 100644 --- a/kate/plugins/autobookmarker/ktexteditor_autobookmarker.desktop +++ b/kate/plugins/autobookmarker/tdetexteditor_autobookmarker.desktop @@ -128,7 +128,7 @@ Comment[uk]=Встановлює закладки на рядках, що від Comment[vi]=Đặt đánh dấu trên các dòng khớp một mẫu nào đó khi tải tài liệu. Comment[zh_CN]=文档装入时根据匹配模式自动设置书签 Comment[zh_TW]=文件載入時以字串比對演算法來設定書籤。 -X-TDE-Library=ktexteditor_autobookmarker +X-TDE-Library=tdetexteditor_autobookmarker ServiceTypes=KTextEditor/Plugin Type=Service InitialPreference=8 diff --git a/kate/plugins/autobookmarker/ktexteditor_autobookmarkerrc b/kate/plugins/autobookmarker/tdetexteditor_autobookmarkerrc index 3ed8fe8c5..3ed8fe8c5 100644 --- a/kate/plugins/autobookmarker/ktexteditor_autobookmarkerrc +++ b/kate/plugins/autobookmarker/tdetexteditor_autobookmarkerrc diff --git a/kate/plugins/insertfile/CMakeLists.txt b/kate/plugins/insertfile/CMakeLists.txt index 8f4390f64..0c80a1e0c 100644 --- a/kate/plugins/insertfile/CMakeLists.txt +++ b/kate/plugins/insertfile/CMakeLists.txt @@ -29,13 +29,13 @@ link_directories( ##### other data ################################ -install( FILES ktexteditor_insertfile.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES ktexteditor_insertfileui.rc DESTINATION ${DATA_INSTALL_DIR}/ktexteditor_insertfile ) +install( FILES tdetexteditor_insertfile.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdetexteditor_insertfileui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_insertfile ) -##### ktexteditor_insertfile #################### +##### tdetexteditor_insertfile #################### -set( target ktexteditor_insertfile ) +set( target tdetexteditor_insertfile ) set( ${target}_SRCS insertfileplugin.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/insertfile/Makefile.am b/kate/plugins/insertfile/Makefile.am index fc8b1e228..1cce05391 100644 --- a/kate/plugins/insertfile/Makefile.am +++ b/kate/plugins/insertfile/Makefile.am @@ -2,16 +2,16 @@ INCLUDES = -I$(top_srcdir)/interfaces $(all_includes) METASOURCES = AUTO # Install this plugin in the KDE modules directory -kde_module_LTLIBRARIES = ktexteditor_insertfile.la +kde_module_LTLIBRARIES = tdetexteditor_insertfile.la -ktexteditor_insertfile_la_SOURCES = insertfileplugin.cpp -ktexteditor_insertfile_la_LIBADD = $(top_builddir)/interfaces/ktexteditor/libktexteditor.la $(LIB_QT) $(LIB_TDECORE) $(LIB_KFILE) $(LIB_TDEUI) -ktexteditor_insertfile_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) +tdetexteditor_insertfile_la_SOURCES = insertfileplugin.cpp +tdetexteditor_insertfile_la_LIBADD = $(top_builddir)/interfaces/tdetexteditor/libtdetexteditor.la $(LIB_QT) $(LIB_TDECORE) $(LIB_KFILE) $(LIB_TDEUI) +tdetexteditor_insertfile_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -insertfiledatadir = $(kde_datadir)/ktexteditor_insertfile -insertfiledata_DATA = ktexteditor_insertfileui.rc +insertfiledatadir = $(kde_datadir)/tdetexteditor_insertfile +insertfiledata_DATA = tdetexteditor_insertfileui.rc -kde_services_DATA = ktexteditor_insertfile.desktop +kde_services_DATA = tdetexteditor_insertfile.desktop messages: rc.cpp - $(XGETTEXT) *.cpp *.h -o $(podir)/ktexteditor_insertfile.pot + $(XGETTEXT) *.cpp *.h -o $(podir)/tdetexteditor_insertfile.pot diff --git a/kate/plugins/insertfile/insertfileplugin.cpp b/kate/plugins/insertfile/insertfileplugin.cpp index 082c0ffc9..ee46a7cff 100644 --- a/kate/plugins/insertfile/insertfileplugin.cpp +++ b/kate/plugins/insertfile/insertfileplugin.cpp @@ -19,9 +19,9 @@ #include "insertfileplugin.h" #include "insertfileplugin.moc" -#include <ktexteditor/document.h> -#include <ktexteditor/viewcursorinterface.h> -#include <ktexteditor/editinterface.h> +#include <tdetexteditor/document.h> +#include <tdetexteditor/viewcursorinterface.h> +#include <tdetexteditor/editinterface.h> #include <assert.h> #include <kio/job.h> @@ -37,7 +37,7 @@ #include <tqfile.h> #include <tqtextstream.h> -K_EXPORT_COMPONENT_FACTORY( ktexteditor_insertfile, KGenericFactory<InsertFilePlugin>( "ktexteditor_insertfile" ) ) +K_EXPORT_COMPONENT_FACTORY( tdetexteditor_insertfile, KGenericFactory<InsertFilePlugin>( "tdetexteditor_insertfile" ) ) //BEGIN InsertFilePlugin @@ -77,7 +77,7 @@ InsertFilePluginView::InsertFilePluginView( KTextEditor::View *view, const char setInstance( KGenericFactory<InsertFilePlugin>::instance() ); _job = 0; (void) new KAction( i18n("Insert File..."), 0, this, TQT_SLOT(slotInsertFile()), actionCollection(), "tools_insert_file" ); - setXMLFile( "ktexteditor_insertfileui.rc" ); + setXMLFile( "tdetexteditor_insertfileui.rc" ); } void InsertFilePluginView::slotInsertFile() diff --git a/kate/plugins/insertfile/insertfileplugin.h b/kate/plugins/insertfile/insertfileplugin.h index d6751f0d1..da08a02c7 100644 --- a/kate/plugins/insertfile/insertfileplugin.h +++ b/kate/plugins/insertfile/insertfileplugin.h @@ -22,8 +22,8 @@ #ifndef _INSERT_FILE_PLUGIN_H_ #define _INSERT_FILE_PLUGIN_H_ -#include <ktexteditor/plugin.h> -#include <ktexteditor/view.h> +#include <tdetexteditor/plugin.h> +#include <tdetexteditor/view.h> #include <kxmlguiclient.h> #include <tqobject.h> diff --git a/kate/plugins/insertfile/ktexteditor_insertfile.desktop b/kate/plugins/insertfile/tdetexteditor_insertfile.desktop index 7e08d71b7..493369e29 100644 --- a/kate/plugins/insertfile/ktexteditor_insertfile.desktop +++ b/kate/plugins/insertfile/tdetexteditor_insertfile.desktop @@ -149,7 +149,7 @@ Comment[vi]=Chèn bất kỳ tập tin có khả năng đọc tại vị trí c Comment[zh_CN]=在光标位置插入任何可读文件 Comment[zh_HK]=在游標處插入任意的檔案 Comment[zh_TW]=在游標處插入任意的可讀檔案 -X-TDE-Library=ktexteditor_insertfile +X-TDE-Library=tdetexteditor_insertfile ServiceTypes=KTextEditor/Plugin Type=Service InitialPreference=8 diff --git a/kate/plugins/insertfile/ktexteditor_insertfileui.rc b/kate/plugins/insertfile/tdetexteditor_insertfileui.rc index 36ac0916f..d92e512ff 100644 --- a/kate/plugins/insertfile/ktexteditor_insertfileui.rc +++ b/kate/plugins/insertfile/tdetexteditor_insertfileui.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui> -<kpartplugin name="ktexteditor_insertfile" library="ktexteditor_insertfile" version="2"> +<kpartplugin name="tdetexteditor_insertfile" library="tdetexteditor_insertfile" version="2"> <MenuBar> <Menu name="tools"><Text>&Tools</Text> <separator group="tools_operations" /> diff --git a/kate/plugins/isearch/CMakeLists.txt b/kate/plugins/isearch/CMakeLists.txt index 693c3a409..38a042973 100644 --- a/kate/plugins/isearch/CMakeLists.txt +++ b/kate/plugins/isearch/CMakeLists.txt @@ -27,13 +27,13 @@ link_directories( ##### other data ################################ -install( FILES ktexteditor_isearch.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES ktexteditor_isearchui.rc DESTINATION ${DATA_INSTALL_DIR}/ktexteditor_isearch ) +install( FILES tdetexteditor_isearch.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdetexteditor_isearchui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_isearch ) -##### ktexteditor_isearch ####################### +##### tdetexteditor_isearch ####################### -set( target ktexteditor_isearch ) +set( target tdetexteditor_isearch ) set( ${target}_SRCS ISearchPlugin.cpp @@ -41,6 +41,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/isearch/ISearchPlugin.cpp b/kate/plugins/isearch/ISearchPlugin.cpp index 27d0b138d..26c49576d 100644 --- a/kate/plugins/isearch/ISearchPlugin.cpp +++ b/kate/plugins/isearch/ISearchPlugin.cpp @@ -30,7 +30,7 @@ #include "ISearchPlugin.h" #include "ISearchPlugin.moc" -K_EXPORT_COMPONENT_FACTORY( ktexteditor_isearch, KGenericFactory<ISearchPlugin>( "ktexteditor_isearch" ) ) +K_EXPORT_COMPONENT_FACTORY( tdetexteditor_isearch, KGenericFactory<ISearchPlugin>( "tdetexteditor_isearch" ) ) ISearchPluginView::ISearchPluginView( KTextEditor::View *view ) : TQObject ( view ), KXMLGUIClient (view) @@ -139,7 +139,7 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view ) // action->setChecked( m_autoWrap ); // optionMenu->insert( action ); - setXMLFile( "ktexteditor_isearchui.rc" ); + setXMLFile( "tdetexteditor_isearchui.rc" ); } ISearchPluginView::~ISearchPluginView() diff --git a/kate/plugins/isearch/ISearchPlugin.h b/kate/plugins/isearch/ISearchPlugin.h index 836ecbc7e..980630795 100644 --- a/kate/plugins/isearch/ISearchPlugin.h +++ b/kate/plugins/isearch/ISearchPlugin.h @@ -19,12 +19,12 @@ #ifndef _ISearchPlugin_H_ #define _ISearchPlugin_H_ -#include <ktexteditor/plugin.h> -#include <ktexteditor/view.h> -#include <ktexteditor/document.h> -#include <ktexteditor/searchinterface.h> -#include <ktexteditor/viewcursorinterface.h> -#include <ktexteditor/selectioninterface.h> +#include <tdetexteditor/plugin.h> +#include <tdetexteditor/view.h> +#include <tdetexteditor/document.h> +#include <tdetexteditor/searchinterface.h> +#include <tdetexteditor/viewcursorinterface.h> +#include <tdetexteditor/selectioninterface.h> #include <kxmlguiclient.h> #include <tqobject.h> diff --git a/kate/plugins/isearch/Makefile.am b/kate/plugins/isearch/Makefile.am index f71da53e7..cc9356954 100644 --- a/kate/plugins/isearch/Makefile.am +++ b/kate/plugins/isearch/Makefile.am @@ -2,17 +2,17 @@ INCLUDES = -I$(top_srcdir)/interfaces $(all_includes) METASOURCES = AUTO # Install this plugin in the KDE modules directory -kde_module_LTLIBRARIES = ktexteditor_isearch.la +kde_module_LTLIBRARIES = tdetexteditor_isearch.la -ktexteditor_isearch_la_SOURCES = ISearchPlugin.cpp -ktexteditor_isearch_la_LIBADD = $(top_builddir)/interfaces/ktexteditor/libktexteditor.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ktexteditor_isearch_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) +tdetexteditor_isearch_la_SOURCES = ISearchPlugin.cpp +tdetexteditor_isearch_la_LIBADD = $(top_builddir)/interfaces/tdetexteditor/libtdetexteditor.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) +tdetexteditor_isearch_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -isearchdatadir = $(kde_datadir)/ktexteditor_isearch -isearchdata_DATA = ktexteditor_isearchui.rc +isearchdatadir = $(kde_datadir)/tdetexteditor_isearch +isearchdata_DATA = tdetexteditor_isearchui.rc -kde_services_DATA = ktexteditor_isearch.desktop +kde_services_DATA = tdetexteditor_isearch.desktop messages: rc.cpp - $(XGETTEXT) *.cpp *.h -o $(podir)/ktexteditor_isearch.pot + $(XGETTEXT) *.cpp *.h -o $(podir)/tdetexteditor_isearch.pot diff --git a/kate/plugins/isearch/ktexteditor_isearch.desktop b/kate/plugins/isearch/tdetexteditor_isearch.desktop index 2e49615d8..6fb7894c5 100644 --- a/kate/plugins/isearch/ktexteditor_isearch.desktop +++ b/kate/plugins/isearch/tdetexteditor_isearch.desktop @@ -146,7 +146,7 @@ Comment[uk]=Також відомий як "Пошук за вводом" Comment[vi]=Cũng được biết như là « Tìm kiếm trong khi gõ ». Comment[zh_CN]=也称为“即输即搜” Comment[zh_TW]=也稱做「即時搜尋」 -X-TDE-Library=ktexteditor_isearch +X-TDE-Library=tdetexteditor_isearch ServiceTypes=KTextEditor/Plugin Type=Service InitialPreference=8 diff --git a/kate/plugins/isearch/ktexteditor_isearchui.rc b/kate/plugins/isearch/tdetexteditor_isearchui.rc index d8fc6b5dd..a12fb64a2 100644 --- a/kate/plugins/isearch/ktexteditor_isearchui.rc +++ b/kate/plugins/isearch/tdetexteditor_isearchui.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui> -<kpartplugin name="ktexteditor_isearch" library="ktexteditor_isearch" version="4"> +<kpartplugin name="tdetexteditor_isearch" library="tdetexteditor_isearch" version="4"> <MenuBar> <Menu name="edit"><text>&Edit</text> <Action name="edit_isearch" group="edit_find_merge"/> 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> diff --git a/kate/plugins/wordcompletion/CMakeLists.txt b/kate/plugins/wordcompletion/CMakeLists.txt index 007b93f20..c09dbda6d 100644 --- a/kate/plugins/wordcompletion/CMakeLists.txt +++ b/kate/plugins/wordcompletion/CMakeLists.txt @@ -25,13 +25,13 @@ link_directories( ##### other data ################################ -install( FILES ktexteditor_docwordcompletion.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES docwordcompletionui.rc DESTINATION ${DATA_INSTALL_DIR}/ktexteditor_docwordcompletion ) +install( FILES tdetexteditor_docwordcompletion.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES docwordcompletionui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_docwordcompletion ) -##### ktexteditor_docwordcompletion ############# +##### tdetexteditor_docwordcompletion ############# -set( target ktexteditor_docwordcompletion ) +set( target tdetexteditor_docwordcompletion ) set( ${target}_SRCS docwordcompletion.cpp @@ -39,6 +39,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/wordcompletion/Makefile.am b/kate/plugins/wordcompletion/Makefile.am index e79d02fb5..1fd67eaf7 100644 --- a/kate/plugins/wordcompletion/Makefile.am +++ b/kate/plugins/wordcompletion/Makefile.am @@ -2,16 +2,16 @@ INCLUDES = -I$(top_srcdir)/interfaces $(all_includes) METASOURCES = AUTO # Install this plugin in the KDE modules directory -kde_module_LTLIBRARIES = ktexteditor_docwordcompletion.la +kde_module_LTLIBRARIES = tdetexteditor_docwordcompletion.la -ktexteditor_docwordcompletion_la_SOURCES = docwordcompletion.cpp -ktexteditor_docwordcompletion_la_LIBADD = $(top_builddir)/interfaces/ktexteditor/libktexteditor.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ktexteditor_docwordcompletion_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) +tdetexteditor_docwordcompletion_la_SOURCES = docwordcompletion.cpp +tdetexteditor_docwordcompletion_la_LIBADD = $(top_builddir)/interfaces/tdetexteditor/libtdetexteditor.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) +tdetexteditor_docwordcompletion_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -docwordcompletiondatadir = $(kde_datadir)/ktexteditor_docwordcompletion +docwordcompletiondatadir = $(kde_datadir)/tdetexteditor_docwordcompletion docwordcompletiondata_DATA = docwordcompletionui.rc -kde_services_DATA = ktexteditor_docwordcompletion.desktop +kde_services_DATA = tdetexteditor_docwordcompletion.desktop messages: rc.cpp - $(XGETTEXT) *.cpp *.h -o $(podir)/ktexteditor_docwordcompletion.pot + $(XGETTEXT) *.cpp *.h -o $(podir)/tdetexteditor_docwordcompletion.pot diff --git a/kate/plugins/wordcompletion/docwordcompletion.cpp b/kate/plugins/wordcompletion/docwordcompletion.cpp index 2c2bbcb23..a468edd13 100644 --- a/kate/plugins/wordcompletion/docwordcompletion.cpp +++ b/kate/plugins/wordcompletion/docwordcompletion.cpp @@ -28,10 +28,10 @@ //BEGIN includes #include "docwordcompletion.h" -#include <ktexteditor/document.h> -#include <ktexteditor/viewcursorinterface.h> -#include <ktexteditor/editinterface.h> -#include <ktexteditor/variableinterface.h> +#include <tdetexteditor/document.h> +#include <tdetexteditor/viewcursorinterface.h> +#include <tdetexteditor/editinterface.h> +#include <tdetexteditor/variableinterface.h> #include <kapplication.h> #include <kconfig.h> @@ -40,7 +40,7 @@ #include <klocale.h> #include <kaction.h> #include <knotifyclient.h> -#include <kparts/part.h> +#include <tdeparts/part.h> #include <kiconloader.h> #include <tqregexp.h> @@ -57,7 +57,7 @@ //END //BEGIN DocWordCompletionPlugin -K_EXPORT_COMPONENT_FACTORY( ktexteditor_docwordcompletion, KGenericFactory<DocWordCompletionPlugin>( "ktexteditor_docwordcompletion" ) ) +K_EXPORT_COMPONENT_FACTORY( tdetexteditor_docwordcompletion, KGenericFactory<DocWordCompletionPlugin>( "tdetexteditor_docwordcompletion" ) ) DocWordCompletionPlugin::DocWordCompletionPlugin( TQObject *parent, const char* name, const TQStringList& /*args*/ ) diff --git a/kate/plugins/wordcompletion/docwordcompletion.h b/kate/plugins/wordcompletion/docwordcompletion.h index ed632631a..22b469695 100644 --- a/kate/plugins/wordcompletion/docwordcompletion.h +++ b/kate/plugins/wordcompletion/docwordcompletion.h @@ -29,10 +29,10 @@ #ifndef _DocWordCompletionPlugin_h_ #define _DocWordCompletionPlugin_h_ -#include <ktexteditor/plugin.h> -#include <ktexteditor/view.h> -#include <ktexteditor/codecompletioninterface.h> -#include <ktexteditor/configinterfaceextension.h> +#include <tdetexteditor/plugin.h> +#include <tdetexteditor/view.h> +#include <tdetexteditor/codecompletioninterface.h> +#include <tdetexteditor/configinterfaceextension.h> #include <kxmlguiclient.h> #include <tqevent.h> diff --git a/kate/plugins/wordcompletion/docwordcompletionui.rc b/kate/plugins/wordcompletion/docwordcompletionui.rc index f8095e128..fb1c3f7a5 100644 --- a/kate/plugins/wordcompletion/docwordcompletionui.rc +++ b/kate/plugins/wordcompletion/docwordcompletionui.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui> -<kpartplugin name="ktexteditor_docwordcompletion" library="ktexteditor_docwordcompletion" version="4"> +<kpartplugin name="tdetexteditor_docwordcompletion" library="tdetexteditor_docwordcompletion" version="4"> <MenuBar> <Menu name="tools"><Text>&Tools</Text> <separator group="tools_operations" /> diff --git a/kate/plugins/wordcompletion/ktexteditor_docwordcompletion.desktop b/kate/plugins/wordcompletion/tdetexteditor_docwordcompletion.desktop index d0528d90f..b18e1bf84 100644 --- a/kate/plugins/wordcompletion/ktexteditor_docwordcompletion.desktop +++ b/kate/plugins/wordcompletion/tdetexteditor_docwordcompletion.desktop @@ -132,7 +132,7 @@ Comment[uk]=Завершення слів у документі. Пряме аб Comment[vi]=Khả năng nhập xong từ trong tài liệu, đựa vào chiều hoặc vào bộ bật lên. Comment[zh_CN]=在文档中基于方向或弹出补全单词 Comment[zh_TW]=在編輯文件時的單字補完功能 -X-TDE-Library=ktexteditor_docwordcompletion +X-TDE-Library=tdetexteditor_docwordcompletion ServiceTypes=KTextEditor/Plugin Type=Service InitialPreference=8 |