diff options
Diffstat (limited to 'kate/plugins')
30 files changed, 186 insertions, 186 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 a0e61f3d0..3f87f1580 100644 --- a/kate/plugins/autobookmarker/autobookmarker.cpp +++ b/kate/plugins/autobookmarker/autobookmarker.cpp @@ -23,18 +23,18 @@ //BEGIN includes #include "autobookmarker.h" -#include <ktexteditor/markinterfaceextension.h> -#include <ktexteditor/editinterface.h> -#include <ktexteditor/documentinfo.h> -#include <ktexteditor/document.h> - -#include <kaction.h> -#include <kapplication.h> -#include <kconfig.h> +#include <tdetexteditor/markinterfaceextension.h> +#include <tdetexteditor/editinterface.h> +#include <tdetexteditor/documentinfo.h> +#include <tdetexteditor/document.h> + +#include <tdeaction.h> +#include <tdeapplication.h> +#include <tdeconfig.h> #include <kgenericfactory.h> #include <kiconloader.h> -#include <klistview.h> -#include <klocale.h> +#include <tdelistview.h> +#include <tdelocale.h> #include <kmimetype.h> #include <kmimetypechooser.h> #include <kprocess.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(); - KConfig *config = new KConfig("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() { - KConfig *config = new KConfig("ktexteditor_autobookmarkerrc"); + TDEConfig *config = new TDEConfig("tdetexteditor_autobookmarkerrc"); // clean the config object TQStringList l = config->groupList(); @@ -253,7 +253,7 @@ void ABGlobal::writeConfig() class AutoBookmarkEntItem : public QListViewItem { public: - AutoBookmarkEntItem( KListView *lv, AutoBookmarkEnt *e ) + AutoBookmarkEntItem( TDEListView *lv, AutoBookmarkEnt *e ) : TQListViewItem( lv ), ent( e ) { @@ -383,7 +383,7 @@ AutoBookmarkerConfigPage::AutoBookmarkerConfigPage( TQWidget *parent, const char TQLabel *l = new TQLabel( i18n("&Patterns"), this ); lo->addWidget( l ); - lvPatterns = new KListView( this ); + lvPatterns = new TDEListView( this ); lvPatterns->addColumn( i18n("Pattern") ); lvPatterns->addColumn( i18n("Mime Types") ); lvPatterns->addColumn( i18n("File Masks") ); diff --git a/kate/plugins/autobookmarker/autobookmarker.h b/kate/plugins/autobookmarker/autobookmarker.h index bdeb2abcf..9687d8ceb 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> @@ -111,7 +111,7 @@ class AutoBookmarkerConfigPage : public KTextEditor::ConfigPage void slotEdit(); private: - class KListView *lvPatterns; + class TDEListView *lvPatterns; class TQPushButton *btnNew, *btnDel, *btnEdit; ABEntityList *m_ents; }; 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..56bdfd9cd 100644 --- a/kate/plugins/insertfile/CMakeLists.txt +++ b/kate/plugins/insertfile/CMakeLists.txt @@ -16,9 +16,9 @@ include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/tdecore ${CMAKE_SOURCE_DIR}/tdeui - ${CMAKE_SOURCE_DIR}/kio - ${CMAKE_SOURCE_DIR}/kio/kio - ${CMAKE_SOURCE_DIR}/kio/kfile + ${CMAKE_SOURCE_DIR}/tdeio + ${CMAKE_SOURCE_DIR}/tdeio/tdeio + ${CMAKE_SOURCE_DIR}/tdeio/tdefile ${CMAKE_SOURCE_DIR}/interfaces ) @@ -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..4a89ef3af 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_TDEFILE) $(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 6a350831f..e2e3d354a 100644 --- a/kate/plugins/insertfile/insertfileplugin.cpp +++ b/kate/plugins/insertfile/insertfileplugin.cpp @@ -19,25 +19,25 @@ #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> -#include <kaction.h> -#include <kfiledialog.h> +#include <tdeio/job.h> +#include <tdeaction.h> +#include <tdefiledialog.h> #include <kgenericfactory.h> -#include <klocale.h> -#include <kmessagebox.h> +#include <tdelocale.h> +#include <tdemessagebox.h> #include <kpushbutton.h> -#include <ktempfile.h> +#include <tdetempfile.h> #include <kurl.h> #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 @@ -76,8 +76,8 @@ InsertFilePluginView::InsertFilePluginView( KTextEditor::View *view, const char view->insertChildClient( this ); 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" ); + (void) new TDEAction( i18n("Insert File..."), 0, this, TQT_SLOT(slotInsertFile()), actionCollection(), "tools_insert_file" ); + setXMLFile( "tdetexteditor_insertfileui.rc" ); } void InsertFilePluginView::slotInsertFile() @@ -103,12 +103,12 @@ void InsertFilePluginView::slotInsertFile() KURL destURL; destURL.setPath( _tmpfile ); - _job = KIO::file_copy( _file, destURL, 0600, true, false, true ); - connect( _job, TQT_SIGNAL( result( KIO::Job * ) ), this, TQT_SLOT( slotFinished ( KIO::Job * ) ) ); + _job = TDEIO::file_copy( _file, destURL, 0600, true, false, true ); + connect( _job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotFinished ( TDEIO::Job * ) ) ); } } -void InsertFilePluginView::slotFinished( KIO::Job *job ) +void InsertFilePluginView::slotFinished( TDEIO::Job *job ) { assert( job == _job ); _job = 0; diff --git a/kate/plugins/insertfile/insertfileplugin.h b/kate/plugins/insertfile/insertfileplugin.h index 9331f8100..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> @@ -58,13 +58,13 @@ class InsertFilePluginView : public TQObject, public KXMLGUIClient /* display a file dialog, and insert the chosen file */ void slotInsertFile(); private slots: - void slotFinished( KIO::Job *job ); - //slotAborted( KIO::Job *job ); + void slotFinished( TDEIO::Job *job ); + //slotAborted( TDEIO::Job *job ); private: void insertFile(); KURL _file; TQString _tmpfile; - KIO::FileCopyJob *_job; + TDEIO::FileCopyJob *_job; }; #endif // _INSERT_FILE_PLUGIN_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 249abf9f2..7cb01ccc9 100644 --- a/kate/plugins/isearch/ISearchPlugin.cpp +++ b/kate/plugins/isearch/ISearchPlugin.cpp @@ -21,16 +21,16 @@ #include <tqstyle.h> #include <tqpopupmenu.h> #include <kgenericfactory.h> -#include <klocale.h> -#include <kaction.h> +#include <tdelocale.h> +#include <tdeaction.h> #include <kcombobox.h> -#include <kconfig.h> +#include <tdeconfig.h> #include <kdebug.h> #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) @@ -64,11 +64,11 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view ) setInstance( KGenericFactory<ISearchPlugin>::instance() ); - m_searchForwardAction = new KAction( + m_searchForwardAction = new TDEAction( i18n("Search Incrementally"), CTRL+ALT+Key_F, this, TQT_SLOT(slotSearchForwardAction()), actionCollection(), "edit_isearch" ); - m_searchBackwardAction = new KAction( + m_searchBackwardAction = new TDEAction( i18n("Search Incrementally Backwards"), CTRL+ALT+SHIFT+Key_F, this, TQT_SLOT(slotSearchBackwardAction()), actionCollection(), "edit_isearch_reverse" ); @@ -97,13 +97,13 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view ) m_comboAction->setAutoSized( true ); m_comboAction->setShortcutConfigurable( false ); - KActionMenu* optionMenu = new KActionMenu( + TDEActionMenu* optionMenu = new TDEActionMenu( i18n("Search Options"), "configure", actionCollection(), "isearch_options" ); optionMenu->setDelayed( false ); - KToggleAction* action = new KToggleAction( - i18n("Case Sensitive"), KShortcut(), + TDEToggleAction* action = new TDEToggleAction( + i18n("Case Sensitive"), TDEShortcut(), actionCollection(), "isearch_case_sensitive" ); action->setShortcutConfigurable( false ); connect( action, TQT_SIGNAL(toggled(bool)), @@ -111,8 +111,8 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view ) action->setChecked( m_caseSensitive ); optionMenu->insert( action ); - action = new KToggleAction( - i18n("From Beginning"), KShortcut(), + action = new TDEToggleAction( + i18n("From Beginning"), TDEShortcut(), actionCollection(), "isearch_from_beginning" ); action->setShortcutConfigurable( false ); connect( action, TQT_SIGNAL(toggled(bool)), @@ -120,8 +120,8 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view ) action->setChecked( m_fromBeginning ); optionMenu->insert( action ); - action = new KToggleAction( - i18n("Regular Expression"), KShortcut(), + action = new TDEToggleAction( + i18n("Regular Expression"), TDEShortcut(), actionCollection(), "isearch_reg_exp" ); action->setShortcutConfigurable( false ); connect( action, TQT_SIGNAL(toggled(bool)), @@ -129,17 +129,17 @@ ISearchPluginView::ISearchPluginView( KTextEditor::View *view ) action->setChecked( m_regExp ); optionMenu->insert( action ); -// optionMenu->insert( new KActionSeparator() ); +// optionMenu->insert( new TDEActionSeparator() ); // -// action = new KToggleAction( -// i18n("Auto-Wrap Search"), KShortcut(), +// action = new TDEToggleAction( +// i18n("Auto-Wrap Search"), TDEShortcut(), // actionCollection(), "isearch_auto_wrap" ); // connect( action, TQT_SIGNAL(toggled(bool)), // this, TQT_SLOT(setAutoWrap(bool)) ); // action->setChecked( m_autoWrap ); // optionMenu->insert( action ); - setXMLFile( "ktexteditor_isearchui.rc" ); + setXMLFile( "tdetexteditor_isearchui.rc" ); } ISearchPluginView::~ISearchPluginView() @@ -170,12 +170,12 @@ void ISearchPluginView::setView( KTextEditor::View* view ) void ISearchPluginView::readConfig() { - // KConfig* config = instance()->config(); + // TDEConfig* config = instance()->config(); } void ISearchPluginView::writeConfig() { - // KConfig* config = instance()->config(); + // TDEConfig* config = instance()->config(); } void ISearchPluginView::setCaseSensitive( bool caseSensitive ) diff --git a/kate/plugins/isearch/ISearchPlugin.h b/kate/plugins/isearch/ISearchPlugin.h index 836ecbc7e..b11b2a8b6 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> @@ -92,8 +92,8 @@ private: KTextEditor::SearchInterface* m_searchIF; KTextEditor::ViewCursorInterface* m_cursorIF; KTextEditor::SelectionInterface* m_selectIF; - KAction* m_searchForwardAction; - KAction* m_searchBackwardAction; + TDEAction* m_searchForwardAction; + TDEAction* m_searchBackwardAction; KWidgetAction* m_comboAction; TQGuardedPtr<TQLabel> m_label; TQGuardedPtr<KHistoryCombo> m_combo; 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..7ceccc10d 100644 --- a/kate/plugins/kdatatool/CMakeLists.txt +++ b/kate/plugins/kdatatool/CMakeLists.txt @@ -17,8 +17,8 @@ include_directories( ${CMAKE_SOURCE_DIR}/tdecore ${CMAKE_SOURCE_DIR}/tdefx ${CMAKE_SOURCE_DIR}/tdeui - ${CMAKE_SOURCE_DIR}/kio - ${CMAKE_SOURCE_DIR}/kio/kio + ${CMAKE_SOURCE_DIR}/tdeio + ${CMAKE_SOURCE_DIR}/tdeio/tdeio ${CMAKE_SOURCE_DIR}/interfaces ) @@ -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..a0317d979 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_TDEFILE) $(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 e78bb4228..e14cd9249 100644 --- a/kate/plugins/kdatatool/kate_kdatatool.cpp +++ b/kate/plugins/kdatatool/kate_kdatatool.cpp @@ -20,20 +20,20 @@ #include "kate_kdatatool.h" #include "kate_kdatatool.moc" #include <kgenericfactory.h> -#include <kaction.h> -#include <ktexteditor/view.h> +#include <tdeaction.h> +#include <tdetexteditor/view.h> #include <kdebug.h> #include <kdatatool.h> -#include <ktexteditor/document.h> -#include <ktexteditor/selectioninterface.h> -#include <kpopupmenu.h> -#include <ktexteditor/viewcursorinterface.h> -#include <ktexteditor/editinterface.h> -#include <kmessagebox.h> +#include <tdetexteditor/document.h> +#include <tdetexteditor/selectioninterface.h> +#include <tdepopupmenu.h> +#include <tdetexteditor/viewcursorinterface.h> +#include <tdetexteditor/editinterface.h> +#include <tdemessagebox.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 { @@ -75,9 +75,9 @@ KDataToolPluginView::KDataToolPluginView( KTextEditor::View *view ) view->insertChildClient (this); setInstance( KGenericFactory<KDataToolPlugin>::instance() ); - m_menu = new KActionMenu(i18n("Data Tools"), actionCollection(), "popup_dataTool"); + m_menu = new TDEActionMenu(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; } @@ -96,7 +96,7 @@ void KDataToolPluginView::aboutToShow() m_wordUnderCursor = TQString::null; // unplug old actions, if any: - KAction *ac; + TDEAction *ac; for ( ac = m_actionList.first(); ac; ac = m_actionList.next() ) { m_menu->remove(ac); } @@ -150,14 +150,14 @@ void KDataToolPluginView::aboutToShow() m_singleWord = true; m_singleWord_line = line; } else { - m_notAvailable = new KAction(i18n("(not available)"), TQString::null, 0, this, + m_notAvailable = new TDEAction(i18n("(not available)"), TQString::null, 0, this, TQT_SLOT(slotNotAvailable()), actionCollection(),"dt_n_av"); m_menu->insert(m_notAvailable); return; } } - KInstance *inst=instance(); + TDEInstance *inst=instance(); TQValueList<KDataToolInfo> tools; tools += KDataToolInfo::query( TQSTRING_OBJECT_NAME_STRING, "text/plain", inst ); @@ -172,7 +172,7 @@ void KDataToolPluginView::aboutToShow() } if( m_actionList.isEmpty() ) { - m_notAvailable = new KAction(i18n("(not available)"), TQString::null, 0, this, + m_notAvailable = new TDEAction(i18n("(not available)"), TQString::null, 0, this, TQT_SLOT(slotNotAvailable()), actionCollection(),"dt_n_av"); m_menu->insert(m_notAvailable); } diff --git a/kate/plugins/kdatatool/kate_kdatatool.h b/kate/plugins/kdatatool/kate_kdatatool.h index fbe4e7bf0..a217c6f27 100644 --- a/kate/plugins/kdatatool/kate_kdatatool.h +++ b/kate/plugins/kdatatool/kate_kdatatool.h @@ -21,12 +21,12 @@ #ifndef _KATE_KDATATOOL_ #define _KATE_KDATATOOL_ -#include <ktexteditor/plugin.h> +#include <tdetexteditor/plugin.h> #include <tqstringlist.h> #include <kxmlguiclient.h> #include <tqguardedptr.h> -class KActionMenu; +class TDEActionMenu; class KDataToolInfo; namespace KTextEditor @@ -62,9 +62,9 @@ private: bool m_singleWord; int m_singleWord_line, m_singleWord_start, m_singleWord_end; TQString m_wordUnderCursor; - TQPtrList<KAction> m_actionList; - TQGuardedPtr<KActionMenu> m_menu; - KAction *m_notAvailable; + TQPtrList<TDEAction> m_actionList; + TQGuardedPtr<TDEActionMenu> m_menu; + TDEAction *m_notAvailable; protected slots: void aboutToShow(); void slotToolActivated( const KDataToolInfo &datatoolinfo, const TQString &string ); 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 37da55224..26dce06d0 100644 --- a/kate/plugins/wordcompletion/docwordcompletion.cpp +++ b/kate/plugins/wordcompletion/docwordcompletion.cpp @@ -28,19 +28,19 @@ //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> +#include <tdeapplication.h> +#include <tdeconfig.h> #include <kdialog.h> #include <kgenericfactory.h> -#include <klocale.h> -#include <kaction.h> +#include <tdelocale.h> +#include <tdeaction.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*/ ) @@ -68,7 +68,7 @@ DocWordCompletionPlugin::DocWordCompletionPlugin( TQObject *parent, void DocWordCompletionPlugin::readConfig() { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup( "DocWordCompletion Plugin" ); m_treshold = config->readNumEntry( "treshold", 3 ); m_autopopup = config->readBoolEntry( "autopopup", true ); @@ -76,7 +76,7 @@ void DocWordCompletionPlugin::readConfig() void DocWordCompletionPlugin::writeConfig() { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("DocWordCompletion Plugin"); config->writeEntry("autopopup", m_autopopup ); config->writeEntry("treshold", m_treshold ); @@ -130,7 +130,7 @@ struct DocWordCompletionPluginViewPrivate TQString last; // last word we were trying to match TQString lastIns; // latest applied completion TQRegExp re; // hrm - KToggleAction *autopopup; // for accessing state + TDEToggleAction *autopopup; // for accessing state uint treshold; // the required length of a word before popping up the completion list automatically int directionalPos; // be able to insert "" at the correct time }; @@ -145,15 +145,15 @@ DocWordCompletionPluginView::DocWordCompletionPluginView( uint treshold, bool au view->insertChildClient( this ); setInstance( KGenericFactory<DocWordCompletionPlugin>::instance() ); - (void) new KAction( i18n("Reuse Word Above"), CTRL+Key_8, this, + (void) new TDEAction( i18n("Reuse Word Above"), CTRL+Key_8, this, TQT_SLOT(completeBackwards()), actionCollection(), "doccomplete_bw" ); - (void) new KAction( i18n("Reuse Word Below"), CTRL+Key_9, this, + (void) new TDEAction( i18n("Reuse Word Below"), CTRL+Key_9, this, TQT_SLOT(completeForwards()), actionCollection(), "doccomplete_fw" ); - (void) new KAction( i18n("Pop Up Completion List"), 0, this, + (void) new TDEAction( i18n("Pop Up Completion List"), 0, this, TQT_SLOT(popupCompletionList()), actionCollection(), "doccomplete_pu" ); - (void) new KAction( i18n("Shell Completion"), 0, this, + (void) new TDEAction( i18n("Shell Completion"), 0, this, TQT_SLOT(shellComplete()), actionCollection(), "doccomplete_sh" ); - d->autopopup = new KToggleAction( i18n("Automatic Completion Popup"), 0, this, + d->autopopup = new TDEToggleAction( i18n("Automatic Completion Popup"), 0, this, TQT_SLOT(toggleAutoPopup()), actionCollection(), "enable_autopopup" ); d->autopopup->setChecked( autopopup ); 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 |
