summaryrefslogtreecommitdiffstats
path: root/parts
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /parts
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'parts')
-rw-r--r--parts/abbrev/CMakeLists.txt10
-rw-r--r--parts/abbrev/Makefile.am16
-rw-r--r--parts/abbrev/abbrevpart.cpp26
-rw-r--r--parts/abbrev/abbrevpart.h4
-rw-r--r--parts/abbrev/tdevabbrev.desktop (renamed from parts/abbrev/kdevabbrev.desktop)2
-rw-r--r--parts/abbrev/tdevabbrev.rc (renamed from parts/abbrev/kdevabbrev.rc)0
-rw-r--r--parts/appwizard/CMakeLists.txt10
-rw-r--r--parts/appwizard/Makefile.am20
-rw-r--r--parts/appwizard/appwizarddlg.cpp42
-rw-r--r--parts/appwizard/appwizarddlg.h14
-rw-r--r--parts/appwizard/appwizardfactory.cpp18
-rw-r--r--parts/appwizard/appwizardfactory.h8
-rw-r--r--parts/appwizard/appwizardpart.cpp14
-rw-r--r--parts/appwizard/appwizardpart.h4
-rw-r--r--parts/appwizard/common/CMakeLists.txt16
-rw-r--r--parts/appwizard/common/Makefile.am12
-rw-r--r--parts/appwizard/common/admin.tdevtemplate (renamed from parts/appwizard/common/admin.kdevtemplate)0
-rw-r--r--parts/appwizard/common/dockbook.tdevtemplate (renamed from parts/appwizard/common/dockbook.kdevtemplate)0
-rw-r--r--parts/appwizard/common/gnome2.tdevtemplate (renamed from parts/appwizard/common/gnome2.kdevtemplate)0
-rw-r--r--parts/appwizard/common/gnu.tdevtemplate (renamed from parts/appwizard/common/gnu.kdevtemplate)0
-rw-r--r--parts/appwizard/common/incadmin.tdevtemplate (renamed from parts/appwizard/common/incadmin.kdevtemplate)0
-rw-r--r--parts/appwizard/common/scons.tdevtemplate (renamed from parts/appwizard/common/scons.kdevtemplate)0
-rw-r--r--parts/appwizard/common/scons/admin/tde.py (renamed from parts/appwizard/common/scons/admin/kde.py)2
-rw-r--r--parts/appwizard/common/tde-Makefile.am (renamed from parts/appwizard/common/kde-Makefile.am)0
-rw-r--r--parts/appwizard/common/tde-Makefile.cvs (renamed from parts/appwizard/common/kde-Makefile.cvs)0
-rw-r--r--parts/appwizard/common/tde-app.lsm (renamed from parts/appwizard/common/kde-app.lsm)0
-rw-r--r--parts/appwizard/common/tde-doc-Makefile.am (renamed from parts/appwizard/common/kde-doc-Makefile.am)0
-rw-r--r--parts/appwizard/common/tde-doc-en-Makefile.am (renamed from parts/appwizard/common/kde-doc-en-Makefile.am)0
-rw-r--r--parts/appwizard/common/tde-po-Makefile.am (renamed from parts/appwizard/common/kde-po-Makefile.am)0
-rw-r--r--parts/appwizard/importdlg.cpp12
-rw-r--r--parts/appwizard/importdlg.h2
-rw-r--r--parts/appwizard/imports/CMakeLists.txt8
-rw-r--r--parts/appwizard/imports/Makefile.am6
-rw-r--r--parts/appwizard/imports/ada.tdevelop12
-rw-r--r--parts/appwizard/imports/c-auto.tdevelop16
-rw-r--r--parts/appwizard/imports/c.tdevelop18
-rw-r--r--parts/appwizard/imports/cpp-auto.tdevelop16
-rw-r--r--parts/appwizard/imports/cpp.tdevelop18
-rw-r--r--parts/appwizard/imports/fortran-auto.tdevelop12
-rw-r--r--parts/appwizard/imports/fortran.tdevelop18
-rw-r--r--parts/appwizard/imports/gnome.tdevelop22
-rw-r--r--parts/appwizard/imports/java-ant.tdevelop14
-rw-r--r--parts/appwizard/imports/java-auto.tdevelop10
-rw-r--r--parts/appwizard/imports/java.tdevelop10
-rw-r--r--parts/appwizard/imports/pascal.tdevelop12
-rw-r--r--parts/appwizard/imports/perl.tdevelop12
-rw-r--r--parts/appwizard/imports/php.tdevelop20
-rw-r--r--parts/appwizard/imports/python.tdevelop16
-rw-r--r--parts/appwizard/imports/qt-auto.tdevelop16
-rw-r--r--parts/appwizard/imports/qt.tdevelop18
-rw-r--r--parts/appwizard/imports/qt4qmake.tdevelop20
-rw-r--r--parts/appwizard/imports/qtqmake.tdevelop20
-rw-r--r--parts/appwizard/imports/qttmake.tdevelop16
-rw-r--r--parts/appwizard/imports/ruby.tdevelop18
-rw-r--r--parts/appwizard/imports/tde (renamed from parts/appwizard/imports/kde)0
-rw-r--r--parts/appwizard/imports/tde.tdevelop (renamed from parts/appwizard/imports/kde.tdevelop)16
-rw-r--r--parts/appwizard/profilesupport.cpp4
-rw-r--r--parts/appwizard/profilesupport.h4
-rw-r--r--parts/appwizard/tdevappwizard.desktop (renamed from parts/appwizard/kdevappwizard.desktop)4
-rw-r--r--parts/appwizard/tdevappwizard.rc (renamed from parts/appwizard/kdevappwizard.rc)2
-rw-r--r--parts/appwizard/tdevfile.cpp (renamed from parts/appwizard/kdevfile.cpp)40
-rw-r--r--parts/appwizard/tdevfile.h (renamed from parts/appwizard/kdevfile.h)8
-rw-r--r--parts/appwizard/tdevlicense.cpp (renamed from parts/appwizard/kdevlicense.cpp)20
-rw-r--r--parts/appwizard/tdevlicense.h (renamed from parts/appwizard/kdevlicense.h)16
-rw-r--r--parts/astyle/CMakeLists.txt8
-rw-r--r--parts/astyle/Makefile.am14
-rw-r--r--parts/astyle/astyle_adaptor.cpp6
-rw-r--r--parts/astyle/astyle_adaptor.h6
-rw-r--r--parts/astyle/astyle_part.cpp24
-rw-r--r--parts/astyle/astyle_part.h8
-rw-r--r--parts/astyle/astyle_widget.cpp2
-rw-r--r--parts/astyle/astyle_widget.h2
-rw-r--r--parts/astyle/tdevastyle.desktop (renamed from parts/astyle/kdevastyle.desktop)2
-rw-r--r--parts/astyle/tdevpart_astyle.rc (renamed from parts/astyle/kdevpart_astyle.rc)0
-rw-r--r--parts/bookmarks/CMakeLists.txt6
-rw-r--r--parts/bookmarks/Makefile.am10
-rw-r--r--parts/bookmarks/bookmarks_part.cpp18
-rw-r--r--parts/bookmarks/bookmarks_part.h10
-rw-r--r--parts/bookmarks/bookmarks_widget.cpp4
-rw-r--r--parts/bookmarks/tdevbookmarks.desktop (renamed from parts/bookmarks/kdevbookmarks.desktop)2
-rw-r--r--parts/classview/CMakeLists.txt10
-rw-r--r--parts/classview/Makefile.am14
-rw-r--r--parts/classview/classtooldlg.cpp8
-rw-r--r--parts/classview/classtooldlg.h4
-rw-r--r--parts/classview/classtreebase.cpp26
-rw-r--r--parts/classview/classviewpart.cpp30
-rw-r--r--parts/classview/classviewpart.h12
-rw-r--r--parts/classview/classviewwidget.cpp26
-rw-r--r--parts/classview/classviewwidget.h4
-rw-r--r--parts/classview/hierarchydlg.cpp18
-rw-r--r--parts/classview/hierarchydlg.h4
-rw-r--r--parts/classview/navigator.cpp6
-rw-r--r--parts/classview/tdevclassview.desktop (renamed from parts/classview/kdevclassview.desktop)2
-rw-r--r--parts/classview/tdevclassview.rc (renamed from parts/classview/kdevclassview.rc)0
-rw-r--r--parts/ctags2/CMakeLists.txt8
-rw-r--r--parts/ctags2/Makefile.am14
-rw-r--r--parts/ctags2/ctags2_part.cpp34
-rw-r--r--parts/ctags2/ctags2_part.h8
-rw-r--r--parts/ctags2/ctags2_settingswidget.cpp4
-rw-r--r--parts/ctags2/ctags2_widget.cpp4
-rw-r--r--parts/ctags2/tdevctags2.desktop (renamed from parts/ctags2/kdevctags2.desktop)2
-rw-r--r--parts/ctags2/tdevpart_ctags2.rc (renamed from parts/ctags2/kdevpart_ctags2.rc)2
-rw-r--r--parts/diff/CMakeLists.txt8
-rw-r--r--parts/diff/Makefile.am14
-rw-r--r--parts/diff/diffpart.cpp22
-rw-r--r--parts/diff/diffpart.h6
-rw-r--r--parts/diff/diffwidget.cpp2
-rw-r--r--parts/diff/tdevdiff.desktop (renamed from parts/diff/kdevdiff.desktop)4
-rw-r--r--parts/diff/tdevdiff.rc (renamed from parts/diff/kdevdiff.rc)2
-rw-r--r--parts/distpart/CMakeLists.txt8
-rw-r--r--parts/distpart/Makefile.am14
-rw-r--r--parts/distpart/distpart_part.cpp16
-rw-r--r--parts/distpart/distpart_part.h8
-rw-r--r--parts/distpart/distpart_widget.cpp6
-rw-r--r--parts/distpart/distpart_widget.h2
-rw-r--r--parts/distpart/specsupport.cpp12
-rw-r--r--parts/distpart/tdevdistpart.desktop (renamed from parts/distpart/kdevdistpart.desktop)2
-rw-r--r--parts/distpart/tdevpart_distpart.rc (renamed from parts/distpart/kdevpart_distpart.rc)0
-rw-r--r--parts/documentation/CMakeLists.txt12
-rw-r--r--parts/documentation/Makefile.am18
-rw-r--r--parts/documentation/TDevDocumentationIface.cpp (renamed from parts/documentation/KDevDocumentationIface.cpp)30
-rw-r--r--parts/documentation/TDevDocumentationIface.h (renamed from parts/documentation/KDevDocumentationIface.h)10
-rw-r--r--parts/documentation/addcatalogdlg.cpp2
-rw-r--r--parts/documentation/bookmarkview.cpp6
-rw-r--r--parts/documentation/contentsview.cpp4
-rw-r--r--parts/documentation/data/CMakeLists.txt4
-rw-r--r--parts/documentation/data/Makefile.am4
-rw-r--r--parts/documentation/data/nomatch.html4
-rw-r--r--parts/documentation/data/syntax.html4
-rw-r--r--parts/documentation/data/wrapper.html6
-rw-r--r--parts/documentation/docconfiglistview.cpp2
-rw-r--r--parts/documentation/docglobalconfigwidget.cpp12
-rw-r--r--parts/documentation/docprojectconfigwidget.cpp10
-rw-r--r--parts/documentation/documentation_part.cpp111
-rw-r--r--parts/documentation/documentation_part.h9
-rw-r--r--parts/documentation/documentation_widget.cpp4
-rw-r--r--parts/documentation/documentation_widget.h2
-rw-r--r--parts/documentation/docutils.cpp4
-rw-r--r--parts/documentation/editcatalogdlg.cpp2
-rw-r--r--parts/documentation/find_documentation.cpp4
-rw-r--r--parts/documentation/indexview.cpp4
-rw-r--r--parts/documentation/interfaces/CMakeLists.txt4
-rw-r--r--parts/documentation/interfaces/Makefile.am10
-rw-r--r--parts/documentation/interfaces/tdevdocumentationplugin.cpp (renamed from parts/documentation/interfaces/kdevdocumentationplugin.cpp)8
-rw-r--r--parts/documentation/interfaces/tdevdocumentationplugin.h (renamed from parts/documentation/interfaces/kdevdocumentationplugin.h)4
-rw-r--r--parts/documentation/plugins/CMakeLists.txt2
-rw-r--r--parts/documentation/plugins/Makefile.am2
-rw-r--r--parts/documentation/plugins/chm/docchmplugin.cpp8
-rw-r--r--parts/documentation/plugins/chm/docchmplugin.h2
-rw-r--r--parts/documentation/plugins/custom/doccustomplugin.cpp8
-rw-r--r--parts/documentation/plugins/custom/doccustomplugin.h2
-rw-r--r--parts/documentation/plugins/devhelp/docdevhelpplugin.cpp8
-rw-r--r--parts/documentation/plugins/devhelp/docdevhelpplugin.h2
-rw-r--r--parts/documentation/plugins/djvu/docdjvuplugin.cpp4
-rw-r--r--parts/documentation/plugins/djvu/docdjvuplugin.h2
-rw-r--r--parts/documentation/plugins/doxygen/docdoxygenplugin.cpp8
-rw-r--r--parts/documentation/plugins/doxygen/docdoxygenplugin.h2
-rw-r--r--parts/documentation/plugins/kdevtoc/Makefile.am10
-rw-r--r--parts/documentation/plugins/pdb/docpdbplugin.cpp4
-rw-r--r--parts/documentation/plugins/pdb/docpdbplugin.h2
-rw-r--r--parts/documentation/plugins/pdf/docpdfplugin.cpp4
-rw-r--r--parts/documentation/plugins/pdf/docpdfplugin.h2
-rw-r--r--parts/documentation/plugins/qt/docqtplugin.cpp8
-rw-r--r--parts/documentation/plugins/qt/docqtplugin.h2
-rw-r--r--parts/documentation/plugins/tdevtoc/CMakeLists.txt (renamed from parts/documentation/plugins/kdevtoc/CMakeLists.txt)8
-rw-r--r--parts/documentation/plugins/tdevtoc/Makefile.am10
-rw-r--r--parts/documentation/plugins/tdevtoc/doctdevtocplugin.cpp (renamed from parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp)46
-rw-r--r--parts/documentation/plugins/tdevtoc/doctdevtocplugin.desktop (renamed from parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop)10
-rw-r--r--parts/documentation/plugins/tdevtoc/doctdevtocplugin.h (renamed from parts/documentation/plugins/kdevtoc/dockdevtocplugin.h)12
-rw-r--r--parts/documentation/protocols/chm/CMakeLists.txt2
-rw-r--r--parts/documentation/protocols/chm/Makefile.am2
-rw-r--r--parts/documentation/protocols/chm/kchmpart.cpp4
-rw-r--r--parts/documentation/protocols/chm/kchmpart.h4
-rw-r--r--parts/documentation/searchview.cpp10
-rw-r--r--parts/documentation/selecttopic.h2
-rw-r--r--parts/documentation/tdevdocumentation.desktop (renamed from parts/documentation/kdevdocumentation.desktop)6
-rw-r--r--parts/documentation/tdevpart_documentation.rc (renamed from parts/documentation/kdevpart_documentation.rc)1
-rw-r--r--parts/documentation/tools/htdig/htdigindex.cpp20
-rw-r--r--parts/doxygen/CMakeLists.txt8
-rw-r--r--parts/doxygen/Makefile.am14
-rw-r--r--parts/doxygen/doxygenpart.cpp32
-rw-r--r--parts/doxygen/doxygenpart.h4
-rw-r--r--parts/doxygen/tdevdoxygen.desktop (renamed from parts/doxygen/kdevdoxygen.desktop)2
-rw-r--r--parts/doxygen/tdevdoxygen.rc (renamed from parts/doxygen/kdevdoxygen.rc)0
-rw-r--r--parts/filecreate/CMakeLists.txt8
-rw-r--r--parts/filecreate/Makefile.am14
-rw-r--r--parts/filecreate/README.dox8
-rw-r--r--parts/filecreate/fcconfigwidget.cpp32
-rw-r--r--parts/filecreate/file-templates/CMakeLists.txt2
-rw-r--r--parts/filecreate/file-templates/Makefile.am2
-rw-r--r--parts/filecreate/filecreate_filedialog.h4
-rw-r--r--parts/filecreate/filecreate_part.cpp62
-rw-r--r--parts/filecreate/filecreate_part.h14
-rw-r--r--parts/filecreate/filecreate_widget2.cpp4
-rw-r--r--parts/filecreate/filecreate_widget2.h2
-rw-r--r--parts/filecreate/filecreate_widget3.cpp6
-rw-r--r--parts/filecreate/filecreate_widget3.h2
-rw-r--r--parts/filecreate/tdevfilecreate.desktop (renamed from parts/filecreate/kdevfilecreate.desktop)4
-rw-r--r--parts/filecreate/tdevpart_filecreate.rc (renamed from parts/filecreate/kdevpart_filecreate.rc)2
-rw-r--r--parts/filecreate/template-info.xml4
-rw-r--r--parts/filelist/CMakeLists.txt8
-rw-r--r--parts/filelist/Makefile.am14
-rw-r--r--parts/filelist/filelist_item.h2
-rw-r--r--parts/filelist/filelist_widget.cpp4
-rw-r--r--parts/filelist/filelist_widget.h4
-rw-r--r--parts/filelist/projectviewpart.cpp22
-rw-r--r--parts/filelist/projectviewpart.h10
-rw-r--r--parts/filelist/tdevfilelist.desktop (renamed from parts/filelist/kdevfilelist.desktop)2
-rw-r--r--parts/filelist/tdevfilelist.rc (renamed from parts/filelist/kdevfilelist.rc)0
-rw-r--r--parts/fileselector/CMakeLists.txt6
-rw-r--r--parts/fileselector/Makefile.am14
-rw-r--r--parts/fileselector/fileselector_part.cpp36
-rw-r--r--parts/fileselector/fileselector_part.h12
-rw-r--r--parts/fileselector/fileselector_widget.cpp102
-rw-r--r--parts/fileselector/fileselector_widget.h44
-rw-r--r--parts/fileselector/kbookmarkhandler.cpp6
-rw-r--r--parts/fileselector/kbookmarkhandler.h4
-rw-r--r--parts/fileselector/tdevfileselector.desktop (renamed from parts/fileselector/kdevfileselector.desktop)4
-rw-r--r--parts/fileselector/tdevpart_fileselector.rc (renamed from parts/fileselector/kdevpart_fileselector.rc)0
-rw-r--r--parts/fileview/CMakeLists.txt10
-rw-r--r--parts/fileview/Makefile.am20
-rw-r--r--parts/fileview/filegroupsconfigwidget.cpp4
-rw-r--r--parts/fileview/filegroupspart.cpp18
-rw-r--r--parts/fileview/filegroupspart.h4
-rw-r--r--parts/fileview/filegroupswidget.cpp18
-rw-r--r--parts/fileview/filegroupswidget.h2
-rw-r--r--parts/fileview/filetreeviewwidgetimpl.cpp6
-rw-r--r--parts/fileview/filetreewidget.cpp18
-rw-r--r--parts/fileview/filetreewidget.h14
-rw-r--r--parts/fileview/fileviewpart.cpp26
-rw-r--r--parts/fileview/fileviewpart.h8
-rw-r--r--parts/fileview/partwidget.cpp10
-rw-r--r--parts/fileview/tdevfilegroups.desktop (renamed from parts/fileview/kdevfilegroups.desktop)4
-rw-r--r--parts/fileview/tdevfileview.desktop (renamed from parts/fileview/kdevfileview.desktop)4
-rw-r--r--parts/fileview/vcsfiletreewidgetimpl.cpp16
-rw-r--r--parts/fileview/vcsfiletreewidgetimpl.h8
-rw-r--r--parts/filter/CMakeLists.txt10
-rw-r--r--parts/filter/Makefile.am14
-rw-r--r--parts/filter/filterpart.cpp18
-rw-r--r--parts/filter/filterpart.h8
-rw-r--r--parts/filter/shellfilterdlg.cpp2
-rw-r--r--parts/filter/shellfilterdlg.h2
-rw-r--r--parts/filter/shellinsertdlg.cpp2
-rw-r--r--parts/filter/shellinsertdlg.h2
-rw-r--r--parts/filter/tdevfilter.desktop (renamed from parts/filter/kdevfilter.desktop)4
-rw-r--r--parts/filter/tdevfilter.rc (renamed from parts/filter/kdevfilter.rc)2
-rw-r--r--parts/filter/tdevfilterIface.cpp (renamed from parts/filter/kdevfilterIface.cpp)14
-rw-r--r--parts/filter/tdevfilterIface.h (renamed from parts/filter/kdevfilterIface.h)10
-rw-r--r--parts/fullscreen/CMakeLists.txt8
-rw-r--r--parts/fullscreen/Makefile.am14
-rw-r--r--parts/fullscreen/fullscreen_part.cpp20
-rw-r--r--parts/fullscreen/fullscreen_part.h8
-rw-r--r--parts/fullscreen/tdevfullscreen.desktop (renamed from parts/fullscreen/kdevfullscreen.desktop)2
-rw-r--r--parts/fullscreen/tdevpart_fullscreen.rc (renamed from parts/fullscreen/kdevpart_fullscreen.rc)0
-rw-r--r--parts/grepview/CMakeLists.txt10
-rw-r--r--parts/grepview/Makefile.am16
-rw-r--r--parts/grepview/grepdlg.cpp2
-rw-r--r--parts/grepview/grepviewpart.cpp28
-rw-r--r--parts/grepview/grepviewpart.h10
-rw-r--r--parts/grepview/grepviewwidget.cpp16
-rw-r--r--parts/grepview/grepviewwidget.h4
-rw-r--r--parts/grepview/tdevgrepview.desktop (renamed from parts/grepview/kdevgrepview.desktop)2
-rw-r--r--parts/grepview/tdevgrepview.rc (renamed from parts/grepview/kdevgrepview.rc)0
-rw-r--r--parts/konsole/CMakeLists.txt6
-rw-r--r--parts/konsole/Makefile.am12
-rw-r--r--parts/konsole/konsoleviewpart.cpp22
-rw-r--r--parts/konsole/konsoleviewpart.h8
-rw-r--r--parts/konsole/konsoleviewwidget.cpp6
-rw-r--r--parts/konsole/konsoleviewwidget.h2
-rw-r--r--parts/konsole/tdevkonsoleview.desktop (renamed from parts/konsole/kdevkonsoleview.desktop)2
-rw-r--r--parts/openwith/CMakeLists.txt6
-rw-r--r--parts/openwith/Makefile.am10
-rw-r--r--parts/openwith/openwithpart.cpp16
-rw-r--r--parts/openwith/openwithpart.h4
-rw-r--r--parts/openwith/tdevopenwith.desktop (renamed from parts/openwith/kdevopenwith.desktop)2
-rw-r--r--parts/outputviews/CMakeLists.txt26
-rw-r--r--parts/outputviews/Makefile.am32
-rw-r--r--parts/outputviews/appoutputviewpart.cpp28
-rw-r--r--parts/outputviews/appoutputviewpart.h10
-rw-r--r--parts/outputviews/appoutputwidget.cpp6
-rw-r--r--parts/outputviews/makeactionfilter.cpp24
-rw-r--r--parts/outputviews/makeviewpart.cpp28
-rw-r--r--parts/outputviews/makeviewpart.h10
-rw-r--r--parts/outputviews/makewidget.cpp8
-rw-r--r--parts/outputviews/outputviewsfactory.cpp6
-rw-r--r--parts/outputviews/outputviewsfactory.h8
-rw-r--r--parts/outputviews/tdevappoutputview.desktop (renamed from parts/outputviews/kdevappoutputview.desktop)8
-rw-r--r--parts/outputviews/tdevmakeview.desktop (renamed from parts/outputviews/kdevmakeview.desktop)4
-rw-r--r--parts/outputviews/tdevmakeview.rc (renamed from parts/outputviews/kdevmakeview.rc)2
-rw-r--r--parts/partexplorer/CMakeLists.txt8
-rw-r--r--parts/partexplorer/Makefile.am14
-rw-r--r--parts/partexplorer/partexplorer_plugin.cpp16
-rw-r--r--parts/partexplorer/partexplorer_plugin.h4
-rw-r--r--parts/partexplorer/tdevpartexplorer.desktop (renamed from parts/partexplorer/kdevpartexplorer.desktop)4
-rw-r--r--parts/partexplorer/tdevpartexplorer.rc (renamed from parts/partexplorer/kdevpartexplorer.rc)2
-rw-r--r--parts/quickopen/CMakeLists.txt8
-rw-r--r--parts/quickopen/Makefile.am14
-rw-r--r--parts/quickopen/quickopen_part.cpp28
-rw-r--r--parts/quickopen/quickopen_part.h6
-rw-r--r--parts/quickopen/quickopenclassdialog.cpp6
-rw-r--r--parts/quickopen/quickopenfiledialog.cpp4
-rw-r--r--parts/quickopen/quickopenfunctiondialog.cpp8
-rw-r--r--parts/quickopen/tdevpart_quickopen.rc (renamed from parts/quickopen/kdevpart_quickopen.rc)0
-rw-r--r--parts/quickopen/tdevquickopen.desktop (renamed from parts/quickopen/kdevquickopen.desktop)2
-rw-r--r--parts/regexptest/CMakeLists.txt8
-rw-r--r--parts/regexptest/Makefile.am14
-rw-r--r--parts/regexptest/regexptestdlg.cpp6
-rw-r--r--parts/regexptest/regexptestdlg.h6
-rw-r--r--parts/regexptest/regexptestpart.cpp16
-rw-r--r--parts/regexptest/regexptestpart.h4
-rw-r--r--parts/regexptest/tdevregexptest.desktop (renamed from parts/regexptest/kdevregexptest.desktop)2
-rw-r--r--parts/regexptest/tdevregexptest.rc (renamed from parts/regexptest/kdevregexptest.rc)0
-rw-r--r--parts/replace/CMakeLists.txt8
-rw-r--r--parts/replace/Makefile.am14
-rw-r--r--parts/replace/replace_part.cpp18
-rw-r--r--parts/replace/replace_part.h8
-rw-r--r--parts/replace/replace_widget.cpp14
-rw-r--r--parts/replace/replace_widget.h2
-rw-r--r--parts/replace/tdevpart_replace.rc (renamed from parts/replace/kdevpart_replace.rc)0
-rw-r--r--parts/replace/tdevreplace.desktop (renamed from parts/replace/kdevreplace.desktop)2
-rw-r--r--parts/scripting/CMakeLists.txt8
-rw-r--r--parts/scripting/Makefile.am16
-rw-r--r--parts/scripting/scriptingpart.cpp18
-rw-r--r--parts/scripting/scriptingpart.h8
-rw-r--r--parts/scripting/tdevscripting.desktop (renamed from parts/scripting/kdevscripting.desktop)2
-rw-r--r--parts/scripting/tdevscripting.rc (renamed from parts/scripting/kdevscripting.rc)0
-rw-r--r--parts/snippet/CMakeLists.txt8
-rw-r--r--parts/snippet/Makefile.am14
-rw-r--r--parts/snippet/snippet_part.cpp20
-rw-r--r--parts/snippet/snippet_part.h10
-rw-r--r--parts/snippet/snippet_widget.cpp8
-rw-r--r--parts/snippet/snippet_widget.h2
-rw-r--r--parts/snippet/tdevpart_snippet.rc (renamed from parts/snippet/kdevpart_snippet.rc)2
-rw-r--r--parts/snippet/tdevsnippet.desktop (renamed from parts/snippet/kdevsnippet.desktop)2
-rw-r--r--parts/texttools/CMakeLists.txt6
-rw-r--r--parts/texttools/Makefile.am14
-rw-r--r--parts/texttools/tdevtexttools.desktop (renamed from parts/texttools/kdevtexttools.desktop)2
-rw-r--r--parts/texttools/texttoolspart.cpp18
-rw-r--r--parts/texttools/texttoolspart.h4
-rw-r--r--parts/texttools/texttoolswidget.cpp4
-rw-r--r--parts/tipofday/CMakeLists.txt10
-rw-r--r--parts/tipofday/Makefile.am18
-rw-r--r--parts/tipofday/tdevpart_tipofday.rc (renamed from parts/tipofday/kdevpart_tipofday.rc)0
-rw-r--r--parts/tipofday/tdevtipofday.desktop (renamed from parts/tipofday/kdevtipofday.desktop)2
-rw-r--r--parts/tipofday/tipofday_part.cpp18
-rw-r--r--parts/tipofday/tipofday_part.h8
-rw-r--r--parts/tools/CMakeLists.txt8
-rw-r--r--parts/tools/Makefile.am14
-rw-r--r--parts/tools/addtooldlg.ui4
-rw-r--r--parts/tools/addtooldlg.ui.h2
-rw-r--r--parts/tools/kapplicationtree.cpp40
-rw-r--r--parts/tools/kapplicationtree.h20
-rw-r--r--parts/tools/tdevpart_tools.rc (renamed from parts/tools/kdevpart_tools.rc)0
-rw-r--r--parts/tools/tdevtools.desktop (renamed from parts/tools/kdevtools.desktop)2
-rw-r--r--parts/tools/tools_part.cpp26
-rw-r--r--parts/tools/tools_part.h12
-rw-r--r--parts/tools/toolsconfig.cpp4
-rw-r--r--parts/tools/toolsconfig.h4
-rw-r--r--parts/uimode/CMakeLists.txt6
-rw-r--r--parts/uimode/Makefile.am10
-rw-r--r--parts/uimode/tdevuichooser.desktop (renamed from parts/uimode/kdevuichooser.desktop)2
-rw-r--r--parts/uimode/uichooser_part.cpp14
-rw-r--r--parts/uimode/uichooser_part.h8
-rw-r--r--parts/uimode/uichooser_widget.cpp2
-rw-r--r--parts/valgrind/CMakeLists.txt8
-rw-r--r--parts/valgrind/Makefile.am14
-rw-r--r--parts/valgrind/tdevpart_valgrind.rc (renamed from parts/valgrind/kdevpart_valgrind.rc)0
-rw-r--r--parts/valgrind/tdevvalgrind.desktop (renamed from parts/valgrind/kdevvalgrind.desktop)2
-rw-r--r--parts/valgrind/valgrind_part.cpp26
-rw-r--r--parts/valgrind/valgrind_part.h10
-rw-r--r--parts/valgrind/valgrind_widget.cpp8
-rw-r--r--parts/vcsmanager/CMakeLists.txt6
-rw-r--r--parts/vcsmanager/Makefile.am14
-rw-r--r--parts/vcsmanager/tdevvcsmanager.desktop (renamed from parts/vcsmanager/kdevvcsmanager.desktop)6
-rw-r--r--parts/vcsmanager/vcsmanagerpart.cpp20
-rw-r--r--parts/vcsmanager/vcsmanagerpart.h8
376 files changed, 1857 insertions, 1844 deletions
diff --git a/parts/abbrev/CMakeLists.txt b/parts/abbrev/CMakeLists.txt
index 219ad73d..6a61f9d8 100644
--- a/parts/abbrev/CMakeLists.txt
+++ b/parts/abbrev/CMakeLists.txt
@@ -26,14 +26,14 @@ link_directories(
##### other data ################################
-install( FILES kdevabbrev.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES qt_classes cpp_keywords DESTINATION ${DATA_INSTALL_DIR}/kdevabbrev/sources )
-install( FILES kdevabbrev.rc DESTINATION ${DATA_INSTALL_DIR}/kdevabbrev )
+install( FILES tdevabbrev.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES qt_classes cpp_keywords DESTINATION ${DATA_INSTALL_DIR}/tdevabbrev/sources )
+install( FILES tdevabbrev.rc DESTINATION ${DATA_INSTALL_DIR}/tdevabbrev )
-##### libkdevabbrev (module) ####################
+##### libtdevabbrev (module) ####################
-tde_add_kpart( libkdevabbrev AUTOMOC
+tde_add_kpart( libtdevabbrev AUTOMOC
SOURCES
abbrevpart.cpp abbrevconfigwidget.cpp
abbrevconfigwidgetbase.ui addtemplatedlg.cpp
diff --git a/parts/abbrev/Makefile.am b/parts/abbrev/Makefile.am
index f5c3ec2e..1c4f559c 100644
--- a/parts/abbrev/Makefile.am
+++ b/parts/abbrev/Makefile.am
@@ -2,19 +2,19 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevabbrev.la
-libkdevabbrev_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevabbrev_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevabbrev.la
+libtdevabbrev_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevabbrev_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevabbrev_la_SOURCES = abbrevpart.cpp abbrevconfigwidget.cpp abbrevconfigwidgetbase.ui addtemplatedlg.cpp addtemplatedlgbase.ui
+libtdevabbrev_la_SOURCES = abbrevpart.cpp abbrevconfigwidget.cpp abbrevconfigwidgetbase.ui addtemplatedlg.cpp addtemplatedlgbase.ui
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevabbrev.desktop
+service_DATA = tdevabbrev.desktop
-sourcesdir = $(kde_datadir)/kdevabbrev/sources
+sourcesdir = $(kde_datadir)/tdevabbrev/sources
sources_DATA = qt_classes cpp_keywords
-rcdir = $(kde_datadir)/kdevabbrev
-rc_DATA = kdevabbrev.rc
+rcdir = $(kde_datadir)/tdevabbrev
+rc_DATA = tdevabbrev.rc
diff --git a/parts/abbrev/abbrevpart.cpp b/parts/abbrev/abbrevpart.cpp
index 80d26599..87e44e23 100644
--- a/parts/abbrev/abbrevpart.cpp
+++ b/parts/abbrev/abbrevpart.cpp
@@ -24,35 +24,35 @@
#include <tdelocale.h>
#include <tdeparts/part.h>
#include <kstandarddirs.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdeaction.h>
#include <tdeconfig.h>
#include <tdeio/netaccess.h>
#include <kiconloader.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/codecompletioninterface.h>
-#include "kdevcore.h"
-#include "kdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevpartcontroller.h"
#include "abbrevconfigwidget.h"
-#include "kdeveditorutil.h"
+#include "tdeveditorutil.h"
-static const KDevPluginInfo data("kdevabbrev");
+static const TDevPluginInfo data("tdevabbrev");
-class AbbrevFactory : public KDevGenericFactory<AbbrevPart>
+class AbbrevFactory : public TDevGenericFactory<AbbrevPart>
{
public:
AbbrevFactory()
- : KDevGenericFactory<AbbrevPart>( data )
+ : TDevGenericFactory<AbbrevPart>( data )
{ }
virtual TDEInstance *createInstance()
{
- TDEInstance *instance = KDevGenericFactory<AbbrevPart>::createInstance();
+ TDEInstance *instance = TDevGenericFactory<AbbrevPart>::createInstance();
TDEStandardDirs *dirs = instance->dirs();
dirs->addResourceType( "codetemplates",
TDEStandardDirs::kde_default( "data" ) + "kdevabbrev/templates/" );
@@ -63,13 +63,13 @@ public:
}
};
-K_EXPORT_COMPONENT_FACTORY( libkdevabbrev, AbbrevFactory )
+K_EXPORT_COMPONENT_FACTORY( libtdevabbrev, AbbrevFactory )
AbbrevPart::AbbrevPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "AbbrevPart")
+ : TDevPlugin(&data, parent, name ? name : "AbbrevPart")
{
setInstance(AbbrevFactory::instance());
- setXMLFile("kdevabbrev.rc");
+ setXMLFile("tdevabbrev.rc");
connect(partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)),
this, TQT_SLOT(slotActivePartChanged(KParts::Part*)) );
@@ -235,7 +235,7 @@ void AbbrevPart::save()
TQString AbbrevPart::currentWord() const
{
- return KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ return TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
}
diff --git a/parts/abbrev/abbrevpart.h b/parts/abbrev/abbrevpart.h
index 2b602088..cbb60e50 100644
--- a/parts/abbrev/abbrevpart.h
+++ b/parts/abbrev/abbrevpart.h
@@ -18,7 +18,7 @@
#include <tqmap.h>
#include <tqptrlist.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
#include <tdetexteditor/codecompletioninterface.h>
@@ -60,7 +60,7 @@ private:
TQStringList m_suffixes;
};
-class AbbrevPart : public KDevPlugin
+class AbbrevPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/abbrev/kdevabbrev.desktop b/parts/abbrev/tdevabbrev.desktop
index 5c230dd4..f06bf2eb 100644
--- a/parts/abbrev/kdevabbrev.desktop
+++ b/parts/abbrev/tdevabbrev.desktop
@@ -77,7 +77,7 @@ GenericName[zh_CN]=缩写扩展
GenericName[zh_TW]=縮寫擴展
ServiceTypes=TDevelop/Plugin
Icon=fontsizeup
-X-TDE-Library=libkdevabbrev
+X-TDE-Library=libtdevabbrev
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=CodeEditing
diff --git a/parts/abbrev/kdevabbrev.rc b/parts/abbrev/tdevabbrev.rc
index e994ee76..e994ee76 100644
--- a/parts/abbrev/kdevabbrev.rc
+++ b/parts/abbrev/tdevabbrev.rc
diff --git a/parts/appwizard/CMakeLists.txt b/parts/appwizard/CMakeLists.txt
index bdeaf541..8a69f06e 100644
--- a/parts/appwizard/CMakeLists.txt
+++ b/parts/appwizard/CMakeLists.txt
@@ -35,18 +35,18 @@ link_directories(
##### other data ################################
-install( FILES kdevappwizard.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevappwizard.rc DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
+install( FILES tdevappwizard.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevappwizard.rc DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard )
-##### libkdevappwizard (module) #################
+##### libtdevappwizard (module) #################
-tde_add_kpart( libkdevappwizard AUTOMOC
+tde_add_kpart( libtdevappwizard AUTOMOC
SOURCES
appwizardfactory.cpp appwizardpart.cpp appwizarddlg.cpp
importdlg.cpp filepropspagebase.ui filepropspage.cpp
appwizarddlgbase.ui importdlgbase.ui misc.cpp vcs_form.ui
- kdevfile.cpp kdevlicense.cpp profilesupport.cpp
+ tdevfile.cpp tdevlicense.cpp profilesupport.cpp
LINK profileengine-shared tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/parts/appwizard/Makefile.am b/parts/appwizard/Makefile.am
index 34af3163..012f6f29 100644
--- a/parts/appwizard/Makefile.am
+++ b/parts/appwizard/Makefile.am
@@ -7,22 +7,22 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extras -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets \
-I$(top_srcdir)/src/profileengine/lib $(all_includes)
-kde_module_LTLIBRARIES = libkdevappwizard.la
-libkdevappwizard_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevappwizard_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/lib/interfaces/extras/libkdevextras.la $(top_builddir)/lib/util/libkdevutil.la \
- $(top_builddir)/lib/widgets/propeditor/libkdevpropertyeditor.la $(top_builddir)/src/profileengine/lib/libprofileengine.la
+kde_module_LTLIBRARIES = libtdevappwizard.la
+libtdevappwizard_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevappwizard_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+ $(top_builddir)/lib/interfaces/extras/libtdevextras.la $(top_builddir)/lib/util/libtdevutil.la \
+ $(top_builddir)/lib/widgets/propeditor/libtdevpropertyeditor.la $(top_builddir)/src/profileengine/lib/libprofileengine.la
-libkdevappwizard_la_SOURCES = appwizardfactory.cpp appwizardpart.cpp \
+libtdevappwizard_la_SOURCES = appwizardfactory.cpp appwizardpart.cpp \
appwizarddlg.cpp importdlg.cpp filepropspagebase.ui filepropspage.cpp \
appwizarddlgbase.ui importdlgbase.ui misc.cpp vcs_form.ui\
- kdevfile.cpp kdevlicense.cpp profilesupport.cpp
+ tdevfile.cpp tdevlicense.cpp profilesupport.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevappwizard.desktop
+service_DATA = tdevappwizard.desktop
-rcdir = $(kde_datadir)/kdevappwizard
-rc_DATA = kdevappwizard.rc
+rcdir = $(kde_datadir)/tdevappwizard
+rc_DATA = tdevappwizard.rc
noinst_HEADERS = profilesupport.h
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp
index d5160075..4cbf716d 100644
--- a/parts/appwizard/appwizarddlg.cpp
+++ b/parts/appwizard/appwizarddlg.cpp
@@ -64,14 +64,14 @@
#include <tqlayout.h>
#include "domutil.h"
-#include "kdevversioncontrol.h"
-#include "kdevmakefrontend.h"
-#include "kdevpartcontroller.h"
-#include "kdevplugincontroller.h"
-#include "kdevappfrontend.h"
-#include "kdevplugininfo.h"
-#include "kdevlicense.h"
-#include "kdevcore.h"
+#include "tdevversioncontrol.h"
+#include "tdevmakefrontend.h"
+#include "tdevpartcontroller.h"
+#include "tdevplugincontroller.h"
+#include "tdevappfrontend.h"
+#include "tdevplugininfo.h"
+#include "tdevlicense.h"
+#include "tdevcore.h"
#include "appwizardfactory.h"
#include "appwizardpart.h"
#include "filepropspage.h"
@@ -309,8 +309,8 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
appname_edit->setValidator(appname_edit_validator);
// insert the licenses into the license_combo
- TQDict< KDevLicense > lics( licenses() );
- TQDictIterator< KDevLicense > dit(lics);
+ TQDict< TDevLicense > lics( licenses() );
+ TQDictIterator< TDevLicense > dit(lics);
int idx=1;
for( ; dit.current(); ++dit )
{
@@ -356,8 +356,8 @@ void AppWizardDialog::loadVcs()
}
TQStringList args;
TQObject *obj = factory->create(0, service->name().latin1(),
- "KDevVCSIntegrator", args);
- KDevVCSIntegrator *integrator = (KDevVCSIntegrator*) obj;
+ "TDevVCSIntegrator", args);
+ TDevVCSIntegrator *integrator = (TDevVCSIntegrator*) obj;
if (!integrator)
kdDebug(9010) << " failed to create vcs integrator " << service->name() << endl;
@@ -418,20 +418,20 @@ void AppWizardDialog::licenseChanged()
edit->setText( TQString() );
}
} else {
- KDevLicense* lic = licenses()[ license_combo->currentText() ];
+ TDevLicense* lic = licenses()[ license_combo->currentText() ];
for (it = m_fileTemplates.begin(); it != m_fileTemplates.end(); ++it) {
TQString style = (*it).style;
TQMultiLineEdit *edit = (*it).edit;
- KDevFile::CommentingStyle commentStyle = KDevFile::CPPStyle;
+ TDevFile::CommentingStyle commentStyle = TDevFile::CPPStyle;
if (style == "PStyle") {
- commentStyle = KDevFile::PascalStyle;
+ commentStyle = TDevFile::PascalStyle;
} else if (style == "AdaStyle") {
- commentStyle = KDevFile::AdaStyle;
+ commentStyle = TDevFile::AdaStyle;
} else if (style == "ShellStyle") {
- commentStyle = KDevFile::BashStyle;
+ commentStyle = TDevFile::BashStyle;
} else if (style == "XMLStyle") {
- commentStyle = KDevFile::XMLStyle;
+ commentStyle = TDevFile::XMLStyle;
}
TQString text;
@@ -577,7 +577,7 @@ void AppWizardDialog::accept()
if( license_combo->currentItem() != 0 )
{
licenseName = license_combo->currentText();
- KDevLicense* lic = licenses()[ licenseName ];
+ TDevLicense* lic = licenses()[ licenseName ];
if( lic )
{
TQStringList files( lic->copyFiles() );
@@ -1273,7 +1273,7 @@ void AppWizardDialog::setPermissions(const installFile &file)
}
}
-TQDict<KDevLicense> AppWizardDialog::licenses()
+TQDict<TDevLicense> AppWizardDialog::licenses()
{
return m_licenses;
}
@@ -1291,7 +1291,7 @@ void AppWizardDialog::loadLicenses()
TQString licPath( dirs->findResource( "licenses", *it ) );
kdDebug(9010) << "Loading license file: " << licPath << endl;
TQString licName = licPath.mid( licPath.findRev('/') + 1 );
- KDevLicense* lic = new KDevLicense( licName, licPath );
+ TDevLicense* lic = new TDevLicense( licName, licPath );
m_licenses.insert( licName, lic );
}
// kdDebug(9010) << "======================== Done loadLicenses" << endl;
diff --git a/parts/appwizard/appwizarddlg.h b/parts/appwizard/appwizarddlg.h
index 392cd1b6..4a160bd2 100644
--- a/parts/appwizard/appwizarddlg.h
+++ b/parts/appwizard/appwizarddlg.h
@@ -32,12 +32,12 @@ class ProfileSupport;
#include <tqstringlist.h>
#include <tdelistview.h>
#include <kiconview.h>
-#include "kdevversioncontrol.h"
-#include "kdevvcsintegrator.h"
+#include "tdevversioncontrol.h"
+#include "tdevvcsintegrator.h"
#include "appwizarddlgbase.h"
#include "vcs_form.h"
//#include "autoform.h"
-#include "kdevlicense.h"
+#include "tdevlicense.h"
namespace PropertyLib {
class PropertyList;
@@ -132,7 +132,7 @@ public:
protected:
virtual void accept();
- virtual TQDict<KDevLicense> licenses();
+ virtual TQDict<TDevLicense> licenses();
void loadLicenses();
protected slots:
@@ -181,7 +181,7 @@ private: //data
TQDict<TQListViewItem> m_categoryMap;
TQValueList<TQListViewItem*> m_categoryItems;
//! A list of currently available version control systems
-// TQDict<KDevVersionControl> m_availVcs;
+// TQDict<TDevVersionControl> m_availVcs;
TQHBoxLayout *m_custom_options_layout;
PropertyLib::PropertyEditor *m_customOptions;
@@ -195,8 +195,8 @@ private: //data
TDEPopupMenu* m_favouritesMenu;
TDEPopupMenu* m_templatesMenu;
- TQDict<KDevLicense> m_licenses;
- TQDict<KDevVCSIntegrator> m_integrators;
+ TQDict<TDevLicense> m_licenses;
+ TQDict<TDevVCSIntegrator> m_integrators;
TQMap<int, VCSDialog*> m_integratorDialogs;
ProfileSupport *m_profileSupport;
diff --git a/parts/appwizard/appwizardfactory.cpp b/parts/appwizard/appwizardfactory.cpp
index 5288105d..6749add0 100644
--- a/parts/appwizard/appwizardfactory.cpp
+++ b/parts/appwizard/appwizardfactory.cpp
@@ -11,30 +11,30 @@
#include <kstandarddirs.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include "appwizardfactory.h"
-static const KDevPluginInfo data("kdevappwizard");
-K_EXPORT_COMPONENT_FACTORY( libkdevappwizard, AppWizardFactory )
+static const TDevPluginInfo data("tdevappwizard");
+K_EXPORT_COMPONENT_FACTORY( libtdevappwizard, AppWizardFactory )
AppWizardFactory::AppWizardFactory()
- : KDevGenericFactory<AppWizardPart>( data )
+ : TDevGenericFactory<AppWizardPart>( data )
{
}
TDEInstance *AppWizardFactory::createInstance()
{
- TDEInstance *instance = KDevGenericFactory<AppWizardPart>::createInstance();
+ TDEInstance *instance = TDevGenericFactory<AppWizardPart>::createInstance();
TDEStandardDirs *dirs = instance->dirs();
- dirs->addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "kdevappwizard/templates/");
- dirs->addResourceType("appimports", TDEStandardDirs::kde_default("data") + "kdevappwizard/imports/");
- dirs->addResourceType("appimportfiles", TDEStandardDirs::kde_default("data") + "kdevappwizard/importfiles/");
+ dirs->addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "tdevappwizard/templates/");
+ dirs->addResourceType("appimports", TDEStandardDirs::kde_default("data") + "tdevappwizard/imports/");
+ dirs->addResourceType("appimportfiles", TDEStandardDirs::kde_default("data") + "tdevappwizard/importfiles/");
return instance;
}
-const KDevPluginInfo *AppWizardFactory::info()
+const TDevPluginInfo *AppWizardFactory::info()
{
return &data;
}
diff --git a/parts/appwizard/appwizardfactory.h b/parts/appwizard/appwizardfactory.h
index 3bbc6e1e..3de35631 100644
--- a/parts/appwizard/appwizardfactory.h
+++ b/parts/appwizard/appwizardfactory.h
@@ -12,18 +12,18 @@
#ifndef _APPWIZARDFACTORY_H_
#define _APPWIZARDFACTORY_H_
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include "appwizardpart.h"
-class KDevPluginInfo;
+class TDevPluginInfo;
-class AppWizardFactory : public KDevGenericFactory<AppWizardPart>
+class AppWizardFactory : public TDevGenericFactory<AppWizardPart>
{
public:
AppWizardFactory();
- static const KDevPluginInfo *info();
+ static const TDevPluginInfo *info();
protected:
virtual TDEInstance *createInstance();
diff --git a/parts/appwizard/appwizardpart.cpp b/parts/appwizard/appwizardpart.cpp
index dd2fae65..ada3b362 100644
--- a/parts/appwizard/appwizardpart.cpp
+++ b/parts/appwizard/appwizardpart.cpp
@@ -19,7 +19,7 @@
#include <tdelocale.h>
#include <tdemessagebox.h>
#include <kprocess.h>
-#include <kdevcore.h>
+#include <tdevcore.h>
#include <kgenericfactory.h>
#include <kstandarddirs.h>
#include <tdeaction.h>
@@ -28,17 +28,17 @@
#include "importdlg.h"
#include "appwizarddlg.h"
#include "appwizardfactory.h"
-#include <kdevmakefrontend.h>
-#include <kdevpartcontroller.h>
-#include <kdevlanguagesupport.h>
-#include <kdevcore.h>
+#include <tdevmakefrontend.h>
+#include <tdevpartcontroller.h>
+#include <tdevlanguagesupport.h>
+#include <tdevcore.h>
#include <codemodel.h>
AppWizardPart::AppWizardPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(AppWizardFactory::info(), parent, name ? name : "AppWizardPart")
+ : TDevPlugin(AppWizardFactory::info(), parent, name ? name : "AppWizardPart")
{
setInstance(AppWizardFactory::instance());
- setXMLFile("kdevappwizard.rc");
+ setXMLFile("tdevappwizard.rc");
TDEAction *action;
diff --git a/parts/appwizard/appwizardpart.h b/parts/appwizard/appwizardpart.h
index 59280631..901d51ad 100644
--- a/parts/appwizard/appwizardpart.h
+++ b/parts/appwizard/appwizardpart.h
@@ -13,7 +13,7 @@
#define _APPWIZARDPART_H_
#include <tqguardedptr.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
#include <tqstring.h>
#include <tqstringlist.h>
#include <kurl.h>
@@ -21,7 +21,7 @@
class AppWizardDialog;
-class AppWizardPart : public KDevPlugin
+class AppWizardPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/appwizard/common/CMakeLists.txt b/parts/appwizard/common/CMakeLists.txt
index 62a5b97b..81ee38b4 100644
--- a/parts/appwizard/common/CMakeLists.txt
+++ b/parts/appwizard/common/CMakeLists.txt
@@ -20,7 +20,7 @@ generate_tar( gnome2.tar.gz gnome2 macros )
generate_tar( gnu.tar.gz gnu AUTHORS COPYING ChangeLog INSTALL NEWS README TODO )
generate_tar( wxwidgets.tar.gz wx macros )
generate_tar( incadmin.tar.gz incadmin config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs )
-generate_tar( scons.tar.gz scons configure admin/scons-mini.tar.bz2 admin/generic.py admin/kde.py )
+generate_tar( scons.tar.gz scons configure admin/scons-mini.tar.bz2 admin/generic.py admin/tde.py )
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/admin.tar.gz
@@ -29,18 +29,18 @@ install( FILES
${CMAKE_CURRENT_BINARY_DIR}/gnome.tar.gz
${CMAKE_CURRENT_BINARY_DIR}/gnome2.tar.gz
${CMAKE_CURRENT_BINARY_DIR}/wxwidgets.tar.gz
- kde-app.lsm kde-Makefile.am kde-Makefile.cvs
+ tde-app.lsm tde-Makefile.am tde-Makefile.cvs
tde-configure.in.in tde-index.docbook
- kde-po-Makefile.am kde-doc-Makefile.am
- kde-doc-en-Makefile.am hi16-app-app.png
+ tde-po-Makefile.am tde-doc-Makefile.am
+ tde-doc-en-Makefile.am hi16-app-app.png
hi32-app-app.png tde-app.desktop
tde-part.desktop gnome-app.lsm
gnome-Makefile.am gnome-Makefile.cvs
gnome-pixmaps-Makefile.am gnome-app.png
wx-configure.in wx-Makefile.am wx-Makefile.cvs
COPYING COPYING.LIB LICENSE.QPL LICENSE.BSD
- Artistic admin.kdevtemplate gnu.kdevtemplate
- dockbook.kdevtemplate incadmin.kdevtemplate
- gnome2.kdevtemplate scons.kdevtemplate
+ Artistic admin.tdevtemplate gnu.tdevtemplate
+ dockbook.tdevtemplate incadmin.tdevtemplate
+ gnome2.tdevtemplate scons.tdevtemplate
${CMAKE_CURRENT_BINARY_DIR}/scons.tar.gz
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/template-common )
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/template-common )
diff --git a/parts/appwizard/common/Makefile.am b/parts/appwizard/common/Makefile.am
index 2d6e5278..e068df5b 100644
--- a/parts/appwizard/common/Makefile.am
+++ b/parts/appwizard/common/Makefile.am
@@ -28,19 +28,19 @@ incadmin.tar.gz:
gzip incadmin.tar
scons.tar.gz:
- $(TAR) -cf scons.tar --exclude=.svn -C $(srcdir)/scons configure admin/scons-mini.tar.bz2 admin/generic.py admin/kde.py
+ $(TAR) -cf scons.tar --exclude=.svn -C $(srcdir)/scons configure admin/scons-mini.tar.bz2 admin/generic.py admin/tde.py
gzip scons.tar
-appwizarddatadir = ${kde_datadir}/kdevappwizard
+appwizarddatadir = ${kde_datadir}/tdevappwizard
commondatadir = ${appwizarddatadir}/template-common
commondata_DATA = admin.tar.gz gnu.tar.gz incadmin.tar.gz gnome.tar.gz gnome2.tar.gz wxwidgets.tar.gz \
- kde-app.lsm kde-Makefile.am kde-Makefile.cvs tde-configure.in.in \
- tde-index.docbook kde-po-Makefile.am kde-doc-Makefile.am kde-doc-en-Makefile.am \
+ tde-app.lsm tde-Makefile.am tde-Makefile.cvs tde-configure.in.in \
+ tde-index.docbook tde-po-Makefile.am tde-doc-Makefile.am tde-doc-en-Makefile.am \
hi16-app-app.png hi32-app-app.png tde-app.desktop tde-part.desktop \
gnome-app.lsm gnome-Makefile.am gnome-Makefile.cvs \
gnome-pixmaps-Makefile.am gnome-app.png \
wx-configure.in wx-Makefile.am wx-Makefile.cvs \
COPYING COPYING.LIB LICENSE.QPL LICENSE.BSD Artistic \
- admin.kdevtemplate gnu.kdevtemplate dockbook.kdevtemplate\
- incadmin.kdevtemplate gnome2.kdevtemplate scons.kdevtemplate scons.tar.gz
+ admin.tdevtemplate gnu.tdevtemplate dockbook.tdevtemplate\
+ incadmin.tdevtemplate gnome2.tdevtemplate scons.tdevtemplate scons.tar.gz
diff --git a/parts/appwizard/common/admin.kdevtemplate b/parts/appwizard/common/admin.tdevtemplate
index 73573b47..73573b47 100644
--- a/parts/appwizard/common/admin.kdevtemplate
+++ b/parts/appwizard/common/admin.tdevtemplate
diff --git a/parts/appwizard/common/dockbook.kdevtemplate b/parts/appwizard/common/dockbook.tdevtemplate
index 41b65f62..41b65f62 100644
--- a/parts/appwizard/common/dockbook.kdevtemplate
+++ b/parts/appwizard/common/dockbook.tdevtemplate
diff --git a/parts/appwizard/common/gnome2.kdevtemplate b/parts/appwizard/common/gnome2.tdevtemplate
index ce4e3f3d..ce4e3f3d 100644
--- a/parts/appwizard/common/gnome2.kdevtemplate
+++ b/parts/appwizard/common/gnome2.tdevtemplate
diff --git a/parts/appwizard/common/gnu.kdevtemplate b/parts/appwizard/common/gnu.tdevtemplate
index e1876440..e1876440 100644
--- a/parts/appwizard/common/gnu.kdevtemplate
+++ b/parts/appwizard/common/gnu.tdevtemplate
diff --git a/parts/appwizard/common/incadmin.kdevtemplate b/parts/appwizard/common/incadmin.tdevtemplate
index d7fbfb61..d7fbfb61 100644
--- a/parts/appwizard/common/incadmin.kdevtemplate
+++ b/parts/appwizard/common/incadmin.tdevtemplate
diff --git a/parts/appwizard/common/scons.kdevtemplate b/parts/appwizard/common/scons.tdevtemplate
index 84ed350f..84ed350f 100644
--- a/parts/appwizard/common/scons.kdevtemplate
+++ b/parts/appwizard/common/scons.tdevtemplate
diff --git a/parts/appwizard/common/scons/admin/kde.py b/parts/appwizard/common/scons/admin/tde.py
index d194fd84..2fe7a4c9 100644
--- a/parts/appwizard/common/scons/admin/kde.py
+++ b/parts/appwizard/common/scons/admin/tde.py
@@ -1,4 +1,4 @@
-# Made from scons qt.py and (heavily) modified into kde.py
+# Made from scons qt.py and (heavily) modified into tde.py
# Thomas Nagy, 2004, 2005 <tnagy2^8@yahoo.fr>
"""
diff --git a/parts/appwizard/common/kde-Makefile.am b/parts/appwizard/common/tde-Makefile.am
index 06057100..06057100 100644
--- a/parts/appwizard/common/kde-Makefile.am
+++ b/parts/appwizard/common/tde-Makefile.am
diff --git a/parts/appwizard/common/kde-Makefile.cvs b/parts/appwizard/common/tde-Makefile.cvs
index 4c0afd1a..4c0afd1a 100644
--- a/parts/appwizard/common/kde-Makefile.cvs
+++ b/parts/appwizard/common/tde-Makefile.cvs
diff --git a/parts/appwizard/common/kde-app.lsm b/parts/appwizard/common/tde-app.lsm
index 06055a96..06055a96 100644
--- a/parts/appwizard/common/kde-app.lsm
+++ b/parts/appwizard/common/tde-app.lsm
diff --git a/parts/appwizard/common/kde-doc-Makefile.am b/parts/appwizard/common/tde-doc-Makefile.am
index a1f777a1..a1f777a1 100644
--- a/parts/appwizard/common/kde-doc-Makefile.am
+++ b/parts/appwizard/common/tde-doc-Makefile.am
diff --git a/parts/appwizard/common/kde-doc-en-Makefile.am b/parts/appwizard/common/tde-doc-en-Makefile.am
index bdd63b79..bdd63b79 100644
--- a/parts/appwizard/common/kde-doc-en-Makefile.am
+++ b/parts/appwizard/common/tde-doc-en-Makefile.am
diff --git a/parts/appwizard/common/kde-po-Makefile.am b/parts/appwizard/common/tde-po-Makefile.am
index 0fa209cd..0fa209cd 100644
--- a/parts/appwizard/common/kde-po-Makefile.am
+++ b/parts/appwizard/common/tde-po-Makefile.am
diff --git a/parts/appwizard/importdlg.cpp b/parts/appwizard/importdlg.cpp
index 5f07f5b4..15f432b2 100644
--- a/parts/appwizard/importdlg.cpp
+++ b/parts/appwizard/importdlg.cpp
@@ -37,9 +37,9 @@
#include <tdeparts/componentfactory.h>
#include <kprocess.h>
-#include "kdevcore.h"
-#include "kdevversioncontrol.h"
-#include "kdevplugincontroller.h"
+#include "tdevcore.h"
+#include "tdevversioncontrol.h"
+#include "tdevplugincontroller.h"
#include "domutil.h"
#include "settings.h"
@@ -272,7 +272,7 @@ void ImportDialog::dirChanged()
// KDevelop legacy project?
TQStringList files = dir.entryList("*.kdevprj");
if (!files.isEmpty()) {
- scanLegacyKDevelopProject(dir.absFilePath(files.first()));
+ scanLegacyTDevelopProject(dir.absFilePath(files.first()));
return;
}
@@ -328,7 +328,7 @@ void ImportDialog::dirChanged()
}
-void ImportDialog::scanLegacyKDevelopProject(const TQString &fileName)
+void ImportDialog::scanLegacyTDevelopProject(const TQString &fileName)
{
kdDebug(9010) << "Scanning legacy KDevelop project file " << fileName << endl;
@@ -524,7 +524,7 @@ void ImportDialog::slotFinishedCheckout( TQString destinationDir )
void ImportDialog::slotFetchModulesFromRepository()
{
- KDevVersionControl *vcs = m_part->versionControlByName( vcsCombo->currentText() );
+ TDevVersionControl *vcs = m_part->versionControlByName( vcsCombo->currentText() );
if (!vcs)
return;
diff --git a/parts/appwizard/importdlg.h b/parts/appwizard/importdlg.h
index 5b334668..af4d3859 100644
--- a/parts/appwizard/importdlg.h
+++ b/parts/appwizard/importdlg.h
@@ -48,7 +48,7 @@ private slots:
void slotProjectNameChanged( const TQString &_text );
private:
// void scanAvailableVCS();
- void scanLegacyKDevelopProject(const TQString &fileName);
+ void scanLegacyTDevelopProject(const TQString &fileName);
void scanLegacyStudioProject(const TQString &fileName);
void scanAutomakeProject(const TQString &dirName);
void setProjectType(const TQString &type);
diff --git a/parts/appwizard/imports/CMakeLists.txt b/parts/appwizard/imports/CMakeLists.txt
index e7b303c3..d59750c4 100644
--- a/parts/appwizard/imports/CMakeLists.txt
+++ b/parts/appwizard/imports/CMakeLists.txt
@@ -10,16 +10,16 @@
#################################################
install( FILES
- c-auto cpp-auto fortran-auto java-auto kde gnome c cpp
+ c-auto cpp-auto fortran-auto java-auto tde gnome c cpp
fortran python php perl java java-ant qttmake qtqmake
qt4qmake ruby pascal ada
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/imports )
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/imports )
install( FILES
c-auto.tdevelop cpp-auto.tdevelop fortran-auto.tdevelop
- java-auto.tdevelop kde.tdevelop gnome.tdevelop
+ java-auto.tdevelop tde.tdevelop gnome.tdevelop
c.tdevelop cpp.tdevelop fortran.tdevelop python.tdevelop
php.tdevelop perl.tdevelop java.tdevelop java-ant.tdevelop
qttmake.tdevelop qtqmake.tdevelop qt4qmake.tdevelop
ruby.tdevelop pascal.tdevelop ada.tdevelop
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/importfiles )
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/importfiles )
diff --git a/parts/appwizard/imports/Makefile.am b/parts/appwizard/imports/Makefile.am
index c7f74dcd..aaefd91f 100644
--- a/parts/appwizard/imports/Makefile.am
+++ b/parts/appwizard/imports/Makefile.am
@@ -1,7 +1,7 @@
-appwizarddatadir = ${kde_datadir}/kdevappwizard
+appwizarddatadir = ${kde_datadir}/tdevappwizard
importsdir = ${appwizarddatadir}/imports
importfilesdir = ${appwizarddatadir}/importfiles
-imports_DATA = c-auto cpp-auto fortran-auto java-auto kde gnome c cpp fortran python php perl java java-ant qttmake qtqmake qt4qmake ruby pascal ada
-importfiles_DATA = c-auto.tdevelop cpp-auto.tdevelop fortran-auto.tdevelop java-auto.tdevelop kde.tdevelop gnome.tdevelop c.tdevelop cpp.tdevelop fortran.tdevelop python.tdevelop php.tdevelop perl.tdevelop java.tdevelop java-ant.tdevelop qttmake.tdevelop qtqmake.tdevelop qt4qmake.tdevelop ruby.tdevelop pascal.tdevelop ada.tdevelop
+imports_DATA = c-auto cpp-auto fortran-auto java-auto tde gnome c cpp fortran python php perl java java-ant qttmake qtqmake qt4qmake ruby pascal ada
+importfiles_DATA = c-auto.tdevelop cpp-auto.tdevelop fortran-auto.tdevelop java-auto.tdevelop tde.tdevelop gnome.tdevelop c.tdevelop cpp.tdevelop fortran.tdevelop python.tdevelop php.tdevelop perl.tdevelop java.tdevelop java-ant.tdevelop qttmake.tdevelop qtqmake.tdevelop qt4qmake.tdevelop ruby.tdevelop pascal.tdevelop ada.tdevelop
diff --git a/parts/appwizard/imports/ada.tdevelop b/parts/appwizard/imports/ada.tdevelop
index cdb35b40..188fbea6 100644
--- a/parts/appwizard/imports/ada.tdevelop
+++ b/parts/appwizard/imports/ada.tdevelop
@@ -11,12 +11,12 @@
<keyword>Code</keyword>
</keywords>
</general>
- <kdevadaproject>
+ <tdevadaproject>
<run>
<terminal>true</terminal>
</run>
- </kdevadaproject>
- <kdevdoctreeview>
+ </tdevadaproject>
+ <tdevdoctreeview>
<ignoretocs>
<toc>bash</toc>
<toc>bash_bugs</toc>
@@ -63,11 +63,11 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="adb"/>
<type ext="ads"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/c-auto.tdevelop b/parts/appwizard/imports/c-auto.tdevelop
index 892dd88d..002e6e1d 100644
--- a/parts/appwizard/imports/c-auto.tdevelop
+++ b/parts/appwizard/imports/c-auto.tdevelop
@@ -9,7 +9,7 @@
<ignoreparts>
</ignoreparts>
</general>
- <kdevautoproject>
+ <tdevautoproject>
<general>
<useconfiguration>debug</useconfiguration>
</general>
@@ -32,13 +32,13 @@
<cflags>-O0 -g3</cflags>
</debug>
</configurations>
- </kdevautoproject>
- <kdevdebugger>
+ </tdevautoproject>
+ <tdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
</general>
- </kdevdebugger>
- <kdevdoctreeview>
+ </tdevdebugger>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -85,12 +85,12 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="c" />
<type ext="h" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/c.tdevelop b/parts/appwizard/imports/c.tdevelop
index e0c06089..e578fba4 100644
--- a/parts/appwizard/imports/c.tdevelop
+++ b/parts/appwizard/imports/c.tdevelop
@@ -4,21 +4,21 @@
<author>%{AUTHOR}</author>
<email>%{EMAIL}</email>
<version>%{VERSION}</version>
- <projectmanagement>KDevCustomProject</projectmanagement>
+ <projectmanagement>TDevCustomProject</projectmanagement>
<primarylanguage>C</primarylanguage>
<ignoreparts>
</ignoreparts>
</general>
- <kdevcustomproject>
+ <tdevcustomproject>
<run>
</run>
- </kdevcustomproject>
- <kdevdebugger>
+ </tdevcustomproject>
+ <tdevdebugger>
<general>
<dbgshell></dbgshell>
</general>
- </kdevdebugger>
- <kdevdoctreeview>
+ </tdevdebugger>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -65,12 +65,12 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="c" />
<type ext="h" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/cpp-auto.tdevelop b/parts/appwizard/imports/cpp-auto.tdevelop
index 74de8db0..0a1b05b1 100644
--- a/parts/appwizard/imports/cpp-auto.tdevelop
+++ b/parts/appwizard/imports/cpp-auto.tdevelop
@@ -9,7 +9,7 @@
<ignoreparts>
</ignoreparts>
</general>
- <kdevautoproject>
+ <tdevautoproject>
<general>
<useconfiguration>debug</useconfiguration>
</general>
@@ -30,13 +30,13 @@
<cxxflags>-O0 -g3</cxxflags>
</debug>
</configurations>
- </kdevautoproject>
- <kdevdebugger>
+ </tdevautoproject>
+ <tdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
</general>
- </kdevdebugger>
- <kdevdoctreeview>
+ </tdevdebugger>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -81,13 +81,13 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/cpp.tdevelop b/parts/appwizard/imports/cpp.tdevelop
index b351de38..3eade8de 100644
--- a/parts/appwizard/imports/cpp.tdevelop
+++ b/parts/appwizard/imports/cpp.tdevelop
@@ -4,21 +4,21 @@
<author>%{AUTHOR}</author>
<email>%{EMAIL}</email>
<version>%{VERSION}</version>
- <projectmanagement>KDevCustomProject</projectmanagement>
+ <projectmanagement>TDevCustomProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<ignoreparts>
</ignoreparts>
</general>
- <kdevcustomproject>
+ <tdevcustomproject>
<run>
</run>
- </kdevcustomproject>
- <kdevdebugger>
+ </tdevcustomproject>
+ <tdevdebugger>
<general>
<dbgshell></dbgshell>
</general>
- </kdevdebugger>
- <kdevdoctreeview>
+ </tdevdebugger>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -63,13 +63,13 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/fortran-auto.tdevelop b/parts/appwizard/imports/fortran-auto.tdevelop
index 8fdd5f89..4be630a6 100644
--- a/parts/appwizard/imports/fortran-auto.tdevelop
+++ b/parts/appwizard/imports/fortran-auto.tdevelop
@@ -9,7 +9,7 @@
<ignoreparts>
</ignoreparts>
</general>
- <kdevdoctreeview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -57,15 +57,15 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevdebugger>
+ </tdevdoctreeview>
+ <tdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
</general>
- </kdevdebugger>
- <kdevfilecreate>
+ </tdevdebugger>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="f"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/fortran.tdevelop b/parts/appwizard/imports/fortran.tdevelop
index c852870e..e7141b4f 100644
--- a/parts/appwizard/imports/fortran.tdevelop
+++ b/parts/appwizard/imports/fortran.tdevelop
@@ -4,16 +4,16 @@
<author>%{AUTHOR}</author>
<email>%{EMAIL}</email>
<version>%{VERSION}</version>
- <projectmanagement>KDevCustomProject</projectmanagement>
+ <projectmanagement>TDevCustomProject</projectmanagement>
<primarylanguage>Fortran77</primarylanguage>
<ignoreparts>
</ignoreparts>
</general>
- <kdevautoproject>
+ <tdevautoproject>
<general>
</general>
- </kdevautoproject>
- <kdevdoctreeview>
+ </tdevautoproject>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -61,15 +61,15 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevdebugger>
+ </tdevdoctreeview>
+ <tdevdebugger>
<general>
<dbgshell></dbgshell>
</general>
- </kdevdebugger>
- <kdevfilecreate>
+ </tdevdebugger>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="f"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/gnome.tdevelop b/parts/appwizard/imports/gnome.tdevelop
index 0b8c5c95..cad92fda 100644
--- a/parts/appwizard/imports/gnome.tdevelop
+++ b/parts/appwizard/imports/gnome.tdevelop
@@ -7,10 +7,10 @@
<projectmanagement>KDevAutoProject</projectmanagement>
<primarylanguage>C</primarylanguage>
<ignoreparts>
- <part>KDevJavaDebugger</part>
+ <part>TDevJavaDebugger</part>
</ignoreparts>
</general>
- <kdevautoproject>
+ <tdevautoproject>
<general>
<useconfiguration>debug</useconfiguration>
</general>
@@ -31,8 +31,8 @@
<cflags>-O0 -g3</cflags>
</debug>
</configurations>
- </kdevautoproject>
- <kdevfileview>
+ </tdevautoproject>
+ <tdevfileview>
<groups>
<group pattern="*.c;*.h" name="Sources" />
<group pattern="*.glade" name="User Interface" />
@@ -40,8 +40,8 @@
<group pattern="*.po" name="Translations" />
<group pattern="*" name="Others" />
</groups>
- </kdevfileview>
- <kdevdoctreeview>
+ </tdevfileview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -85,16 +85,16 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevdebugger>
+ </tdevdoctreeview>
+ <tdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
</general>
- </kdevdebugger>
- <kdevfilecreate>
+ </tdevdebugger>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="c"/>
<type ext="h"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/java-ant.tdevelop b/parts/appwizard/imports/java-ant.tdevelop
index a4db806b..1d64dc64 100644
--- a/parts/appwizard/imports/java-ant.tdevelop
+++ b/parts/appwizard/imports/java-ant.tdevelop
@@ -7,15 +7,15 @@
<projectmanagement>KDevAntProject</projectmanagement>
<primarylanguage>Java</primarylanguage>
<ignoreparts>
- <part>KDevDebugger</part>
+ <part>TDevDebugger</part>
</ignoreparts>
</general>
- <kdevcustomproject>
+ <tdevcustomproject>
<build>
<buildtool>ant</buildtool>
</build>
- </kdevcustomproject>
- <kdevdoctreeview>
+ </tdevcustomproject>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -59,10 +59,10 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="java"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/java-auto.tdevelop b/parts/appwizard/imports/java-auto.tdevelop
index 9a42ec82..f5de6138 100644
--- a/parts/appwizard/imports/java-auto.tdevelop
+++ b/parts/appwizard/imports/java-auto.tdevelop
@@ -7,10 +7,10 @@
<projectmanagement>KDevAutoProject</projectmanagement>
<primarylanguage>Java</primarylanguage>
<ignoreparts>
- <part>KDevDebugger</part>
+ <part>TDevDebugger</part>
</ignoreparts>
</general>
- <kdevdoctreeview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -54,10 +54,10 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="java"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/java.tdevelop b/parts/appwizard/imports/java.tdevelop
index 9a42ec82..f5de6138 100644
--- a/parts/appwizard/imports/java.tdevelop
+++ b/parts/appwizard/imports/java.tdevelop
@@ -7,10 +7,10 @@
<projectmanagement>KDevAutoProject</projectmanagement>
<primarylanguage>Java</primarylanguage>
<ignoreparts>
- <part>KDevDebugger</part>
+ <part>TDevDebugger</part>
</ignoreparts>
</general>
- <kdevdoctreeview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -54,10 +54,10 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="java"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/pascal.tdevelop b/parts/appwizard/imports/pascal.tdevelop
index 551ac91e..7db5a9d8 100644
--- a/parts/appwizard/imports/pascal.tdevelop
+++ b/parts/appwizard/imports/pascal.tdevelop
@@ -11,12 +11,12 @@
<keyword>Code</keyword>
</keywords>
</general>
- <kdevpascalproject>
+ <tdevpascalproject>
<run>
<terminal>true</terminal>
</run>
- </kdevpascalproject>
- <kdevdoctreeview>
+ </tdevpascalproject>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -64,12 +64,12 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="pp"/>
<type ext="pas"/>
<type ext="dpr"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/perl.tdevelop b/parts/appwizard/imports/perl.tdevelop
index bbf18ee3..0b4f4fba 100644
--- a/parts/appwizard/imports/perl.tdevelop
+++ b/parts/appwizard/imports/perl.tdevelop
@@ -9,11 +9,11 @@
<ignoreparts>
</ignoreparts>
</general>
- <kdevscriptproject>
+ <tdevscriptproject>
<run>
</run>
- </kdevscriptproject>
- <kdevdoctreeview>
+ </tdevscriptproject>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -60,10 +60,10 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="perl"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/php.tdevelop b/parts/appwizard/imports/php.tdevelop
index 64651d3b..4135828b 100644
--- a/parts/appwizard/imports/php.tdevelop
+++ b/parts/appwizard/imports/php.tdevelop
@@ -11,11 +11,11 @@
<part>KDevdistpart</part>
</ignoreparts>
</general>
- <kdevscriptproject>
+ <tdevscriptproject>
<general>
</general>
- </kdevscriptproject>
- <kdevdoctreeview>
+ </tdevscriptproject>
+ <tdevdoctreeview>
<ignoretocs>
<toc>gtk</toc>
<toc>kde</toc>
@@ -23,15 +23,15 @@
<toc>python</toc>
<toc>perl</toc>
</ignoretocs>
- </kdevdoctreeview>
-<kdevphpsupport>
+ </tdevdoctreeview>
+<tdevphpsupport>
<codeHelp>
<codeCompletion>true</codeCompletion>
<codeHinting>true</codeHinting>
<realtimeParsing>false</realtimeParsing>
</codeHelp>
-</kdevphpsupport>
- <kdevdoctreeview>
+</tdevphpsupport>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -75,10 +75,10 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="php"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/python.tdevelop b/parts/appwizard/imports/python.tdevelop
index 3c6ece1a..d85480b9 100644
--- a/parts/appwizard/imports/python.tdevelop
+++ b/parts/appwizard/imports/python.tdevelop
@@ -7,15 +7,15 @@
<projectmanagement>KDevScriptProject</projectmanagement>
<primarylanguage>Python</primarylanguage>
<ignoreparts>
- <part>KDevDebugger</part>
- <part>KDevJavaDebugger</part>
+ <part>TDevDebugger</part>
+ <part>TDevJavaDebugger</part>
</ignoreparts>
</general>
- <kdevscriptproject>
+ <tdevscriptproject>
<run>
</run>
- </kdevscriptproject>
- <kdevdoctreeview>
+ </tdevscriptproject>
+ <tdevdoctreeview>
<ignoretocs>
<toc>bash</toc>
<toc>bash_bugs</toc>
@@ -60,10 +60,10 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="py"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/qt-auto.tdevelop b/parts/appwizard/imports/qt-auto.tdevelop
index b4bba39e..a8ac37de 100644
--- a/parts/appwizard/imports/qt-auto.tdevelop
+++ b/parts/appwizard/imports/qt-auto.tdevelop
@@ -10,7 +10,7 @@
<keyword>Qt</keyword>
</keywords>
</general>
- <kdevfileview>
+ <tdevfileview>
<groups>
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
<group pattern="*.ui" name="User Interface" />
@@ -18,8 +18,8 @@
<group pattern="*.po;*.ts" name="Translations" />
<group pattern="*" name="Others" />
</groups>
- </kdevfileview>
- <kdevdoctreeview>
+ </tdevfileview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>gtk</toc>
<toc>gnustep</toc>
@@ -27,17 +27,17 @@
<toc>php</toc>
<toc>perl</toc>
</ignoretocs>
- </kdevdoctreeview>
- <kdevdebugger>
+ </tdevdoctreeview>
+ <tdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
</general>
- </kdevdebugger>
- <kdevfilecreate>
+ </tdevdebugger>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/qt.tdevelop b/parts/appwizard/imports/qt.tdevelop
index 6b716a7b..713510e0 100644
--- a/parts/appwizard/imports/qt.tdevelop
+++ b/parts/appwizard/imports/qt.tdevelop
@@ -4,13 +4,13 @@
<author>%{AUTHOR}</author>
<email>%{EMAIL}</email>
<version>%{VERSION}</version>
- <projectmanagement>KDevCustomProject</projectmanagement>
+ <projectmanagement>TDevCustomProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<keywords>
<keyword>Qt</keyword>
</keywords>
</general>
- <kdevfileview>
+ <tdevfileview>
<groups>
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
<group pattern="*.ui" name="User Interface" />
@@ -18,21 +18,21 @@
<group pattern="*.po;*.ts" name="Translations" />
<group pattern="*" name="Others" />
</groups>
- </kdevfileview>
- <kdevcustomproject>
+ </tdevfileview>
+ <tdevcustomproject>
<run>
</run>
- </kdevcustomproject>
- <kdevdebugger>
+ </tdevcustomproject>
+ <tdevdebugger>
<general>
<dbgshell></dbgshell>
</general>
- </kdevdebugger>
- <kdevfilecreate>
+ </tdevdebugger>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/qt4qmake.tdevelop b/parts/appwizard/imports/qt4qmake.tdevelop
index 3be6c94c..e211a470 100644
--- a/parts/appwizard/imports/qt4qmake.tdevelop
+++ b/parts/appwizard/imports/qt4qmake.tdevelop
@@ -10,15 +10,15 @@
<keyword>Qt</keyword>
</keywords>
</general>
- <kdevfileview>
+ <tdevfileview>
<groups>
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
<group pattern="*.ui" name="User Interface" />
<group pattern="*.png" name="Icons" />
<group pattern="*" name="Others" />
</groups>
- </kdevfileview>
- <kdevdoctreeview>
+ </tdevfileview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>bash</toc>
<toc>bash_bugs</toc>
@@ -55,26 +55,26 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevdebugger>
+ </tdevdoctreeview>
+ <tdevdebugger>
<general>
<dbgshell/>
</general>
- </kdevdebugger>
- <kdevcppsupport>
+ </tdevdebugger>
+ <tdevcppsupport>
<qt>
<version>4</version>
<used>true</used>
<includestyle>4</includestyle>
<designerintegration>ExternalDesigner</designerintegration>
</qt>
- </kdevcppsupport>
- <kdevfilecreate>
+ </tdevcppsupport>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
<type ext="qrc" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/qtqmake.tdevelop b/parts/appwizard/imports/qtqmake.tdevelop
index 2e9b089a..8a9d6b17 100644
--- a/parts/appwizard/imports/qtqmake.tdevelop
+++ b/parts/appwizard/imports/qtqmake.tdevelop
@@ -10,15 +10,15 @@
<keyword>Qt</keyword>
</keywords>
</general>
- <kdevfileview>
+ <tdevfileview>
<groups>
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
<group pattern="*.ui" name="User Interface" />
<group pattern="*.png" name="Icons" />
<group pattern="*" name="Others" />
</groups>
- </kdevfileview>
- <kdevdoctreeview>
+ </tdevfileview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>bash</toc>
<toc>bash_bugs</toc>
@@ -55,25 +55,25 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevdebugger>
+ </tdevdoctreeview>
+ <tdevdebugger>
<general>
<dbgshell/>
</general>
- </kdevdebugger>
- <kdevcppsupport>
+ </tdevdebugger>
+ <tdevcppsupport>
<qt>
<version>3</version>
<used>true</used>
<includestyle>3</includestyle>
<designerintegration>KDevEmbeddedDesigner</designerintegration>
</qt>
- </kdevcppsupport>
- <kdevfilecreate>
+ </tdevcppsupport>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/qttmake.tdevelop b/parts/appwizard/imports/qttmake.tdevelop
index 713655b6..015f4278 100644
--- a/parts/appwizard/imports/qttmake.tdevelop
+++ b/parts/appwizard/imports/qttmake.tdevelop
@@ -10,15 +10,15 @@
<keyword>Qt</keyword>
</keywords>
</general>
- <kdevfileview>
+ <tdevfileview>
<groups>
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
<group pattern="*.ui" name="User Interface" />
<group pattern="*.png" name="Icons" />
<group pattern="*" name="Others" />
</groups>
- </kdevfileview>
- <kdevdoctreeview>
+ </tdevfileview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>bash</toc>
<toc>bash_bugs</toc>
@@ -58,17 +58,17 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevdebugger>
+ </tdevdoctreeview>
+ <tdevdebugger>
<general>
<dbgshell/>
</general>
- </kdevdebugger>
- <kdevfilecreate>
+ </tdevdebugger>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/ruby.tdevelop b/parts/appwizard/imports/ruby.tdevelop
index 90dbe34a..0a29b0a7 100644
--- a/parts/appwizard/imports/ruby.tdevelop
+++ b/parts/appwizard/imports/ruby.tdevelop
@@ -13,22 +13,22 @@
<part>KDevDoxygen</part>
<part>KDevdistpart</part>
<part>KDevVisualBoyAdvance</part>
- <part>KDevDebugger</part>
+ <part>TDevDebugger</part>
</ignoreparts>
</general>
- <kdevscriptproject>
+ <tdevscriptproject>
<general>
<activedir>src</activedir>
<includepatterns>*.rb</includepatterns>
<excludepatterns>*~</excludepatterns>
</general>
- </kdevscriptproject>
- <kdevfileview>
+ </tdevscriptproject>
+ <tdevfileview>
<groups>
<group pattern="*.rb" name="Scripts" />
</groups>
- </kdevfileview>
- <kdevdoctreeview>
+ </tdevfileview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>bash</toc>
<toc>bash_bugs</toc>
@@ -73,10 +73,10 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfilecreate>
+ </tdevdoctreeview>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="rb"/>
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/imports/kde b/parts/appwizard/imports/tde
index 13614802..13614802 100644
--- a/parts/appwizard/imports/kde
+++ b/parts/appwizard/imports/tde
diff --git a/parts/appwizard/imports/kde.tdevelop b/parts/appwizard/imports/tde.tdevelop
index 5bff727f..fe54fadc 100644
--- a/parts/appwizard/imports/kde.tdevelop
+++ b/parts/appwizard/imports/tde.tdevelop
@@ -11,7 +11,7 @@
<keyword>KDE</keyword>
</keywords>
</general>
- <kdevfileview>
+ <tdevfileview>
<groups>
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
<group pattern="*.ui" name="User Interface" />
@@ -19,8 +19,8 @@
<group pattern="*.po;*.ts" name="Translations" />
<group pattern="*" name="Others" />
</groups>
- </kdevfileview>
- <kdevdoctreeview>
+ </tdevfileview>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -57,17 +57,17 @@
<ignoreqt_xml>
<toc>qmake User Guide</toc>
</ignoreqt_xml>
- </kdevdoctreeview>
- <kdevdebugger>
+ </tdevdoctreeview>
+ <tdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
</general>
- </kdevdebugger>
- <kdevfilecreate>
+ </tdevdebugger>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/appwizard/profilesupport.cpp b/parts/appwizard/profilesupport.cpp
index ac5da870..3c5a5a35 100644
--- a/parts/appwizard/profilesupport.cpp
+++ b/parts/appwizard/profilesupport.cpp
@@ -24,9 +24,9 @@
#include <kdebug.h>
#include <tdeconfig.h>
-#include <kdevplugincontroller.h>
+#include <tdevplugincontroller.h>
-ProfileSupport::ProfileSupport(KDevPlugin *parent)
+ProfileSupport::ProfileSupport(TDevPlugin *parent)
{
KURL::List resources = parent->pluginController()->profileResourcesRecursive("*.appwizard");
diff --git a/parts/appwizard/profilesupport.h b/parts/appwizard/profilesupport.h
index b18a9620..11e9b201 100644
--- a/parts/appwizard/profilesupport.h
+++ b/parts/appwizard/profilesupport.h
@@ -20,11 +20,11 @@
#ifndef PROFILESUPPORT_H
#define PROFILESUPPORT_H
-#include <kdevplugin.h>
+#include <tdevplugin.h>
class ProfileSupport{
public:
- ProfileSupport(KDevPlugin *parent);
+ ProfileSupport(TDevPlugin *parent);
bool isInTemplateList(const TQString &templateUrl);
private:
diff --git a/parts/appwizard/kdevappwizard.desktop b/parts/appwizard/tdevappwizard.desktop
index fa9dd541..bda84ba5 100644
--- a/parts/appwizard/kdevappwizard.desktop
+++ b/parts/appwizard/tdevappwizard.desktop
@@ -36,7 +36,7 @@ Comment[tg]=Устои сохтани гузориш
Comment[tr]=Uygulama Sihirbazı
Comment[zh_CN]=应用程序向导
Comment[zh_TW]=應用程式精靈
-Name=KDevAppWizard
+Name=TDevAppWizard
Name[da]=TDevelop Programguide
Name[de]=Anwendungs-Assistent (TDevelop)
Name[hi]=के-डेव-एप-विज़ार्ड
@@ -81,7 +81,7 @@ GenericName[tr]=Uygulama Sihirbazı
GenericName[zh_CN]=应用程序向导
GenericName[zh_TW]=應用程式精靈
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevappwizard
+X-TDE-Library=libtdevappwizard
X-TDevelop-Scope=Core
X-TDevelop-Version=5
X-TDevelop-Properties=ProjectCreation
diff --git a/parts/appwizard/kdevappwizard.rc b/parts/appwizard/tdevappwizard.rc
index c86e0f44..2705a29f 100644
--- a/parts/appwizard/kdevappwizard.rc
+++ b/parts/appwizard/tdevappwizard.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="KDevAppWizard" version="1">
+<kpartgui name="TDevAppWizard" version="1">
<MenuBar>
<Menu name="project" >
<Action name="project_new" group="project_new"/>
diff --git a/parts/appwizard/kdevfile.cpp b/parts/appwizard/tdevfile.cpp
index 4edb62c7..4a748d47 100644
--- a/parts/appwizard/kdevfile.cpp
+++ b/parts/appwizard/tdevfile.cpp
@@ -16,31 +16,31 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#include "kdevfile.h"
+#include "tdevfile.h"
static struct MimeTypeMapping
{
const char* szMimeType;
- KDevFile::CommentingStyle commentStyle;
+ TDevFile::CommentingStyle commentStyle;
} mimeTypeMapping[] = {
-{ "text/x-c++hdr", KDevFile::CPPStyle },
-{ "text/x-c++src", KDevFile::CPPStyle },
-{ "text/x-chdr", KDevFile::CStyle },
-{ "text/x-csrc", KDevFile::CStyle },
-{ "text/adasrc", KDevFile::AdaStyle },
-{ "text/x-pascal", KDevFile::PascalStyle },
-{ "text/x-perl", KDevFile::BashStyle },
-{ "text/xml", KDevFile::XMLStyle },
-{ "text/x-xslt", KDevFile::XMLStyle },
-{ "text/x-xslfo", KDevFile::XMLStyle },
-{ "text/html", KDevFile::XMLStyle },
-{ "text/docbook", KDevFile::XMLStyle },
-{ "application/x-php", KDevFile::CPPStyle },
-{ "application/x-shellscript",KDevFile::BashStyle },
-{ NULL, KDevFile::NoCommenting }
+{ "text/x-c++hdr", TDevFile::CPPStyle },
+{ "text/x-c++src", TDevFile::CPPStyle },
+{ "text/x-chdr", TDevFile::CStyle },
+{ "text/x-csrc", TDevFile::CStyle },
+{ "text/adasrc", TDevFile::AdaStyle },
+{ "text/x-pascal", TDevFile::PascalStyle },
+{ "text/x-perl", TDevFile::BashStyle },
+{ "text/xml", TDevFile::XMLStyle },
+{ "text/x-xslt", TDevFile::XMLStyle },
+{ "text/x-xslfo", TDevFile::XMLStyle },
+{ "text/html", TDevFile::XMLStyle },
+{ "text/docbook", TDevFile::XMLStyle },
+{ "application/x-php", TDevFile::CPPStyle },
+{ "application/x-shellscript",TDevFile::BashStyle },
+{ NULL, TDevFile::NoCommenting }
};
-KDevFile::CommentingStyle KDevFile::commentingStyleFromMimeType( const TQString& mimeType )
+TDevFile::CommentingStyle TDevFile::commentingStyleFromMimeType( const TQString& mimeType )
{
int idx = 0;
while( mimeTypeMapping[idx].szMimeType )
@@ -49,10 +49,10 @@ KDevFile::CommentingStyle KDevFile::commentingStyleFromMimeType( const TQString&
return mimeTypeMapping[idx].commentStyle;
idx++;
}
- return KDevFile::NoCommenting;
+ return TDevFile::NoCommenting;
}
-KDevFile::CommentingStyle KDevFile::commentingStyleFromMimeType( KMimeType::Ptr mimeType )
+TDevFile::CommentingStyle TDevFile::commentingStyleFromMimeType( KMimeType::Ptr mimeType )
{
return commentingStyleFromMimeType( mimeType->name() );
}
diff --git a/parts/appwizard/kdevfile.h b/parts/appwizard/tdevfile.h
index 6b2e2699..b1280f54 100644
--- a/parts/appwizard/kdevfile.h
+++ b/parts/appwizard/tdevfile.h
@@ -18,18 +18,18 @@
*/
/**
-@file kdevfile.h
+@file tdevfile.h
File abstraction layer.
*/
-#ifndef KDEVFILE_H
-#define KDEVFILE_H
+#ifndef TDEVFILE_H
+#define TDEVFILE_H
#include <kmimetype.h>
/**
File abstraction.
*/
-class KDevFile
+class TDevFile
{
public:
/**Styles of comment-formats a source file can have.*/
diff --git a/parts/appwizard/kdevlicense.cpp b/parts/appwizard/tdevlicense.cpp
index 5e189422..a720c6c3 100644
--- a/parts/appwizard/kdevlicense.cpp
+++ b/parts/appwizard/tdevlicense.cpp
@@ -16,19 +16,19 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#include "kdevlicense.h"
+#include "tdevlicense.h"
#include <tqfile.h>
#include <tqdatetime.h>
#include <tqregexp.h>
-KDevLicense::KDevLicense( const TQString& name, const TQString& fileName )
+TDevLicense::TDevLicense( const TQString& name, const TQString& fileName )
: m_name( name )
{
readFile( fileName );
}
-void KDevLicense::readFile( const TQString& fileName )
+void TDevLicense::readFile( const TQString& fileName )
{
TQFile f(fileName);
if (!f.open(IO_ReadOnly))
@@ -57,7 +57,7 @@ void KDevLicense::readFile( const TQString& fileName )
}
-TQString KDevLicense::assemble( KDevFile::CommentingStyle commentingStyle, const TQString& author, const TQString& email, int leadingSpaces )
+TQString TDevLicense::assemble( TDevFile::CommentingStyle commentingStyle, const TQString& author, const TQString& email, int leadingSpaces )
{
// first, build a CPP Style license
@@ -82,29 +82,29 @@ TQString KDevLicense::assemble( KDevFile::CommentingStyle commentingStyle, const
switch( commentingStyle )
{
- case KDevFile::CPPStyle:
- case KDevFile::CStyle:
+ case TDevFile::CPPStyle:
+ case TDevFile::CStyle:
return str;
- case KDevFile::PascalStyle:
+ case TDevFile::PascalStyle:
str.replace(TQRegExp("/\\**\n \\*"), "{\n ");
str.replace(TQRegExp("\\*\n \\*"), " \n ");
str.replace(TQRegExp(" *\\**/\n"), "}\n");
return str;
- case KDevFile::AdaStyle:
+ case TDevFile::AdaStyle:
str.replace(TQRegExp("/\\*"), "--");
str.replace(TQRegExp(" \\*"), "--");
str.replace(TQRegExp("\\*/"), "*");
return str;
- case KDevFile::BashStyle:
+ case TDevFile::BashStyle:
str.replace(TQRegExp("\\*|/"), "#");
str.replace(TQRegExp("\n ##"), "\n##");
str.replace(TQRegExp("\n #"), "\n# ");
return str;
- case KDevFile::XMLStyle:
+ case TDevFile::XMLStyle:
str.replace(TQRegExp("/\\*"), "<!--");
str.replace(TQRegExp("\n \\*"), "\n<!--");
str.replace(TQRegExp("\\*/?\n"), "-->\n");
diff --git a/parts/appwizard/kdevlicense.h b/parts/appwizard/tdevlicense.h
index 2e81c9ec..d61aebc3 100644
--- a/parts/appwizard/kdevlicense.h
+++ b/parts/appwizard/tdevlicense.h
@@ -16,30 +16,30 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#ifndef KDEVLICENSE_H
-#define KDEVLICENSE_H
+#ifndef TDEVLICENSE_H
+#define TDEVLICENSE_H
/**
-@file kdevfile.h
+@file tdevfile.h
The interface to installed licenses.
*/
#include <tqstringlist.h>
-#include "kdevfile.h"
+#include "tdevfile.h"
/*The interface to installed licenses.*/
-class KDevLicense
+class TDevLicense
{
public:
- /**Constructs a KDevLicense and loads the given license template file.
+ /**Constructs a TDevLicense and loads the given license template file.
@param name The name of this license.
@param fileName The file name where license template text is kept.*/
- KDevLicense(const TQString& name, const TQString& fileName);
+ TDevLicense(const TQString& name, const TQString& fileName);
public:
/**Assembles the license to a string suitable for replacement of a %{LICENSE} .*/
- TQString assemble(KDevFile::CommentingStyle commentingStyle, const TQString& author, const TQString& email, int leadingSpaces );
+ TQString assemble(TDevFile::CommentingStyle commentingStyle, const TQString& author, const TQString& email, int leadingSpaces );
/**
* returns the name of this license.
diff --git a/parts/astyle/CMakeLists.txt b/parts/astyle/CMakeLists.txt
index bac3e50a..aba6c00f 100644
--- a/parts/astyle/CMakeLists.txt
+++ b/parts/astyle/CMakeLists.txt
@@ -28,13 +28,13 @@ link_directories(
##### other data ################################
-install( FILES kdevastyle.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_astyle.rc DESTINATION ${DATA_INSTALL_DIR}/kdevastyle )
+install( FILES tdevastyle.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_astyle.rc DESTINATION ${DATA_INSTALL_DIR}/tdevastyle )
-##### libkdevastyle (module) ####################
+##### libtdevastyle (module) ####################
-tde_add_kpart( libkdevastyle AUTOMOC
+tde_add_kpart( libtdevastyle AUTOMOC
SOURCES
astyle_part.cpp astyleconfig.ui astyle_widget.cpp
astyle_adaptor.cpp
diff --git a/parts/astyle/Makefile.am b/parts/astyle/Makefile.am
index 739ba2b8..4247625d 100644
--- a/parts/astyle/Makefile.am
+++ b/parts/astyle/Makefile.am
@@ -1,16 +1,16 @@
INCLUDES = -I$(top_srcdir)/lib/astyle -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevastyle.la
-libkdevastyle_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevastyle_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+kde_module_LTLIBRARIES = libtdevastyle.la
+libtdevastyle_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevastyle_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/lib/astyle/libastyle.la
-libkdevastyle_la_SOURCES = astyle_part.cpp astyleconfig.ui astyle_widget.cpp astyle_adaptor.cpp
+libtdevastyle_la_SOURCES = astyle_part.cpp astyleconfig.ui astyle_widget.cpp astyle_adaptor.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevastyle.desktop
+service_DATA = tdevastyle.desktop
-rc_DATA = kdevpart_astyle.rc
-rcdir = $(kde_datadir)/kdevastyle
+rc_DATA = tdevpart_astyle.rc
+rcdir = $(kde_datadir)/tdevastyle
diff --git a/parts/astyle/astyle_adaptor.cpp b/parts/astyle/astyle_adaptor.cpp
index 05fb0901..6f6bed50 100644
--- a/parts/astyle/astyle_adaptor.cpp
+++ b/parts/astyle/astyle_adaptor.cpp
@@ -38,7 +38,7 @@ string ASStringIterator::nextLine()
}
-KDevFormatter::KDevFormatter(const TQMap<TQString, TQVariant>& options)
+TDevFormatter::TDevFormatter(const TQMap<TQString, TQVariant>& options)
{
// for ( TQMap<TQString, TQVariant>::ConstIterator iter = options.begin();iter != options.end();iter++ )
// {
@@ -116,7 +116,7 @@ KDevFormatter::KDevFormatter(const TQMap<TQString, TQVariant>& options)
setSingleStatementsMode(!options["KeepStatements"].toBool());
}
-KDevFormatter::KDevFormatter( AStyleWidget * widget )
+TDevFormatter::TDevFormatter( AStyleWidget * widget )
{
setCStyle();
@@ -215,7 +215,7 @@ KDevFormatter::KDevFormatter( AStyleWidget * widget )
setSingleStatementsMode( !widget->Keep_Statements->isChecked() );
}
-bool KDevFormatter::predefinedStyle( const TQString & style )
+bool TDevFormatter::predefinedStyle( const TQString & style )
{
if (style == "ANSI")
{
diff --git a/parts/astyle/astyle_adaptor.h b/parts/astyle/astyle_adaptor.h
index 21398fbb..df2ab818 100644
--- a/parts/astyle/astyle_adaptor.h
+++ b/parts/astyle/astyle_adaptor.h
@@ -33,12 +33,12 @@ private:
class AStyleWidget;
-class KDevFormatter : public astyle::ASFormatter
+class TDevFormatter : public astyle::ASFormatter
{
public:
- KDevFormatter(const TQMap<TQString, TQVariant>& options);
- KDevFormatter( AStyleWidget * widget );
+ TDevFormatter(const TQMap<TQString, TQVariant>& options);
+ TDevFormatter( AStyleWidget * widget );
TQString indentString() const
{
return m_indentString;
diff --git a/parts/astyle/astyle_part.cpp b/parts/astyle/astyle_part.cpp
index 16d590ab..57d032c8 100644
--- a/parts/astyle/astyle_part.cpp
+++ b/parts/astyle/astyle_part.cpp
@@ -7,7 +7,7 @@
#include <tdeversion.h>
#include <kdebug.h>
#include <kdialogbase.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdeparts/part.h>
@@ -17,10 +17,10 @@
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/selectioninterface.h>
#include <kprogress.h>
-#include <kdevcore.h>
-#include <kdevapi.h>
-#include <kdevpartcontroller.h>
-#include <kdevplugininfo.h>
+#include <tdevcore.h>
+#include <tdevapi.h>
+#include <tdevpartcontroller.h>
+#include <tdevplugininfo.h>
#include <configwidgetproxy.h>
#include <tdeapplication.h>
#include <tdeconfig.h>
@@ -33,22 +33,22 @@
#include "astyle_widget.h"
#include "astyle_adaptor.h"
-static const KDevPluginInfo data("kdevastyle");
+static const TDevPluginInfo data("tdevastyle");
namespace {
const char* defaultFormatExtensions = "*.cpp *.h *.hpp,*.c *.h,*.cxx *.hxx,*.c++ *.h++,*.cc *.hh,*.C *.H,*.diff ,*.inl,*.java,*.moc,*.patch,*.tlh,*.xpm";
}
-typedef KDevGenericFactory<AStylePart> AStyleFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevastyle, AStyleFactory( data ) )
+typedef TDevGenericFactory<AStylePart> AStyleFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevastyle, AStyleFactory( data ) )
AStylePart::AStylePart(TQObject *parent, const char *name, const TQStringList &)
: KDevSourceFormatter(&data, parent, name ? name : "AStylePart")
{
setInstance(AStyleFactory::instance());
- setXMLFile("kdevpart_astyle.rc");
+ setXMLFile("tdevpart_astyle.rc");
formatTextAction = new TDEAction(i18n("&Reformat Source"), 0, this, TQT_SLOT(beautifySource()), actionCollection(), "edit_astyle");
formatTextAction->setEnabled(false);
@@ -161,7 +161,7 @@ void AStylePart::beautifySource()
//if there is a selection, we only format it.
ASStringIterator is(has_selection ? sel_iface->selection() : iface->text());
- KDevFormatter formatter(m_project);
+ TDevFormatter formatter(m_project);
formatter.init(&is);
@@ -346,7 +346,7 @@ void AStylePart::activePartChanged ( KParts::Part *part )
TQString AStylePart::formatSource( const TQString text, AStyleWidget * widget, const TQMap<TQString, TQVariant>& options )
{
ASStringIterator is(text);
- KDevFormatter * formatter = ( widget)? new KDevFormatter( widget ) : new KDevFormatter(options);
+ TDevFormatter * formatter = ( widget)? new TDevFormatter( widget ) : new TDevFormatter(options);
formatter->init(&is);
@@ -390,7 +390,7 @@ TQString AStylePart::formatSource( const TQString text )
TQString AStylePart::indentString( ) const
{
- KDevFormatter formatter(m_project);
+ TDevFormatter formatter(m_project);
return formatter.indentString();
}
diff --git a/parts/astyle/astyle_part.h b/parts/astyle/astyle_part.h
index 61b5a382..675bada5 100644
--- a/parts/astyle/astyle_part.h
+++ b/parts/astyle/astyle_part.h
@@ -3,14 +3,14 @@
*/
-#ifndef __KDEVPART_ASTYLE_H__
-#define __KDEVPART_ASTYLE_H__
+#ifndef __TDEVPART_ASTYLE_H__
+#define __TDEVPART_ASTYLE_H__
class KDialogBase;
-#include <kdevsourceformatter.h>
+#include <tdevsourceformatter.h>
#include <tdeaction.h>
#include <tdeparts/part.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <kdebug.h>
#include <tqmap.h>
#include <tqvariant.h>
diff --git a/parts/astyle/astyle_widget.cpp b/parts/astyle/astyle_widget.cpp
index a70c6771..bcb810e5 100644
--- a/parts/astyle/astyle_widget.cpp
+++ b/parts/astyle/astyle_widget.cpp
@@ -10,7 +10,7 @@
#include <tqspinbox.h>
#include <tdeapplication.h>
#include <kdebug.h>
-#include <kdevcore.h>
+#include <tdevcore.h>
AStyleWidget::AStyleWidget(AStylePart * part, bool global, TQWidget *parent, const char *name)
diff --git a/parts/astyle/astyle_widget.h b/parts/astyle/astyle_widget.h
index 91963e54..89b3f2cd 100644
--- a/parts/astyle/astyle_widget.h
+++ b/parts/astyle/astyle_widget.h
@@ -4,7 +4,7 @@
#include "astyleconfig.h"
class AStylePart;
-class KDevPart;
+class TDevPart;
class AStyleWidget : public AStyleConfig
diff --git a/parts/astyle/kdevastyle.desktop b/parts/astyle/tdevastyle.desktop
index ceeaabfc..b77c4745 100644
--- a/parts/astyle/kdevastyle.desktop
+++ b/parts/astyle/tdevastyle.desktop
@@ -76,7 +76,7 @@ GenericName[zh_CN]=源代码格式化
GenericName[zh_TW]=程式源碼格式器
Icon=tdevelop
ServiceTypes=TDevelop/SourceFormatter
-X-TDE-Library=libkdevastyle
+X-TDE-Library=libtdevastyle
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-Properties=CDevelopment,CPPDevelopment,JavaDevelopment
diff --git a/parts/astyle/kdevpart_astyle.rc b/parts/astyle/tdevpart_astyle.rc
index 69037425..69037425 100644
--- a/parts/astyle/kdevpart_astyle.rc
+++ b/parts/astyle/tdevpart_astyle.rc
diff --git a/parts/bookmarks/CMakeLists.txt b/parts/bookmarks/CMakeLists.txt
index 0422965c..98022378 100644
--- a/parts/bookmarks/CMakeLists.txt
+++ b/parts/bookmarks/CMakeLists.txt
@@ -26,12 +26,12 @@ link_directories(
##### other data ################################
-install( FILES kdevbookmarks.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevbookmarks.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevbookmarks (module) #################
+##### libtdevbookmarks (module) #################
-tde_add_kpart( libkdevbookmarks AUTOMOC
+tde_add_kpart( libtdevbookmarks AUTOMOC
SOURCES
bookmarks_part.cpp bookmarks_widget.cpp bookmarks_settings_base.ui
bookmarks_settings.cpp bookmarks_config.cpp
diff --git a/parts/bookmarks/Makefile.am b/parts/bookmarks/Makefile.am
index 2ac7b233..6f2e6b8d 100644
--- a/parts/bookmarks/Makefile.am
+++ b/parts/bookmarks/Makefile.am
@@ -1,14 +1,14 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevbookmarks.la
-libkdevbookmarks_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevbookmarks_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevbookmarks.la
+libtdevbookmarks_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevbookmarks_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevbookmarks_la_SOURCES = bookmarks_part.cpp bookmarks_widget.cpp bookmarks_settings_base.ui bookmarks_settings.cpp bookmarks_config.cpp
+libtdevbookmarks_la_SOURCES = bookmarks_part.cpp bookmarks_widget.cpp bookmarks_settings_base.ui bookmarks_settings.cpp bookmarks_config.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevbookmarks.desktop
+service_DATA = tdevbookmarks.desktop
noinst_HEADERS = bookmarks_settings.h bookmarks_config.h
diff --git a/parts/bookmarks/bookmarks_part.cpp b/parts/bookmarks/bookmarks_part.cpp
index f7ac78cb..50672642 100644
--- a/parts/bookmarks/bookmarks_part.cpp
+++ b/parts/bookmarks/bookmarks_part.cpp
@@ -18,16 +18,16 @@
#include <kdebug.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdetexteditor/markinterface.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/document.h>
#include <tdeaction.h>
#include <kdialogbase.h>
-#include <kdevpartcontroller.h>
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
+#include <tdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
#include "domutil.h"
#include "bookmarks_widget.h"
@@ -36,16 +36,16 @@
#include "bookmarks_config.h"
#include <configwidgetproxy.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#define BOOKMARKSETTINGSPAGE 1
-typedef KDevGenericFactory<BookmarksPart> BookmarksFactory;
-static const KDevPluginInfo data("kdevbookmarks");
-K_EXPORT_COMPONENT_FACTORY( libkdevbookmarks, BookmarksFactory( data ) )
+typedef TDevGenericFactory<BookmarksPart> BookmarksFactory;
+static const TDevPluginInfo data("tdevbookmarks");
+K_EXPORT_COMPONENT_FACTORY( libtdevbookmarks, BookmarksFactory( data ) )
BookmarksPart::BookmarksPart(TQObject *parent, const char *name, const TQStringList& )
- : KDevPlugin(&data, parent, name ? name : "BookmarksPart" )
+ : TDevPlugin(&data, parent, name ? name : "BookmarksPart" )
{
setInstance(BookmarksFactory::instance());
diff --git a/parts/bookmarks/bookmarks_part.h b/parts/bookmarks/bookmarks_part.h
index f51603d7..b8015f54 100644
--- a/parts/bookmarks/bookmarks_part.h
+++ b/parts/bookmarks/bookmarks_part.h
@@ -10,8 +10,8 @@
***************************************************************************/
-#ifndef __KDEVPART_BOOKMARKS_H__
-#define __KDEVPART_BOOKMARKS_H__
+#ifndef __TDEVPART_BOOKMARKS_H__
+#define __TDEVPART_BOOKMARKS_H__
#include <tqguardedptr.h>
@@ -22,7 +22,7 @@
#include <tdeparts/part.h>
#include <kurl.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
class TQTimer;
class KDialogBase;
@@ -38,7 +38,7 @@ struct EditorData
class BookmarksWidget;
class TQDomElement;
-class BookmarksPart : public KDevPlugin
+class BookmarksPart : public TDevPlugin
{
Q_OBJECT
@@ -48,7 +48,7 @@ public:
BookmarksPart(TQObject *parent, const char *name, const TQStringList &);
~BookmarksPart();
- // reimplemented from KDevPlugin
+ // reimplemented from TDevPlugin
void restorePartialProjectSession( const TQDomElement * el );
void savePartialProjectSession( TQDomElement * el );
diff --git a/parts/bookmarks/bookmarks_widget.cpp b/parts/bookmarks/bookmarks_widget.cpp
index cc7316c8..dbf892fe 100644
--- a/parts/bookmarks/bookmarks_widget.cpp
+++ b/parts/bookmarks/bookmarks_widget.cpp
@@ -23,8 +23,8 @@
#include <tdepopupmenu.h>
#include <tdelocale.h>
-#include <kdevpartcontroller.h>
-#include <kdevcore.h>
+#include <tdevpartcontroller.h>
+#include <tdevcore.h>
#include "bookmarks_part.h"
diff --git a/parts/bookmarks/kdevbookmarks.desktop b/parts/bookmarks/tdevbookmarks.desktop
index 3cbdb233..0ec9ae11 100644
--- a/parts/bookmarks/kdevbookmarks.desktop
+++ b/parts/bookmarks/tdevbookmarks.desktop
@@ -80,6 +80,6 @@ GenericName[zh_TW]=書籤
Icon=bookmark
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Project
-X-TDE-Library=libkdevbookmarks
+X-TDE-Library=libtdevbookmarks
X-TDevelop-Version=5
X-TDevelop-Properties=CodeEditing
diff --git a/parts/classview/CMakeLists.txt b/parts/classview/CMakeLists.txt
index 2d19388a..a5ec68dc 100644
--- a/parts/classview/CMakeLists.txt
+++ b/parts/classview/CMakeLists.txt
@@ -30,17 +30,17 @@ link_directories(
##### other data ################################
-install( FILES kdevclassview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevclassview.rc DESTINATION ${DATA_INSTALL_DIR}/kdevclassview )
+install( FILES tdevclassview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevclassview.rc DESTINATION ${DATA_INSTALL_DIR}/tdevclassview )
-##### libkdevclassview (module) #################
+##### libtdevclassview (module) #################
-tde_add_kpart( libkdevclassview AUTOMOC
+tde_add_kpart( libtdevclassview AUTOMOC
SOURCES
classviewpart.cpp classviewwidget.cpp digraphview.cpp
hierarchydlg.cpp navigator.cpp viewcombos.cpp
LINK
- kdevextensions-static tdevelop-shared kdevwidgets-shared
+ tdevextensions-static tdevelop-shared tdevwidgets-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/parts/classview/Makefile.am b/parts/classview/Makefile.am
index 3041259e..ccc02078 100644
--- a/parts/classview/Makefile.am
+++ b/parts/classview/Makefile.am
@@ -3,20 +3,20 @@
INCLUDES = -I$(top_srcdir)/lib/compat -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/interfaces/extensions \
-I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets $(all_includes)
-kde_module_LTLIBRARIES = libkdevclassview.la
-libkdevclassview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevclassview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libkdevwidgets.la $(LIB_TDEHTML) $(top_builddir)/lib/interfaces/extensions/libkdevextensions.la
+kde_module_LTLIBRARIES = libtdevclassview.la
+libtdevclassview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevclassview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libtdevwidgets.la $(LIB_TDEHTML) $(top_builddir)/lib/interfaces/extensions/libtdevextensions.la
-libkdevclassview_la_SOURCES = classviewpart.cpp classviewwidget.cpp \
+libtdevclassview_la_SOURCES = classviewpart.cpp classviewwidget.cpp \
digraphview.cpp hierarchydlg.cpp navigator.cpp viewcombos.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevclassview.desktop
+service_DATA = tdevclassview.desktop
-rcdir = $(kde_datadir)/kdevclassview
-rc_DATA = kdevclassview.rc
+rcdir = $(kde_datadir)/tdevclassview
+rc_DATA = tdevclassview.rc
QTDIR = /home/bernd/kdesrc/qt-copy
diff --git a/parts/classview/classtooldlg.cpp b/parts/classview/classtooldlg.cpp
index c0cc21a2..f0c49d46 100644
--- a/parts/classview/classtooldlg.cpp
+++ b/parts/classview/classtooldlg.cpp
@@ -20,7 +20,7 @@
#include <kiconloader.h>
#include <tdelocale.h>
-#include "kdevlanguagesupport.h"
+#include "tdevlanguagesupport.h"
#include "classstore.h"
#include "parsedclass.h"
#include "classviewpart.h"
@@ -119,8 +119,8 @@ ClassToolDialog::ClassToolDialog( ClassViewPart *part )
connect( methods_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewMethods()));
connect( attributes_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewAttributes()));
- connect( part, TQT_SIGNAL(setLanguageSupport(KDevLanguageSupport*)),
- this, TQT_SLOT(setLanguageSupport(KDevLanguageSupport*)) );
+ connect( part, TQT_SIGNAL(setLanguageSupport(TDevLanguageSupport*)),
+ this, TQT_SLOT(setLanguageSupport(TDevLanguageSupport*)) );
m_part->registerClassToolDialog(this);
}
@@ -132,7 +132,7 @@ ClassToolDialog::~ClassToolDialog()
}
-void ClassToolDialog::setLanguageSupport(KDevLanguageSupport *ls)
+void ClassToolDialog::setLanguageSupport(TDevLanguageSupport *ls)
{
if (ls) {
disconnect(ls, 0, this, 0);
diff --git a/parts/classview/classtooldlg.h b/parts/classview/classtooldlg.h
index d143e66e..c4b2e79a 100644
--- a/parts/classview/classtooldlg.h
+++ b/parts/classview/classtooldlg.h
@@ -59,7 +59,7 @@ public slots:
void viewAttributes();
private slots:
- void setLanguageSupport(KDevLanguageSupport *ls);
+ void setLanguageSupport(TDevLanguageSupport *ls);
void refresh();
void delayedClose();
@@ -85,7 +85,7 @@ private:
/** Store that holds all classes in the system. */
ClassStore *m_store;
- KDevLanguageSupport *m_ls;
+ TDevLanguageSupport *m_ls;
ClassViewPart *m_part;
/** The class we are currently viewing. */
diff --git a/parts/classview/classtreebase.cpp b/parts/classview/classtreebase.cpp
index 9e052418..66e23173 100644
--- a/parts/classview/classtreebase.cpp
+++ b/parts/classview/classtreebase.cpp
@@ -22,10 +22,10 @@
#include <tdelocale.h>
#include <kiconloader.h>
-#include "kdevcore.h"
-#include "kdevlanguagesupport.h"
-#include "kdevmainwindow.h"
-#include "kdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevlanguagesupport.h"
+#include "tdevmainwindow.h"
+#include "tdevpartcontroller.h"
#include "classstore.h"
#include "classviewpart.h"
@@ -36,10 +36,10 @@ TDEPopupMenu *ClassTreeItem::createPopup()
if (!m_item || m_item->itemType() == PIT_SCOPE)
return 0;
- KDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features();
+ TDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features();
TDEPopupMenu *popup = new TDEPopupMenu();
- if (features & KDevLanguageSupport::Declarations)
+ if (features & TDevLanguageSupport::Declarations)
popup->insertItem( i18n("Go to Declaration"), classTree(), TQT_SLOT(slotGotoDeclaration()) );
if (m_item->itemType() == PIT_METHOD)
popup->insertItem( i18n("Go to Definition"), classTree(), TQT_SLOT(slotGotoImplementation()) );
@@ -49,8 +49,8 @@ TDEPopupMenu *ClassTreeItem::createPopup()
case PIT_CLASS:
{
title = i18n("Class");
- bool hasAddMethod = features & KDevLanguageSupport::AddMethod;
- bool hasAddAttribute = features & KDevLanguageSupport::AddAttribute;
+ bool hasAddMethod = features & TDevLanguageSupport::AddMethod;
+ bool hasAddAttribute = features & TDevLanguageSupport::AddAttribute;
if (hasAddMethod)
popup->insertItem( i18n("Add Method..."), classTree(), TQT_SLOT(slotAddMethod()));
if (hasAddAttribute)
@@ -168,7 +168,7 @@ void ClassTreeScopeItem::setOpen(bool o)
ClassTreeItem *lastItem = 0;
// Ok, this is a hack...
- KDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features();
+ TDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features();
// Add namespaces
TQValueList<ParsedScopeContainer*> scopeList = pScope->getSortedScopeList();
@@ -176,7 +176,7 @@ void ClassTreeScopeItem::setOpen(bool o)
for (it = scopeList.begin(); it != scopeList.end(); ++it)
lastItem = new ClassTreeScopeItem(this, lastItem, *it);
- if (features & KDevLanguageSupport::Classes) {
+ if (features & TDevLanguageSupport::Classes) {
// Add classes
TQValueList<ParsedClass*> classList = pScope->getSortedClassList();
TQValueList<ParsedClass*>::ConstIterator it;
@@ -184,7 +184,7 @@ void ClassTreeScopeItem::setOpen(bool o)
lastItem = new ClassTreeClassItem(this, lastItem, *it);
}
- if (features & KDevLanguageSupport::Structs) {
+ if (features & TDevLanguageSupport::Structs) {
// Add structs
TQValueList<ParsedClass*> structList = pScope->getSortedStructList();
TQValueList<ParsedClass*>::ConstIterator it;
@@ -192,7 +192,7 @@ void ClassTreeScopeItem::setOpen(bool o)
lastItem = new ClassTreeClassItem(this, lastItem, *it, true);
}
- if (features & KDevLanguageSupport::Functions) {
+ if (features & TDevLanguageSupport::Functions) {
// Add functions
TQValueList<ParsedMethod*> methodList = pScope->getSortedMethodList();
TQValueList<ParsedMethod*>::ConstIterator it;
@@ -200,7 +200,7 @@ void ClassTreeScopeItem::setOpen(bool o)
lastItem = new ClassTreeMethodItem(this, lastItem, *it);
}
- if (features & KDevLanguageSupport::Variables) {
+ if (features & TDevLanguageSupport::Variables) {
// Add attributes
TQValueList<ParsedAttribute*> attrList = pScope->getSortedAttributeList();
TQValueList<ParsedAttribute*>::ConstIterator it;
diff --git a/parts/classview/classviewpart.cpp b/parts/classview/classviewpart.cpp
index 92e26bd0..7cdf8cbd 100644
--- a/parts/classview/classviewpart.cpp
+++ b/parts/classview/classviewpart.cpp
@@ -26,19 +26,19 @@
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdepopupmenu.h>
#include <kdebug.h>
#include <kmimetype.h>
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
-#include <kdevlanguagesupport.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
+#include <tdevlanguagesupport.h>
#include <kcomboview.h>
-#include <kdevpartcontroller.h>
-#include <kdevproject.h>
+#include <tdevpartcontroller.h>
+#include <tdevproject.h>
#include <urlutil.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include <codemodel.h>
#include <codemodel_utils.h>
@@ -138,17 +138,17 @@ class FunctionCompletion : public CustomCompleter {
};
-typedef KDevGenericFactory<ClassViewPart> ClassViewFactory;
-static const KDevPluginInfo data("kdevclassview");
-K_EXPORT_COMPONENT_FACTORY( libkdevclassview, ClassViewFactory( data ) )
+typedef TDevGenericFactory<ClassViewPart> ClassViewFactory;
+static const TDevPluginInfo data("tdevclassview");
+K_EXPORT_COMPONENT_FACTORY( libtdevclassview, ClassViewFactory( data ) )
ClassViewPart::ClassViewPart(TQObject *parent, const char *name, const TQStringList& )
- :/// KDevPlugin( &data, parent, name ? name : "ClassViewPart" ),
- KDevCodeBrowserFrontend( &data, parent, name ? name : "ClassViewPart" ),
+ :/// TDevPlugin( &data, parent, name ? name : "ClassViewPart" ),
+ TDevCodeBrowserFrontend( &data, parent, name ? name : "ClassViewPart" ),
m_activeDocument(0), m_activeView(0), m_activeSelection(0), m_activeEditor(0), m_activeViewCursor(0), m_hierarchyDlg(0)
{
setInstance(ClassViewFactory::instance());
- setXMLFile("kdevclassview.rc");
+ setXMLFile("tdevclassview.rc");
navigator = new Navigator(this);
@@ -207,7 +207,7 @@ void ClassViewPart::setupActions( )
new TDEAction( i18n("Focus Navigator"), 0, this, TQT_SLOT(slotFocusNavbar()), actionCollection(), "focus_navigator" );
- if (langHasFeature(KDevLanguageSupport::Classes))
+ if (langHasFeature(TDevLanguageSupport::Classes))
{
TDEAction *ac = new TDEAction(i18n("Class Inheritance Diagram"), "view_tree", 0, this, TQT_SLOT(graphicalClassView()), actionCollection(), "inheritance_dia");
ac->setToolTip(i18n("Class inheritance diagram"));
@@ -216,7 +216,7 @@ void ClassViewPart::setupActions( )
}
}
-bool ClassViewPart::langHasFeature(KDevLanguageSupport::Features feature)
+bool ClassViewPart::langHasFeature(TDevLanguageSupport::Features feature)
{
bool result = false;
if (languageSupport())
diff --git a/parts/classview/classviewpart.h b/parts/classview/classviewpart.h
index 16e18def..70d00cc9 100644
--- a/parts/classview/classviewpart.h
+++ b/parts/classview/classviewpart.h
@@ -18,16 +18,16 @@
*
*/
-#ifndef __KDEVPART_CLASSVIEW_H__
-#define __KDEVPART_CLASSVIEW_H__
+#ifndef __TDEVPART_CLASSVIEW_H__
+#define __TDEVPART_CLASSVIEW_H__
-#include "kdevlanguagesupport.h"
+#include "tdevlanguagesupport.h"
#include "viewcombos.h"
#include <tqguardedptr.h>
#include <tqmap.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <codemodel.h>
#include <codebrowserfrontend.h>
@@ -52,7 +52,7 @@ class TDEToolBarPopupAction;
class NamespaceItem;
class Navigator;
class HierarchyDialog;
-class ClassViewPart : public Extensions::KDevCodeBrowserFrontend
+class ClassViewPart : public Extensions::TDevCodeBrowserFrontend
{
Q_OBJECT
@@ -60,7 +60,7 @@ public:
ClassViewPart(TQObject *parent, const char *name, const TQStringList &);
virtual ~ClassViewPart();
- bool langHasFeature(KDevLanguageSupport::Features feature);
+ bool langHasFeature(TDevLanguageSupport::Features feature);
TDEListViewAction *m_functionsnav;
Navigator *navigator;
diff --git a/parts/classview/classviewwidget.cpp b/parts/classview/classviewwidget.cpp
index 22b865ef..cede06f3 100644
--- a/parts/classview/classviewwidget.cpp
+++ b/parts/classview/classviewwidget.cpp
@@ -31,10 +31,10 @@
#include <tdeconfig.h>
#include <urlutil.h>
-#include <kdevcore.h>
-#include <kdevlanguagesupport.h>
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevlanguagesupport.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
#include <codemodel.h>
#include <codemodel_utils.h>
@@ -252,7 +252,7 @@ void ClassViewWidget::insertFile( const TQString& fileName )
}
break;
- case KDevelop2ViewMode:
+ case TDevelop2ViewMode:
{
}
break;
@@ -293,7 +293,7 @@ void ClassViewWidget::removeFile( const TQString& fileName )
}
break;
- case KDevelop2ViewMode:
+ case TDevelop2ViewMode:
{
}
break;
@@ -332,19 +332,19 @@ void ClassViewWidget::contentsContextMenuEvent( TQContextMenuEvent * ev )
bool sep = false;
if( item && item->isClass() ){
- if( m_part->langHasFeature(KDevLanguageSupport::AddMethod) ) {
+ if( m_part->langHasFeature(TDevLanguageSupport::AddMethod) ) {
m_actionAddMethod->plug( &menu );
sep = true;
}
- if( m_part->langHasFeature(KDevLanguageSupport::AddAttribute) ) {
+ if( m_part->langHasFeature(TDevLanguageSupport::AddAttribute) ) {
m_actionAddAttribute->plug( &menu );
sep = true;
}
}
if (item && item->isVariable()){
- if( m_part->langHasFeature(KDevLanguageSupport::CreateAccessMethods) )
+ if( m_part->langHasFeature(TDevLanguageSupport::CreateAccessMethods) )
m_actionCreateAccessMethods->plug( &menu );
}
@@ -1108,7 +1108,7 @@ TQString VariableDomBrowserItem::key( int , bool ) const
void ClassViewWidget::slotNewClass( )
{
- if( m_part->languageSupport()->features() & KDevLanguageSupport::NewClass )
+ if( m_part->languageSupport()->features() & TDevLanguageSupport::NewClass )
m_part->languageSupport()->addClass();
}
@@ -1116,7 +1116,7 @@ void ClassViewWidget::slotAddMethod( )
{
if ( !selectedItem() ) return;
- if( m_part->languageSupport()->features() & KDevLanguageSupport::AddMethod )
+ if( m_part->languageSupport()->features() & TDevLanguageSupport::AddMethod )
m_part->languageSupport()->addMethod( static_cast<ClassDomBrowserItem*>( selectedItem() )->dom() );
}
@@ -1124,7 +1124,7 @@ void ClassViewWidget::slotAddAttribute( )
{
if ( !selectedItem() ) return;
- if( m_part->languageSupport()->features() & KDevLanguageSupport::AddAttribute )
+ if( m_part->languageSupport()->features() & TDevLanguageSupport::AddAttribute )
m_part->languageSupport()->addAttribute( static_cast<ClassDomBrowserItem*>( selectedItem() )->dom() );
}
@@ -1271,7 +1271,7 @@ void ClassViewWidget::slotCreateAccessMethods( )
{
if ( !selectedItem() ) return;
- if( m_part->languageSupport()->features() & KDevLanguageSupport::CreateAccessMethods )
+ if( m_part->languageSupport()->features() & TDevLanguageSupport::CreateAccessMethods )
{
VariableDomBrowserItem* item = dynamic_cast<VariableDomBrowserItem*>( selectedItem() );
if (item == 0)
diff --git a/parts/classview/classviewwidget.h b/parts/classview/classviewwidget.h
index d74448f5..1d17efec 100644
--- a/parts/classview/classviewwidget.h
+++ b/parts/classview/classviewwidget.h
@@ -31,7 +31,7 @@
#include <fancylistviewitem.h>
#include <navigator.h>
-class KDevProject;
+class TDevProject;
class ClassViewPart;
class ClassViewItem;
class FolderBrowserItem;
@@ -51,7 +51,7 @@ public:
enum ViewMode
{
KDevelop3ViewMode = 0,
- KDevelop2ViewMode,
+ TDevelop2ViewMode,
JavaLikeViewMode
};
diff --git a/parts/classview/hierarchydlg.cpp b/parts/classview/hierarchydlg.cpp
index c8761861..6901926b 100644
--- a/parts/classview/hierarchydlg.cpp
+++ b/parts/classview/hierarchydlg.cpp
@@ -28,7 +28,7 @@
#include <tqapplication.h>
#include <tqsplitter.h>
-#include "kdevlanguagesupport.h"
+#include "tdevlanguagesupport.h"
#include "kcomboview.h"
#include "classviewpart.h"
@@ -105,7 +105,7 @@ void HierarchyDialog::save()
{
TQFileInfo fi(dlg.selectedURL().pathOrURL());
TQApplication::setOverrideCursor( TQt::waitCursor );
- KDevLanguageSupport *ls = m_part->languageSupport();
+ TDevLanguageSupport *ls = m_part->languageSupport();
for (TQMap<TQString, ClassDom>::const_iterator it = classes.begin(); it != classes.end(); ++it)
{
kdDebug(9003) << "Adding class to graph: " << it.key() << endl;
@@ -134,7 +134,7 @@ void HierarchyDialog::refresh()
ViewCombosOp::refreshNamespaces(m_part, namespace_combo);
processNamespace("", m_part->codeModel()->globalNamespace());
- KDevLanguageSupport *ls = m_part->languageSupport();
+ TDevLanguageSupport *ls = m_part->languageSupport();
for (TQMap<TQString, ClassDom>::const_iterator it = classes.begin(); it != classes.end(); ++it)
{
@@ -154,7 +154,7 @@ void HierarchyDialog::refresh()
digraph->process();
}
-void HierarchyDialog::setLanguageSupport(KDevLanguageSupport *ls)
+void HierarchyDialog::setLanguageSupport(TDevLanguageSupport *ls)
{
if (ls)
connect(ls, TQT_SIGNAL(updatedSourceInfo()), this, TQT_SLOT(refresh()));
@@ -169,7 +169,7 @@ void HierarchyDialog::slotClassComboChoice(TQListViewItem * item)
if (!ci)
return;
- KDevLanguageSupport *ls = m_part->languageSupport();
+ TDevLanguageSupport *ls = m_part->languageSupport();
TQString className = ls->formatClassName(uclasses[item->text(0)]);
digraph->setSelected(className);
@@ -188,7 +188,7 @@ void HierarchyDialog::slotClassComboChoice( const TQString& itemText )
if (!ci)
return;
- KDevLanguageSupport *ls = m_part->languageSupport();
+ TDevLanguageSupport *ls = m_part->languageSupport();
TQString className = ls->formatClassName(uclasses[item->text(0)]);
digraph->setSelected(className);
@@ -205,10 +205,10 @@ void HierarchyDialog::classSelected(const TQString &/*className*/)
/* ParsedClass *currentClass = m_part->classStore()->getClassByName(className);
member_tree->clear();
if (currentClass) {
- KDevLanguageSupport::Features features = m_part->languageSupport()->features();
- if (features & KDevLanguageSupport::Functions)
+ TDevLanguageSupport::Features features = m_part->languageSupport()->features();
+ if (features & TDevLanguageSupport::Functions)
member_tree->insertAllClassMethods(currentClass, (PIAccess)-1);
- if (features & KDevLanguageSupport::Variables)
+ if (features & TDevLanguageSupport::Variables)
member_tree->insertAllClassAttributes(currentClass, (PIAccess)-1);
}*/
}
diff --git a/parts/classview/hierarchydlg.h b/parts/classview/hierarchydlg.h
index 1c41a8f0..9d26ebd0 100644
--- a/parts/classview/hierarchydlg.h
+++ b/parts/classview/hierarchydlg.h
@@ -17,7 +17,7 @@
#include "codemodel.h"
class ClassViewPart;
-class KDevLanguageSupport;
+class TDevLanguageSupport;
class DigraphView;
class ClassToolWidget;
class KComboView;
@@ -35,7 +35,7 @@ public slots:
void refresh();
private slots:
- void setLanguageSupport(KDevLanguageSupport *ls);
+ void setLanguageSupport(TDevLanguageSupport *ls);
void slotClassComboChoice(TQListViewItem *item);
void slotNamespaceComboChoice(TQListViewItem *item);
void slotClassComboChoice(const TQString&);
diff --git a/parts/classview/navigator.cpp b/parts/classview/navigator.cpp
index 694aa0d4..a7e3ac85 100644
--- a/parts/classview/navigator.cpp
+++ b/parts/classview/navigator.cpp
@@ -31,9 +31,9 @@
#include <kcomboview.h>
#include <tdelistviewaction.h>
-#include <kdevpartcontroller.h>
-#include <kdevlanguagesupport.h>
-#include <kdevmainwindow.h>
+#include <tdevpartcontroller.h>
+#include <tdevlanguagesupport.h>
+#include <tdevmainwindow.h>
#include <codemodel_utils.h>
#include "classviewpart.h"
#include "classviewwidget.h"
diff --git a/parts/classview/kdevclassview.desktop b/parts/classview/tdevclassview.desktop
index 49bfa43c..10200b50 100644
--- a/parts/classview/kdevclassview.desktop
+++ b/parts/classview/tdevclassview.desktop
@@ -76,7 +76,7 @@ GenericName[tr]=Sınıf Görünümü
GenericName[zh_CN]=类查看器
GenericName[zh_TW]=類別檢視
ServiceTypes=TDevelop/CodeBrowserFrontend
-X-TDE-Library=libkdevclassview
+X-TDE-Library=libtdevclassview
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-Properties=CodeNavigation
diff --git a/parts/classview/kdevclassview.rc b/parts/classview/tdevclassview.rc
index b5f7a9fb..b5f7a9fb 100644
--- a/parts/classview/kdevclassview.rc
+++ b/parts/classview/tdevclassview.rc
diff --git a/parts/ctags2/CMakeLists.txt b/parts/ctags2/CMakeLists.txt
index a8f4b582..a88415d6 100644
--- a/parts/ctags2/CMakeLists.txt
+++ b/parts/ctags2/CMakeLists.txt
@@ -27,13 +27,13 @@ link_directories(
##### other data ################################
-install( FILES kdevctags2.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_ctags2.rc DESTINATION ${DATA_INSTALL_DIR}/kdevctags2 )
+install( FILES tdevctags2.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_ctags2.rc DESTINATION ${DATA_INSTALL_DIR}/tdevctags2 )
-##### libkdevctags2 (module) ####################
+##### libtdevctags2 (module) ####################
-tde_add_kpart( libkdevctags2 AUTOMOC
+tde_add_kpart( libtdevctags2 AUTOMOC
SOURCES
ctags2_part.cpp readtags.c ctags2_widgetbase.ui
ctags2_widget.cpp tags.cpp ctagskinds.cpp
diff --git a/parts/ctags2/Makefile.am b/parts/ctags2/Makefile.am
index f92a819c..f12fdada 100644
--- a/parts/ctags2/Makefile.am
+++ b/parts/ctags2/Makefile.am
@@ -1,11 +1,11 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevctags2.la
-libkdevctags2_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevctags2_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevctags2.la
+libtdevctags2_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevctags2_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevctags2_la_SOURCES = ctags2_part.cpp readtags.c ctags2_widgetbase.ui \
+libtdevctags2_la_SOURCES = ctags2_part.cpp readtags.c ctags2_widgetbase.ui \
ctags2_widget.cpp tags.cpp ctagskinds.cpp ctags2_settingswidgetbase.ui \
ctags2_settingswidget.cpp ctags2_selecttagfilebase.ui ctags2_selecttagfile.cpp \
ctags2_createtagfilebase.ui ctags2_createtagfile.cpp
@@ -13,10 +13,10 @@ libkdevctags2_la_SOURCES = ctags2_part.cpp readtags.c ctags2_widgetbase.ui \
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevctags2.desktop
+service_DATA = tdevctags2.desktop
-rc_DATA = kdevpart_ctags2.rc
-rcdir = $(kde_datadir)/kdevctags2
+rc_DATA = tdevpart_ctags2.rc
+rcdir = $(kde_datadir)/tdevctags2
noinst_HEADERS = ctags2_widget.h tags.h readtags.h ctagskinds.h \
ctags2_settingswidget.h
diff --git a/parts/ctags2/ctags2_part.cpp b/parts/ctags2/ctags2_part.cpp
index 324ded8a..371ff7e5 100644
--- a/parts/ctags2/ctags2_part.cpp
+++ b/parts/ctags2/ctags2_part.cpp
@@ -31,16 +31,16 @@
#include <tdeconfig.h>
#include <tdeaction.h>
-#include "kdevappfrontend.h"
-#include <kdevgenericfactory.h>
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
-#include <kdevplugininfo.h>
+#include "tdevappfrontend.h"
+#include <tdevgenericfactory.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
+#include <tdevplugininfo.h>
#include "configwidgetproxy.h"
#include "domutil.h"
-#include "kdeveditorutil.h"
+#include "tdeveditorutil.h"
#include "ctags2_settingswidget.h"
#include "ctags2_widget.h"
@@ -54,15 +54,15 @@ namespace ctags
#include "readtags.h"
}
-typedef KDevGenericFactory<CTags2Part> CTags2Factory;
-static const KDevPluginInfo data("kdevctags2");
-K_EXPORT_COMPONENT_FACTORY( libkdevctags2, CTags2Factory( data ) )
+typedef TDevGenericFactory<CTags2Part> CTags2Factory;
+static const TDevPluginInfo data("tdevctags2");
+K_EXPORT_COMPONENT_FACTORY( libtdevctags2, CTags2Factory( data ) )
CTags2Part::CTags2Part(TQObject *parent, const char *name, const TQStringList& )
- : KDevPlugin(&data, parent, name ? name : "ctags2Part" )
+ : TDevPlugin(&data, parent, name ? name : "ctags2Part" )
{
setInstance(CTags2Factory::instance());
- setXMLFile("kdevpart_ctags2.rc");
+ setXMLFile("tdevpart_ctags2.rc");
TQDomDocument & dom = *projectDom();
TQString customTagFile = DomUtil::readEntry( dom, "/ctagspart/customTagfilePath" );
@@ -164,7 +164,7 @@ bool CTags2Part::createTagsFile(const TQString& tagFile, const TQString& dir)
commandline += " ";
commandline += dir;
- if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"))
+ if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend"))
appFrontend->startAppCommand(dir, commandline, false);
return true;
@@ -330,7 +330,7 @@ int CTags2Part::getFileLineFromPattern( KURL const & url, TQString const & patte
void CTags2Part::slotLookupDeclaration( )
{
- m_contextString = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ m_contextString = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( !m_contextString.isEmpty() )
{
slotGotoDeclaration();
@@ -339,7 +339,7 @@ void CTags2Part::slotLookupDeclaration( )
void CTags2Part::slotLookupDefinition( )
{
- m_contextString = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ m_contextString = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( !m_contextString.isEmpty() )
{
slotGotoDefinition();
@@ -348,7 +348,7 @@ void CTags2Part::slotLookupDefinition( )
void CTags2Part::slotLookup( )
{
- m_contextString = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ m_contextString = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( !m_contextString.isEmpty() )
{
slotGotoTag();
diff --git a/parts/ctags2/ctags2_part.h b/parts/ctags2/ctags2_part.h
index 93af5f7f..ca33e801 100644
--- a/parts/ctags2/ctags2_part.h
+++ b/parts/ctags2/ctags2_part.h
@@ -9,13 +9,13 @@
* *
***************************************************************************/
-#ifndef __KDEVPART_CTAGS2_H__
-#define __KDEVPART_CTAGS2_H__
+#ifndef __TDEVPART_CTAGS2_H__
+#define __TDEVPART_CTAGS2_H__
#include <tqguardedptr.h>
#include <tqstring.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include "tags.h"
class TQPopupMenu;
@@ -26,7 +26,7 @@ class CTags2Widget;
class ConfigWidgetProxy;
class KDialogBase;
-class CTags2Part : public KDevPlugin
+class CTags2Part : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/ctags2/ctags2_settingswidget.cpp b/parts/ctags2/ctags2_settingswidget.cpp
index b45a41be..c44f91d6 100644
--- a/parts/ctags2/ctags2_settingswidget.cpp
+++ b/parts/ctags2/ctags2_settingswidget.cpp
@@ -15,13 +15,13 @@
#include <klineedit.h>
#include <tdelistview.h>
-#include <kdevproject.h>
+#include <tdevproject.h>
#include <tdeapplication.h>
#include <kurlcompletion.h>
#include <kurlrequester.h>
#include <tdeconfig.h>
#include <kurl.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <domutil.h>
#include "ctags2_settingswidget.h"
diff --git a/parts/ctags2/ctags2_widget.cpp b/parts/ctags2/ctags2_widget.cpp
index bd1b138d..cb44937d 100644
--- a/parts/ctags2/ctags2_widget.cpp
+++ b/parts/ctags2/ctags2_widget.cpp
@@ -22,8 +22,8 @@
#include <kurl.h>
#include <tdeapplication.h>
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
#include "ctags2_widget.h"
#include "tags.h"
diff --git a/parts/ctags2/kdevctags2.desktop b/parts/ctags2/tdevctags2.desktop
index db79f503..86720c8e 100644
--- a/parts/ctags2/kdevctags2.desktop
+++ b/parts/ctags2/tdevctags2.desktop
@@ -77,6 +77,6 @@ GenericName[zh_CN]=CTags前端
GenericName[zh_TW]=CTags 前端介面
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Project
-X-TDE-Library=libkdevctags2
+X-TDE-Library=libtdevctags2
X-TDevelop-Version=5
X-TDevelop-Properties=CodeNavigation
diff --git a/parts/ctags2/kdevpart_ctags2.rc b/parts/ctags2/tdevpart_ctags2.rc
index e8745b3b..c217c256 100644
--- a/parts/ctags2/kdevpart_ctags2.rc
+++ b/parts/ctags2/tdevpart_ctags2.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui>
-<kpartplugin name="ctags" library="libkdevctags2" version="3">
+<kpartplugin name="ctags" library="libtdevctags2" version="3">
<MenuBar>
</MenuBar>
<Menu name="hidden">
diff --git a/parts/diff/CMakeLists.txt b/parts/diff/CMakeLists.txt
index 09987fd7..a4135dc6 100644
--- a/parts/diff/CMakeLists.txt
+++ b/parts/diff/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES kdevdiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevdiff.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdiff )
+install( FILES tdevdiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevdiff.rc DESTINATION ${DATA_INSTALL_DIR}/tdevdiff )
-##### libkdevdiff (module) ######################
+##### libtdevdiff (module) ######################
-tde_add_kpart( libkdevdiff AUTOMOC
+tde_add_kpart( libtdevdiff AUTOMOC
SOURCES diffpart.cpp diffwidget.cpp
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/diff/Makefile.am b/parts/diff/Makefile.am
index ea521442..3d9396eb 100644
--- a/parts/diff/Makefile.am
+++ b/parts/diff/Makefile.am
@@ -3,16 +3,16 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions $(all_includes)
-kde_module_LTLIBRARIES = libkdevdiff.la
-libkdevdiff_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevdiff_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevdiff.la
+libtdevdiff_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevdiff_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevdiff_la_SOURCES = diffpart.cpp diffwidget.cpp
+libtdevdiff_la_SOURCES = diffpart.cpp diffwidget.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevdiff.desktop
+service_DATA = tdevdiff.desktop
-rcdir = $(kde_datadir)/kdevdiff
-rc_DATA = kdevdiff.rc
+rcdir = $(kde_datadir)/tdevdiff
+rc_DATA = tdevdiff.rc
diff --git a/parts/diff/diffpart.cpp b/parts/diff/diffpart.cpp
index a0dbafdd..b48e8136 100644
--- a/parts/diff/diffpart.cpp
+++ b/parts/diff/diffpart.cpp
@@ -16,7 +16,7 @@
#include <tqpopupmenu.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdeaction.h>
#include <tdefiledialog.h>
#include <kprocess.h>
@@ -28,24 +28,24 @@
#include <kdebug.h>
#include <kiconloader.h>
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
-#include "kdevpartcontroller.h"
-#include "kdevplugininfo.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
+#include "tdevpartcontroller.h"
+#include "tdevplugininfo.h"
#include "diffdlg.h"
#include "diffwidget.h"
-static const KDevPluginInfo data("kdevdiff");
+static const TDevPluginInfo data("tdevdiff");
-typedef KDevGenericFactory<DiffPart> DiffFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevdiff, DiffFactory( data ) )
+typedef TDevGenericFactory<DiffPart> DiffFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevdiff, DiffFactory( data ) )
DiffPart::DiffPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevDiffFrontend(&data, parent, name ? name : "DiffPart"), proc(0)
+ : TDevDiffFrontend(&data, parent, name ? name : "DiffPart"), proc(0)
{
setInstance(DiffFactory::instance());
- setXMLFile("kdevdiff.rc");
+ setXMLFile("tdevdiff.rc");
diffWidget = new DiffWidget(this, 0, "diffWidget");
diffWidget->setIcon( SmallIcon("editcopy") );
@@ -83,7 +83,7 @@ static bool urlIsEqual(const KURL &a, const KURL &b)
return a == b;
}
-static KParts::ReadWritePart* partForURL(const KURL &url, KDevPartController* pc)
+static KParts::ReadWritePart* partForURL(const KURL &url, TDevPartController* pc)
{
if ( !pc )
return 0;
diff --git a/parts/diff/diffpart.h b/parts/diff/diffpart.h
index 6fe89efe..984c2c06 100644
--- a/parts/diff/diffpart.h
+++ b/parts/diff/diffpart.h
@@ -15,8 +15,8 @@
#include <tqguardedptr.h>
#include <tqcstring.h>
-#include "kdevplugin.h"
-#include "kdevdifffrontend.h"
+#include "tdevplugin.h"
+#include "tdevdifffrontend.h"
class TQPopupMenu;
class Context;
@@ -24,7 +24,7 @@ class TDEProcess;
class DiffWidget;
class TQCString;
-class DiffPart : public KDevDiffFrontend
+class DiffPart : public TDevDiffFrontend
{
Q_OBJECT
diff --git a/parts/diff/diffwidget.cpp b/parts/diff/diffwidget.cpp
index 51dabcaf..24435611 100644
--- a/parts/diff/diffwidget.cpp
+++ b/parts/diff/diffwidget.cpp
@@ -31,7 +31,7 @@
#include <tdeio/jobclasses.h>
#include <tdeio/job.h>
-#include <kdevmainwindow.h>
+#include <tdevmainwindow.h>
#include "diffpart.h"
#include "diffwidget.h"
diff --git a/parts/diff/kdevdiff.desktop b/parts/diff/tdevdiff.desktop
index 13b22e9f..db2d0428 100644
--- a/parts/diff/kdevdiff.desktop
+++ b/parts/diff/tdevdiff.desktop
@@ -35,7 +35,7 @@ Comment[tg]=Намоишгари фарқкунанда
Comment[tr]=Fark Görüntüleyicisi
Comment[zh_CN]=差别查看器
Comment[zh_TW]=比較檢視器
-Name=KDevDiff
+Name=TDevDiff
Name[da]=TDevelop diff-fremviser
Name[de]=Abweichungsansicht (TDevelop)
Name[hi]=के-डेव-डिफ़
@@ -78,7 +78,7 @@ GenericName[tr]=Fark Görüntüleyicisi
GenericName[zh_CN]=差别查看器
GenericName[zh_TW]=比較檢視器
ServiceTypes=TDevelop/DiffFrontend
-X-TDE-Library=libkdevdiff
+X-TDE-Library=libtdevdiff
X-TDevelop-Version=5
X-TDevelop-Properties=CodeEditing
X-TDevelop-Scope=Core
diff --git a/parts/diff/kdevdiff.rc b/parts/diff/tdevdiff.rc
index 37059573..ca944508 100644
--- a/parts/diff/kdevdiff.rc
+++ b/parts/diff/tdevdiff.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="KDevDiff" version="1">
+<kpartgui name="TDevDiff" version="1">
<MenuBar>
<Menu name="tools" >
<Action name="tools_diff" group="tools_file_operations"/>
diff --git a/parts/distpart/CMakeLists.txt b/parts/distpart/CMakeLists.txt
index 15fcb85e..586b5346 100644
--- a/parts/distpart/CMakeLists.txt
+++ b/parts/distpart/CMakeLists.txt
@@ -27,13 +27,13 @@ link_directories(
##### other data ################################
-install( FILES kdevdistpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_distpart.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdistpart )
+install( FILES tdevdistpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_distpart.rc DESTINATION ${DATA_INSTALL_DIR}/tdevdistpart )
-##### libkdevdistpart (module) ##################
+##### libtdevdistpart (module) ##################
-tde_add_kpart( libkdevdistpart AUTOMOC
+tde_add_kpart( libtdevdistpart AUTOMOC
SOURCES
distpart_ui.ui distpart_part.cpp distpart_widget.cpp
packagebase.cpp lsmsupport.cpp specsupport.cpp
diff --git a/parts/distpart/Makefile.am b/parts/distpart/Makefile.am
index 52f4a5ba..8b5e69db 100644
--- a/parts/distpart/Makefile.am
+++ b/parts/distpart/Makefile.am
@@ -1,16 +1,16 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevdistpart.la
-libkdevdistpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevdistpart_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevdistpart.la
+libtdevdistpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevdistpart_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevdistpart_la_SOURCES = distpart_ui.ui distpart_part.cpp distpart_widget.cpp packagebase.cpp lsmsupport.cpp specsupport.cpp
+libtdevdistpart_la_SOURCES = distpart_ui.ui distpart_part.cpp distpart_widget.cpp packagebase.cpp lsmsupport.cpp specsupport.cpp
METASOURCES = AUTO
KDEICON = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevdistpart.desktop
+service_DATA = tdevdistpart.desktop
-rc_DATA = kdevpart_distpart.rc
-rcdir = $(kde_datadir)/kdevdistpart
+rc_DATA = tdevpart_distpart.rc
+rcdir = $(kde_datadir)/tdevdistpart
diff --git a/parts/distpart/distpart_part.cpp b/parts/distpart/distpart_part.cpp
index e8a3e11a..01ef30b0 100644
--- a/parts/distpart/distpart_part.cpp
+++ b/parts/distpart/distpart_part.cpp
@@ -23,27 +23,27 @@
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kdebug.h>
-#include "kdevcore.h"
-#include <kdevplugininfo.h>
+#include "tdevcore.h"
+#include <tdevplugininfo.h>
#include "distpart_widget.h"
#include <kdialogbase.h>
-typedef KDevGenericFactory<DistpartPart> DistpartFactory;
-static const KDevPluginInfo data("kdevdistpart");
-K_EXPORT_COMPONENT_FACTORY( libkdevdistpart, DistpartFactory( data ) )
+typedef TDevGenericFactory<DistpartPart> DistpartFactory;
+static const TDevPluginInfo data("tdevdistpart");
+K_EXPORT_COMPONENT_FACTORY( libtdevdistpart, DistpartFactory( data ) )
DistpartPart::DistpartPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "DistpartPart") {
+ : TDevPlugin(&data, parent, name ? name : "DistpartPart") {
kdDebug(9007) << "DistpartPart::DistpartPart()" << endl;
setInstance(DistpartFactory::instance());
- setXMLFile("kdevpart_distpart.rc");
+ setXMLFile("tdevpart_distpart.rc");
m_action = new TDEAction( i18n("Distribution && Publishing"), "package", 0,
this, TQT_SLOT(show()),
diff --git a/parts/distpart/distpart_part.h b/parts/distpart/distpart_part.h
index aa019c4d..d1d05a24 100644
--- a/parts/distpart/distpart_part.h
+++ b/parts/distpart/distpart_part.h
@@ -19,12 +19,12 @@
***************************************************************************/
-#ifndef __KDEVPART_DISTPART_H__
-#define __KDEVPART_DISTPART_H__
+#ifndef __TDEVPART_DISTPART_H__
+#define __TDEVPART_DISTPART_H__
#include <tqguardedptr.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <tdeaction.h>
#include "packagebase.h"
@@ -32,7 +32,7 @@
class DistpartDialog;
class KDialogBase;
-class DistpartPart : public KDevPlugin {
+class DistpartPart : public TDevPlugin {
Q_OBJECT
diff --git a/parts/distpart/distpart_widget.cpp b/parts/distpart/distpart_widget.cpp
index c628fe26..0999ca72 100644
--- a/parts/distpart/distpart_widget.cpp
+++ b/parts/distpart/distpart_widget.cpp
@@ -27,12 +27,12 @@
#include <tdefiledialog.h>
#include <tdeio/netaccess.h>
#include <tdelocale.h>
-#include "kdevproject.h"
+#include "tdevproject.h"
#include "domutil.h"
#include <ktar.h>
#include <tdemessagebox.h>
-#include <kdevcore.h>
+#include <tdevcore.h>
#include <tqgroupbox.h>
#include <tqlayout.h>
#include <tqnetwork.h>
@@ -44,7 +44,7 @@
#include <tqregexp.h>
#include <tqstringlist.h>
#include <tqtabwidget.h>
-#include "kdevmakefrontend.h"
+#include "tdevmakefrontend.h"
#include <kprogress.h>
#include <tqerrormessage.h>
diff --git a/parts/distpart/distpart_widget.h b/parts/distpart/distpart_widget.h
index 7a684a5a..1e5bf68f 100644
--- a/parts/distpart/distpart_widget.h
+++ b/parts/distpart/distpart_widget.h
@@ -32,7 +32,7 @@
#include <tqcombobox.h>
#include <tqprogressbar.h>
-class KDevProject;
+class TDevProject;
class DistpartPart;
class TQUrlOperator;
class TDEProcess;
diff --git a/parts/distpart/specsupport.cpp b/parts/distpart/specsupport.cpp
index 06a0bb67..38f8f385 100644
--- a/parts/distpart/specsupport.cpp
+++ b/parts/distpart/specsupport.cpp
@@ -19,8 +19,8 @@
***************************************************************************/
#include "specsupport.h"
-#include "kdevproject.h"
-#include "kdevmakefrontend.h"
+#include "tdevproject.h"
+#include "tdevmakefrontend.h"
#include "distpart_widget.h"
#include <kdebug.h>
@@ -79,11 +79,11 @@ void SpecSupport::slotbuildAllPushButtonPressed() {
return;
}
else
- if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = m_part->extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote(dir) +
" && cp " + TDEProcess::quote(getAppSource()) + " " + TDEProcess::quote(*(map.find("_sourcedir"))));
}
- if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = m_part->extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) +
" && rpmbuild -ba " + m_part->project()->projectName() + ".spec");
}
@@ -178,11 +178,11 @@ void SpecSupport::slotsrcPackagePushButtonPressed() {
return;
}
else
- if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = m_part->extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote(dir) +
" && cp " + TDEProcess::quote(getAppSource()) + " " + TDEProcess::quote(*(map.find("_sourcedir"))));
}
- if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = m_part->extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) +
" && rpmbuild -bs " + m_part->project()->projectName() + ".spec");
}
diff --git a/parts/distpart/kdevdistpart.desktop b/parts/distpart/tdevdistpart.desktop
index 1b3d095d..290a0a8d 100644
--- a/parts/distpart/kdevdistpart.desktop
+++ b/parts/distpart/tdevdistpart.desktop
@@ -64,7 +64,7 @@ GenericName[zh_CN]=最终打包支持
GenericName[zh_TW]=最終包裝支援
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevdistpart
+X-TDE-Library=libtdevdistpart
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-Properties=ProjectPackaging
diff --git a/parts/distpart/kdevpart_distpart.rc b/parts/distpart/tdevpart_distpart.rc
index 8b142d04..8b142d04 100644
--- a/parts/distpart/kdevpart_distpart.rc
+++ b/parts/distpart/tdevpart_distpart.rc
diff --git a/parts/documentation/CMakeLists.txt b/parts/documentation/CMakeLists.txt
index accc3401..4b13b342 100644
--- a/parts/documentation/CMakeLists.txt
+++ b/parts/documentation/CMakeLists.txt
@@ -33,13 +33,13 @@ link_directories(
##### other data ################################
-install( FILES kdevdocumentation.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_documentation.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation )
+install( FILES tdevdocumentation.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_documentation.rc DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation )
-##### libkdevdocumentation (module) #############
+##### libtdevdocumentation (module) #############
-tde_add_kpart( libkdevdocumentation AUTOMOC
+tde_add_kpart( libtdevdocumentation AUTOMOC
SOURCES
documentation_part.cpp documentation_widget.cpp
contentsview.cpp indexview.cpp docglobalconfigwidgetbase.ui
@@ -50,8 +50,8 @@ tde_add_kpart( libkdevdocumentation AUTOMOC
find_documentation.cpp find_documentation_optionsbase.ui
find_documentation_options.cpp selecttopicbase.ui
selecttopic.cpp docprojectconfigwidgetbase.ui
- docprojectconfigwidget.cpp KDevDocumentationIface.cpp
- KDevDocumentationIface.skel addcatalogdlgbase.ui
+ docprojectconfigwidget.cpp TDevDocumentationIface.cpp
+ TDevDocumentationIface.skel addcatalogdlgbase.ui
addcatalogdlg.cpp
LINK documentation_interfaces-shared tdevelop-shared tdehtml-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/documentation/Makefile.am b/parts/documentation/Makefile.am
index 13c4db3f..118c8041 100644
--- a/parts/documentation/Makefile.am
+++ b/parts/documentation/Makefile.am
@@ -1,31 +1,31 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \
-I$(top_srcdir)/parts/documentation/interfaces $(all_includes)
-kde_module_LTLIBRARIES = libkdevdocumentation.la
-libkdevdocumentation_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevdocumentation_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+kde_module_LTLIBRARIES = libtdevdocumentation.la
+libtdevdocumentation_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevdocumentation_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/parts/documentation/interfaces/libdocumentation_interfaces.la $(LIB_TDEHTML)
-libkdevdocumentation_la_SOURCES = documentation_part.cpp \
+libtdevdocumentation_la_SOURCES = documentation_part.cpp \
documentation_widget.cpp contentsview.cpp indexview.cpp docglobalconfigwidgetbase.ui \
docglobalconfigwidget.cpp docconfiglistview.cpp editcatalogdlgbase.ui editcatalogdlg.cpp \
docutils.cpp searchview.cpp bookmarkview.cpp editbookmarkdlg.ui \
find_documentationbase.ui find_documentation.cpp find_documentation_optionsbase.ui \
find_documentation_options.cpp selecttopicbase.ui selecttopic.cpp docprojectconfigwidgetbase.ui \
- docprojectconfigwidget.cpp KDevDocumentationIface.cpp KDevDocumentationIface.skel \
+ docprojectconfigwidget.cpp TDevDocumentationIface.cpp TDevDocumentationIface.skel \
addcatalogdlgbase.ui addcatalogdlg.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevdocumentation.desktop
+service_DATA = tdevdocumentation.desktop
-rcdir = $(kde_datadir)/kdevdocumentation
-rc_DATA = kdevpart_documentation.rc
+rcdir = $(kde_datadir)/tdevdocumentation
+rc_DATA = tdevpart_documentation.rc
noinst_HEADERS = contentsview.h indexview.h docglobalconfigwidget.h \
docconfiglistview.h editcatalogdlg.h docutils.h searchview.h bookmarkview.h selecttopic.h \
- docprojectconfigwidget.h KDevDocumentationIface.h addcatalogdlg.h
+ docprojectconfigwidget.h TDevDocumentationIface.h addcatalogdlg.h
SUBDIRS = interfaces plugins tools data protocols
DOXYGEN_EMPTY = YES
diff --git a/parts/documentation/KDevDocumentationIface.cpp b/parts/documentation/TDevDocumentationIface.cpp
index 329b8474..0441eb4a 100644
--- a/parts/documentation/KDevDocumentationIface.cpp
+++ b/parts/documentation/TDevDocumentationIface.cpp
@@ -17,67 +17,67 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include "KDevDocumentationIface.h"
+#include "TDevDocumentationIface.h"
#include "documentation_part.h"
-KDevDocumentationIface::KDevDocumentationIface(DocumentationPart *part)
- :TQObject(part), DCOPObject("KDevDocumentation"), m_part(part)
+TDevDocumentationIface::TDevDocumentationIface(DocumentationPart *part)
+ :TQObject(part), DCOPObject("TDevDocumentation"), m_part(part)
{
}
-KDevDocumentationIface::~KDevDocumentationIface()
+TDevDocumentationIface::~TDevDocumentationIface()
{
}
-void KDevDocumentationIface::lookupInIndex(TQString term)
+void TDevDocumentationIface::lookupInIndex(TQString term)
{
m_part->lookInDocumentationIndex(term);
}
-void KDevDocumentationIface::findInFinder(TQString term)
+void TDevDocumentationIface::findInFinder(TQString term)
{
m_part->findInDocumentation(term);
}
-void KDevDocumentationIface::searchInDocumentation(TQString term)
+void TDevDocumentationIface::searchInDocumentation(TQString term)
{
m_part->searchInDocumentation(term);
}
-void KDevDocumentationIface::lookupInIndex()
+void TDevDocumentationIface::lookupInIndex()
{
m_part->lookInDocumentationIndex();
}
-void KDevDocumentationIface::searchInDocumentation()
+void TDevDocumentationIface::searchInDocumentation()
{
m_part->searchInDocumentation();
}
-void KDevDocumentationIface::manPage(TQString term)
+void TDevDocumentationIface::manPage(TQString term)
{
m_part->manPage(term);
}
-void KDevDocumentationIface::infoPage(TQString term)
+void TDevDocumentationIface::infoPage(TQString term)
{
m_part->infoPage(term);
}
-void KDevDocumentationIface::manPage()
+void TDevDocumentationIface::manPage()
{
m_part->manPage();
}
-void KDevDocumentationIface::infoPage()
+void TDevDocumentationIface::infoPage()
{
m_part->infoPage();
}
-void KDevDocumentationIface::findInFinder( )
+void TDevDocumentationIface::findInFinder( )
{
m_part->findInDocumentation();
}
-#include "KDevDocumentationIface.moc"
+#include "TDevDocumentationIface.moc"
diff --git a/parts/documentation/KDevDocumentationIface.h b/parts/documentation/TDevDocumentationIface.h
index c55143e7..565070f3 100644
--- a/parts/documentation/KDevDocumentationIface.h
+++ b/parts/documentation/TDevDocumentationIface.h
@@ -17,21 +17,21 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef KDEVDOCUMENTATIONIFACE_H
-#define KDEVDOCUMENTATIONIFACE_H
+#ifndef TDEVDOCUMENTATIONIFACE_H
+#define TDEVDOCUMENTATIONIFACE_H
#include <tqobject.h>
#include <dcopobject.h>
class DocumentationPart;
-class KDevDocumentationIface : public TQObject, public DCOPObject {
+class TDevDocumentationIface : public TQObject, public DCOPObject {
Q_OBJECT
//
K_DCOP
public:
- KDevDocumentationIface(DocumentationPart *part);
- ~KDevDocumentationIface();
+ TDevDocumentationIface(DocumentationPart *part);
+ ~TDevDocumentationIface();
k_dcop:
void lookupInIndex(TQString term);
diff --git a/parts/documentation/addcatalogdlg.cpp b/parts/documentation/addcatalogdlg.cpp
index 21913089..51e6fe96 100644
--- a/parts/documentation/addcatalogdlg.cpp
+++ b/parts/documentation/addcatalogdlg.cpp
@@ -29,7 +29,7 @@
#include <kdebug.h>
#include "docutils.h"
-#include "kdevdocumentationplugin.h"
+#include "tdevdocumentationplugin.h"
AddCatalogDlg::AddCatalogDlg( TQValueList<DocumentationPlugin*> const & plugins,
TQWidget* parent, const char* name, bool modal, WFlags fl)
diff --git a/parts/documentation/bookmarkview.cpp b/parts/documentation/bookmarkview.cpp
index f626e246..9e6f85df 100644
--- a/parts/documentation/bookmarkview.cpp
+++ b/parts/documentation/bookmarkview.cpp
@@ -34,8 +34,8 @@
#include <tdehtml_part.h>
#include <dom/html_document.h>
-#include <kdevpartcontroller.h>
-#include <kdevdocumentationplugin.h>
+#include <tdevpartcontroller.h>
+#include <tdevdocumentationplugin.h>
#include "documentation_part.h"
#include "documentation_widget.h"
@@ -44,7 +44,7 @@
DocBookmarkManager::DocBookmarkManager(DocumentationPart */*part*/)
:KBookmarkManager(locateLocal("data",
- "kdevdocumentation/bookmarks/bookmarks.xml"), false)
+ "tdevdocumentation/bookmarks/bookmarks.xml"), false)
{
setEditorOptions(i18n("Documentation"), false);
}
diff --git a/parts/documentation/contentsview.cpp b/parts/documentation/contentsview.cpp
index 532feefd..ff3c9a31 100644
--- a/parts/documentation/contentsview.cpp
+++ b/parts/documentation/contentsview.cpp
@@ -26,8 +26,8 @@
#include <tdelistview.h>
#include <tdelocale.h>
-#include <kdevpartcontroller.h>
-#include <kdevdocumentationplugin.h>
+#include <tdevpartcontroller.h>
+#include <tdevdocumentationplugin.h>
#include "documentation_widget.h"
#include "documentation_part.h"
diff --git a/parts/documentation/data/CMakeLists.txt b/parts/documentation/data/CMakeLists.txt
index 77d380d4..5bb6d766 100644
--- a/parts/documentation/data/CMakeLists.txt
+++ b/parts/documentation/data/CMakeLists.txt
@@ -11,8 +11,8 @@
install( FILES
long.html nomatch.html short.html syntax.html wrapper.html
- DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/en )
+ DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation/en )
install( FILES
checked.xpm htdig.png star.png star_blank.png unchecked.xpm
- DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/pics )
+ DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation/pics )
diff --git a/parts/documentation/data/Makefile.am b/parts/documentation/data/Makefile.am
index 920c492a..ae52bf11 100644
--- a/parts/documentation/data/Makefile.am
+++ b/parts/documentation/data/Makefile.am
@@ -1,6 +1,6 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
METASOURCES = AUTO
-htmldir = $(kde_datadir)/kdevdocumentation/en
-picsdir = $(kde_datadir)/kdevdocumentation/pics
+htmldir = $(kde_datadir)/tdevdocumentation/en
+picsdir = $(kde_datadir)/tdevdocumentation/pics
html_DATA = long.html nomatch.html short.html syntax.html wrapper.html
pics_DATA = checked.xpm htdig.png star.png star_blank.png unchecked.xpm
diff --git a/parts/documentation/data/nomatch.html b/parts/documentation/data/nomatch.html
index 8951a604..5cbd5c49 100644
--- a/parts/documentation/data/nomatch.html
+++ b/parts/documentation/data/nomatch.html
@@ -1,6 +1,6 @@
<html><head><title>No match for '$&(LOGICAL_WORDS)'</title></head>
<body bgcolor="#ffffff" text="#000000" link="#aa0000">
-<h1><img src="$(PICDIR)kdevdocumentation/pics/htdig.png">
+<h1><img src="$(PICDIR)tdevdocumentation/pics/htdig.png">
Search results</h1>
<hr noshade size="4">
<h2>No matches were found for '$&(LOGICAL_WORDS)'</h2>
@@ -17,5 +17,5 @@ word with "<b>All</b>," try using one or more of the same words
with "<b>Any</b>."</p>
<hr noshade size="4">
<a href="http://www.htdig.org/">
-<img src="$(PICDIR)kdevdocumentation/pics/htdig.png" border="0">ht://Dig $(VERSION)</a>
+<img src="$(PICDIR)tdevdocumentation/pics/htdig.png" border="0">ht://Dig $(VERSION)</a>
</body></html>
diff --git a/parts/documentation/data/syntax.html b/parts/documentation/data/syntax.html
index 9701c37f..21a2ab2a 100644
--- a/parts/documentation/data/syntax.html
+++ b/parts/documentation/data/syntax.html
@@ -1,6 +1,6 @@
<html><head><title>Error in Boolean search for '$&(WORDS)'</title></head>
<body bgcolor="#ffffff" text="#000000" link="#aa0000">
-<h1><img src="$(PICDIR)kdevdocumentation/pics/htdig.png">
+<h1><img src="$(PICDIR)tdevdocumentation/pics/htdig.png">
Error in Boolean search for '$&(LOGICAL_WORDS)'</h1>
<hr noshade size="4">
Boolean expressions need to be 'correct' in order for the search
@@ -14,6 +14,6 @@ $(SYNTAXERROR)
</b></blockquote>
<hr noshade size="4">
<a href="http://www.htdig.org/">
-<img src="$(PICDIR)kdevdocumentation/pics/htdig.png" border="0">ht://Dig $(VERSION)</a>
+<img src="$(PICDIR)tdevdocumentation/pics/htdig.png" border="0">ht://Dig $(VERSION)</a>
</body></html>
diff --git a/parts/documentation/data/wrapper.html b/parts/documentation/data/wrapper.html
index 20c1bbf2..187ffd61 100644
--- a/parts/documentation/data/wrapper.html
+++ b/parts/documentation/data/wrapper.html
@@ -1,10 +1,10 @@
<html><head><title>Search results for '$&(WORDS)'</title></head>
<body bgcolor="#ffffff" text="#000000" link="#aa0000">
-<h2><img src=$(PICDIR)kdevdocumentation/pics/htdig.png>
+<h2><img src=$(PICDIR)tdevdocumentation/pics/htdig.png>
Search results for '$&(LOGICAL_WORDS)'</h2>
<hr noshade size="4">
<b>
-More <img src=$(PICDIR)kdevdocumentation/pics/star.png alt="*">'s indicate a better match.
+More <img src=$(PICDIR)tdevdocumentation/pics/star.png alt="*">'s indicate a better match.
</b>
<hr noshade size="1">
$(HTSEARCH_RESULTS)
@@ -12,5 +12,5 @@ $(PAGEHEADER)
$(PREVPAGE) $(PAGELIST) $(NEXTPAGE)
<hr noshade size="4">
<a href="http://www.htdig.org/">
-<img src=$(PICDIR)kdevdocumentation/pics/htdig.png border="0">ht://Dig $(VERSION)</a>
+<img src=$(PICDIR)tdevdocumentation/pics/htdig.png border="0">ht://Dig $(VERSION)</a>
</body></html>
diff --git a/parts/documentation/docconfiglistview.cpp b/parts/documentation/docconfiglistview.cpp
index d2753653..ba6f30fb 100644
--- a/parts/documentation/docconfiglistview.cpp
+++ b/parts/documentation/docconfiglistview.cpp
@@ -21,7 +21,7 @@
#include <tdelocale.h>
-#include "kdevdocumentationplugin.h"
+#include "tdevdocumentationplugin.h"
DocConfigListView::DocConfigListView(TQWidget *parent, const char *name)
:TDEListView(parent, name)
diff --git a/parts/documentation/docglobalconfigwidget.cpp b/parts/documentation/docglobalconfigwidget.cpp
index cb6c3776..5f66ef4a 100644
--- a/parts/documentation/docglobalconfigwidget.cpp
+++ b/parts/documentation/docglobalconfigwidget.cpp
@@ -38,8 +38,8 @@
#include <tdehtml_part.h>
#include <tdehtml_settings.h>
-#include "kdevdocumentationplugin.h"
-#include "kdevpartcontroller.h"
+#include "tdevdocumentationplugin.h"
+#include "tdevpartcontroller.h"
#include "docconfiglistview.h"
#include "documentation_part.h"
@@ -67,7 +67,7 @@ DocGlobalConfigWidget::DocGlobalConfigWidget(DocumentationPart *part,
//read full text search settings
config->setGroup("htdig");
TQString databaseDir = kapp->dirs()->saveLocation("data",
- "kdevdocumentation/search");
+ "tdevdocumentation/search");
databaseDirEdit->setURL(config->readPathEntry("databaseDir", databaseDir));
htdigbinEdit->setURL(config->readPathEntry("htdigbin", kapp->dirs()->findExe("htdig")));
htmergebinEdit->setURL(config->readPathEntry("htmergebin", kapp->dirs()->findExe("htmerge")));
@@ -99,8 +99,8 @@ DocGlobalConfigWidget::DocGlobalConfigWidget(DocumentationPart *part,
useAssistant_box->setChecked(m_part->isAssistantUsed());
- // Having app-specific settings isn't pretty, but this setting is nonsensical in kdevassistant
- if ( kapp->instanceName().find("kdevassistant") != -1 )
+ // Having app-specific settings isn't pretty, but this setting is nonsensical in tdevassistant
+ if ( kapp->instanceName().find("tdevassistant") != -1 )
useAssistant_box->hide();
//font sizes and zoom levels
@@ -182,7 +182,7 @@ void DocGlobalConfigWidget::accept()
config->writePathEntry("htsearchbin", DocUtils::envURL(htsearchbinEdit));
//write full text search locations file
- TQString ftsLocationsFile = locateLocal("data", "kdevdocumentation/search/locations.txt");
+ TQString ftsLocationsFile = locateLocal("data", "tdevdocumentation/search/locations.txt");
TQFile f(ftsLocationsFile);
TQStringList locs;
if (f.open(IO_ReadWrite | IO_Truncate))
diff --git a/parts/documentation/docprojectconfigwidget.cpp b/parts/documentation/docprojectconfigwidget.cpp
index a37ad5cb..1d6678d7 100644
--- a/parts/documentation/docprojectconfigwidget.cpp
+++ b/parts/documentation/docprojectconfigwidget.cpp
@@ -27,8 +27,8 @@
#include "domutil.h"
#include "urlutil.h"
-#include "kdevproject.h"
-#include "kdevdocumentationplugin.h"
+#include "tdevproject.h"
+#include "tdevdocumentationplugin.h"
#include "documentation_part.h"
#include "documentation_widget.h"
@@ -45,7 +45,7 @@ DocProjectConfigWidget::DocProjectConfigWidget(DocumentationPart *part, TQWidget
m_plugins[(*it)->pluginName()] = *it;
}
}
- TQString projectDocSystem = DomUtil::readEntry(*(m_part->projectDom()), "/kdevdocumentation/projectdoc/docsystem");
+ TQString projectDocSystem = DomUtil::readEntry(*(m_part->projectDom()), "/tdevdocumentation/projectdoc/docsystem");
bool hasProjectDoc = false;
for (int i = 0; i < docSystemCombo->count(); ++i)
@@ -64,7 +64,7 @@ DocProjectConfigWidget::DocProjectConfigWidget(DocumentationPart *part, TQWidget
changeDocSystem(docSystemCombo->currentText());
}
- manualURL->setURL(DomUtil::readEntry(*(m_part->projectDom()), "/kdevdocumentation/projectdoc/usermanualurl"));
+ manualURL->setURL(DomUtil::readEntry(*(m_part->projectDom()), "/tdevdocumentation/projectdoc/usermanualurl"));
}
void DocProjectConfigWidget::changeDocSystem(const TQString &text)
@@ -79,7 +79,7 @@ void DocProjectConfigWidget::changeDocSystem(const TQString &text)
catalogURL->setMode(plugin->catalogLocatorProps().first);
catalogURL->setFilter(plugin->catalogLocatorProps().second);
- TQString projectDocURL = DomUtil::readEntry(*(m_part->projectDom()), "/kdevdocumentation/projectdoc/docurl");
+ TQString projectDocURL = DomUtil::readEntry(*(m_part->projectDom()), "/tdevdocumentation/projectdoc/docurl");
if (!projectDocURL.isEmpty())
projectDocURL = TQDir::cleanDirPath(m_part->project()->projectDirectory() + "/" + projectDocURL);
diff --git a/parts/documentation/documentation_part.cpp b/parts/documentation/documentation_part.cpp
index 75bb7c13..9515fad7 100644
--- a/parts/documentation/documentation_part.cpp
+++ b/parts/documentation/documentation_part.cpp
@@ -48,17 +48,17 @@
#include <twin.h>
#include <tdetexteditor/document.h>
-#include "kdevplugininfo.h"
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
-#include "kdevgenericfactory.h"
-#include "kdevdocumentationplugin.h"
+#include "tdevplugininfo.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
+#include "tdevgenericfactory.h"
+#include "tdevdocumentationplugin.h"
#include "configwidgetproxy.h"
-#include "kdevpartcontroller.h"
+#include "tdevpartcontroller.h"
#include "domutil.h"
#include "urlutil.h"
-#include "kdeveditorutil.h"
+#include "tdeveditorutil.h"
#include "documentation_widget.h"
#include "docglobalconfigwidget.h"
@@ -66,22 +66,22 @@
#include "contentsview.h"
#include "find_documentation.h"
-#include "KDevDocumentationIface.h"
+#include "TDevDocumentationIface.h"
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
-static const KDevPluginInfo data("kdevdocumentation");
+static const TDevPluginInfo data("tdevdocumentation");
-typedef KDevGenericFactory<DocumentationPart> DocumentationFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevdocumentation, DocumentationFactory( data ) )
+typedef TDevGenericFactory<DocumentationPart> DocumentationFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevdocumentation, DocumentationFactory( data ) )
DocumentationPart::DocumentationPart(TQObject *parent, const char *name, const TQStringList& )
- :KDevPlugin(&data, parent, name ? name : "DocumentationPart" ),
+ :TDevPlugin(&data, parent, name ? name : "DocumentationPart" ),
m_projectDocumentationPlugin(0), m_userManualPlugin(0), m_hasIndex(false)
{
setInstance(DocumentationFactory::instance());
- setXMLFile("kdevpart_documentation.rc");
+ setXMLFile("tdevpart_documentation.rc");
m_configProxy = new ConfigWidgetProxy(core());
m_configProxy->createGlobalConfigPage(i18n("Documentation"), GLOBALDOC_OPTIONS, info()->icon() );
@@ -109,7 +109,7 @@ DocumentationPart::DocumentationPart(TQObject *parent, const char *name, const T
TQTimer::singleShot(0, this, TQT_SLOT(init()));
- new KDevDocumentationIface(this);
+ new TDevDocumentationIface(this);
}
DocumentationPart::~DocumentationPart()
@@ -250,6 +250,12 @@ void DocumentationPart::setupActions()
"all possible sources of documentation like "
"table of contents, index, man and info databases, "
"Google, etc."));
+ action = new TDEAction(i18n("TDevelop Programming Handbook"), 0,
+ this, TQT_SLOT(programmingHandbook()),
+ actionCollection(), "help_programming_handbook" );
+ action->setToolTip(i18n("Open the TDevelop Programming Handbook"));
+ action->setWhatsThis(i18n("<b>Open the TDevelop Programming Handbook</b><p>Opens Open the TDevelop Programming Handbook."));
+
}
void DocumentationPart::emitBookmarkLocation(const TQString &title, const KURL &url)
@@ -259,12 +265,12 @@ void DocumentationPart::emitBookmarkLocation(const TQString &title, const KURL &
void DocumentationPart::searchInDocumentation()
{
- TQString word = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ TQString word = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( word.isEmpty() )
{
if ( isAssistantUsed() )
- callAssistant ( "KDevDocumentation", "searchInDocumentation()" );
+ callAssistant ( "TDevDocumentation", "searchInDocumentation()" );
else
{
mainWindow()->raiseView ( m_widget );
@@ -274,7 +280,7 @@ void DocumentationPart::searchInDocumentation()
else
{
if ( isAssistantUsed() )
- callAssistant ( "KDevDocumentation", "searchInDocumentation(TQString)", word );
+ callAssistant ( "TDevDocumentation", "searchInDocumentation(TQString)", word );
else
{
mainWindow()->raiseView ( m_widget );
@@ -292,24 +298,29 @@ void DocumentationPart::searchInDocumentation(const TQString &term)
void DocumentationPart::contextSearchInDocumentation()
{
if (isAssistantUsed())
- callAssistant("KDevDocumentation", "searchInDocumentation(TQString)", m_contextStr);
+ callAssistant("TDevDocumentation", "searchInDocumentation(TQString)", m_contextStr);
else
searchInDocumentation(m_contextStr);
}
+void DocumentationPart::programmingHandbook()
+{
+ kapp->invokeHelp (TQString::null, "tde_app_devel");
+}
+
void DocumentationPart::manPage()
{
- TQString word = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ TQString word = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( isAssistantUsed() )
{
if ( word.isEmpty() )
{
- callAssistant ( "KDevDocumentation", "manPage()" );
+ callAssistant ( "TDevDocumentation", "manPage()" );
}
else
{
- callAssistant ( "KDevDocumentation", "manPage(TQString)", word );
+ callAssistant ( "TDevDocumentation", "manPage(TQString)", word );
}
}
else
@@ -323,17 +334,17 @@ void DocumentationPart::manPage()
void DocumentationPart::infoPage()
{
- TQString word = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ TQString word = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( isAssistantUsed() )
{
if ( word.isEmpty() )
{
- callAssistant ( "KDevDocumentation", "infoPage()" );
+ callAssistant ( "TDevDocumentation", "infoPage()" );
}
else
{
- callAssistant ( "KDevDocumentation", "infoPage(TQString)", word );
+ callAssistant ( "TDevDocumentation", "infoPage(TQString)", word );
}
}
else
@@ -360,7 +371,7 @@ void DocumentationPart::infoPage(const TQString &term)
void DocumentationPart::contextManPage()
{
if (isAssistantUsed())
- callAssistant("KDevDocumentation", "manPage(TQString)", m_contextStr);
+ callAssistant("TDevDocumentation", "manPage(TQString)", m_contextStr);
else
manPage(m_contextStr);
}
@@ -368,7 +379,7 @@ void DocumentationPart::contextManPage()
void DocumentationPart::contextInfoPage()
{
if (isAssistantUsed())
- callAssistant("KDevDocumentation", "infoPage(TQString)", m_contextStr);
+ callAssistant("TDevDocumentation", "infoPage(TQString)", m_contextStr);
else
infoPage(m_contextStr);
}
@@ -376,19 +387,19 @@ void DocumentationPart::contextInfoPage()
void DocumentationPart::contextFindDocumentation()
{
if (isAssistantUsed())
- callAssistant("KDevDocumentation", "findInFinder(TQString)", m_contextStr);
+ callAssistant("TDevDocumentation", "findInFinder(TQString)", m_contextStr);
else
findInDocumentation(m_contextStr);
}
void DocumentationPart::findInDocumentation()
{
- TQString word = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ TQString word = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( word.isEmpty() )
{
if ( isAssistantUsed() )
- callAssistant ( "KDevDocumentation", "findInFinder()" );
+ callAssistant ( "TDevDocumentation", "findInFinder()" );
else
{
mainWindow()->raiseView ( m_widget );
@@ -398,7 +409,7 @@ void DocumentationPart::findInDocumentation()
else
{
if ( isAssistantUsed() )
- callAssistant ( "KDevDocumentation", "findInFinder(TQString)", word );
+ callAssistant ( "TDevDocumentation", "findInFinder(TQString)", word );
else
{
mainWindow()->raiseView ( m_widget );
@@ -415,12 +426,12 @@ void DocumentationPart::findInDocumentation(const TQString &term)
void DocumentationPart::lookInDocumentationIndex()
{
- TQString word = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ TQString word = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( word.isEmpty() )
{
if ( isAssistantUsed() )
- callAssistant ( "KDevDocumentation", "lookupInIndex()" );
+ callAssistant ( "TDevDocumentation", "lookupInIndex()" );
else
{
mainWindow()->raiseView ( m_widget );
@@ -430,7 +441,7 @@ void DocumentationPart::lookInDocumentationIndex()
else
{
if ( isAssistantUsed() )
- callAssistant ( "KDevDocumentation", "lookupInIndex(TQString)", word );
+ callAssistant ( "TDevDocumentation", "lookupInIndex(TQString)", word );
else
{
mainWindow()->raiseView ( m_widget );
@@ -448,7 +459,7 @@ void DocumentationPart::lookInDocumentationIndex(const TQString &term)
void DocumentationPart::contextLookInDocumentationIndex()
{
if (isAssistantUsed())
- callAssistant("KDevDocumentation", "lookupInIndex(TQString)", m_contextStr);
+ callAssistant("TDevDocumentation", "lookupInIndex(TQString)", m_contextStr);
else
lookInDocumentationIndex(m_contextStr);
}
@@ -564,11 +575,11 @@ void DocumentationPart::setContextFeature(ContextFeature feature, bool b)
void DocumentationPart::projectOpened()
{
- TQString projectDocSystem = DomUtil::readEntry(*(projectDom()), "/kdevdocumentation/projectdoc/docsystem");
- TQString projectDocURL = DomUtil::readEntry(*(projectDom()), "/kdevdocumentation/projectdoc/docurl");
+ TQString projectDocSystem = DomUtil::readEntry(*(projectDom()), "/tdevdocumentation/projectdoc/docsystem");
+ TQString projectDocURL = DomUtil::readEntry(*(projectDom()), "/tdevdocumentation/projectdoc/docurl");
if (!projectDocURL.isEmpty())
projectDocURL = TQDir::cleanDirPath(project()->projectDirectory() + "/" + projectDocURL);
- TQString userManualURL = DomUtil::readEntry(*(projectDom()), "/kdevdocumentation/projectdoc/usermanualurl");
+ TQString userManualURL = DomUtil::readEntry(*(projectDom()), "/tdevdocumentation/projectdoc/usermanualurl");
for (TQValueList<DocumentationPlugin*>::const_iterator it = m_plugins.constBegin();
it != m_plugins.constEnd(); ++it)
@@ -602,21 +613,21 @@ void DocumentationPart::saveProjectDocumentationInfo()
{
if (m_projectDocumentationPlugin)
{
- DomUtil::writeEntry(*(projectDom()), "/kdevdocumentation/projectdoc/docsystem", m_projectDocumentationPlugin->pluginName());
+ DomUtil::writeEntry(*(projectDom()), "/tdevdocumentation/projectdoc/docsystem", m_projectDocumentationPlugin->pluginName());
TQString relPath = URLUtil::extractPathNameRelative(project()->projectDirectory(),
m_projectDocumentationPlugin->catalogURL());
- DomUtil::writeEntry(*(projectDom()), "/kdevdocumentation/projectdoc/docurl", relPath);
+ DomUtil::writeEntry(*(projectDom()), "/tdevdocumentation/projectdoc/docurl", relPath);
}
else
{
- DomUtil::writeEntry(*(projectDom()), "/kdevdocumentation/projectdoc/docsystem", "");
- DomUtil::writeEntry(*(projectDom()), "/kdevdocumentation/projectdoc/docurl", "");
+ DomUtil::writeEntry(*(projectDom()), "/tdevdocumentation/projectdoc/docsystem", "");
+ DomUtil::writeEntry(*(projectDom()), "/tdevdocumentation/projectdoc/docurl", "");
}
if (m_userManualPlugin)
- DomUtil::writeEntry(*(projectDom()), "/kdevdocumentation/projectdoc/usermanualurl", m_userManualPlugin->catalogURL());
+ DomUtil::writeEntry(*(projectDom()), "/tdevdocumentation/projectdoc/usermanualurl", m_userManualPlugin->catalogURL());
else
- DomUtil::writeEntry(*(projectDom()), "/kdevdocumentation/projectdoc/usermanualurl", "");
+ DomUtil::writeEntry(*(projectDom()), "/tdevdocumentation/projectdoc/usermanualurl", "");
}
TQCString DocumentationPart::startAssistant()
@@ -627,7 +638,7 @@ TQCString DocumentationPart::startAssistant()
return lastAssistant;
const char *function = 0;
- TQString app = "kdevassistant";
+ TQString app = "tdevassistant";
function = "start_service_by_desktop_name(TQString,TQStringList)";
TQStringList URLs;
@@ -665,7 +676,7 @@ TQCString DocumentationPart::startAssistant()
kdDebug() << dcopName.data() << endl;
//@fixme: is there another way to wait for the remote object to be loaded
- while (!TDEApplication::dcopClient()->remoteObjects(dcopName).contains("KDevDocumentation"))
+ while (!TDEApplication::dcopClient()->remoteObjects(dcopName).contains("TDevDocumentation"))
usleep(500);
}
}
@@ -674,8 +685,8 @@ TQCString DocumentationPart::startAssistant()
bool DocumentationPart::isAssistantUsed() const
{
- // hack to solve BR #90334 - don't call kdevassistant via DCOP if we ARE kdevassistant
- if ( kapp->instanceName().find("kdevassistant") != -1 )
+ // hack to solve BR #90334 - don't call tdevassistant via DCOP if we ARE tdevassistant
+ if ( kapp->instanceName().find("tdevassistant") != -1 )
{
return false;
}
@@ -686,7 +697,7 @@ bool DocumentationPart::isAssistantUsed() const
void DocumentationPart::setAssistantUsed(bool b)
{
m_assistantUsed = b;
- //use global config to store different settings for kdevassistant and tdevelop
+ //use global config to store different settings for tdevassistant and tdevelop
TDEConfig *config = kapp->config();
config->setGroup("Documentation");
config->writeEntry("UseAssistant", isAssistantUsed());
@@ -739,7 +750,7 @@ void DocumentationPart::loadSettings()
config->setGroup("Documentation");
m_assistantUsed = config->readBoolEntry("UseAssistant", false);
- if (TQString(TDEGlobal::instance()->aboutData()->appName()) == "kdevassistant")
+ if (TQString(TDEGlobal::instance()->aboutData()->appName()) == "tdevassistant")
{
int page = config->readNumEntry("LastPage", 0);
switch (page)
diff --git a/parts/documentation/documentation_part.h b/parts/documentation/documentation_part.h
index 722ad4bd..aafe1669 100644
--- a/parts/documentation/documentation_part.h
+++ b/parts/documentation/documentation_part.h
@@ -17,11 +17,11 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef __KDEVPART_DOCUMENTATION_H__
-#define __KDEVPART_DOCUMENTATION_H__
+#ifndef __TDEVPART_DOCUMENTATION_H__
+#define __TDEVPART_DOCUMENTATION_H__
#include <tqguardedptr.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
class FindDocumentation;
@@ -39,7 +39,7 @@ class TQPopupMenu;
/*
Please read the README.dox file for more info about this part
*/
-class DocumentationPart : public KDevPlugin
+class DocumentationPart : public TDevPlugin
{
Q_OBJECT
@@ -69,6 +69,7 @@ public slots:
void searchInDocumentation();
void searchInDocumentation(const TQString &term);
void contextSearchInDocumentation();
+ void programmingHandbook();
void manPage();
void manPage(const TQString &term);
void contextManPage();
diff --git a/parts/documentation/documentation_widget.cpp b/parts/documentation/documentation_widget.cpp
index b1ab69ca..b69e80a5 100644
--- a/parts/documentation/documentation_widget.cpp
+++ b/parts/documentation/documentation_widget.cpp
@@ -31,8 +31,8 @@
#include <tdeapplication.h>
#include <tdeconfig.h>
-#include <kdevcore.h>
-#include <kdevdocumentationplugin.h>
+#include <tdevcore.h>
+#include <tdevdocumentationplugin.h>
#include "documentation_part.h"
#include "contentsview.h"
diff --git a/parts/documentation/documentation_widget.h b/parts/documentation/documentation_widget.h
index a813b393..fccd03b9 100644
--- a/parts/documentation/documentation_widget.h
+++ b/parts/documentation/documentation_widget.h
@@ -23,7 +23,7 @@
#include <tqwidget.h>
class FindDocumentation;
-class KDevProject;
+class TDevProject;
class DocumentationPart;
class ContentsView;
class IndexView;
diff --git a/parts/documentation/docutils.cpp b/parts/documentation/docutils.cpp
index 5360a73f..ba00ea83 100644
--- a/parts/documentation/docutils.cpp
+++ b/parts/documentation/docutils.cpp
@@ -27,9 +27,9 @@
#include <tdelocale.h>
#include <kstringhandler.h>
-#include <kdevpartcontroller.h>
+#include <tdevpartcontroller.h>
-#include "kdevdocumentationplugin.h"
+#include "tdevdocumentationplugin.h"
#include "documentation_part.h"
TQString DocUtils::noEnvURL(const TQString &url)
diff --git a/parts/documentation/editcatalogdlg.cpp b/parts/documentation/editcatalogdlg.cpp
index 8bdc19d5..2fb81fec 100644
--- a/parts/documentation/editcatalogdlg.cpp
+++ b/parts/documentation/editcatalogdlg.cpp
@@ -26,7 +26,7 @@
#include <kurlcompletion.h>
#include "docutils.h"
-#include "kdevdocumentationplugin.h"
+#include "tdevdocumentationplugin.h"
EditCatalogDlg::EditCatalogDlg(DocumentationPlugin *plugin, TQWidget* parent,
const char* name, bool modal, WFlags fl)
diff --git a/parts/documentation/find_documentation.cpp b/parts/documentation/find_documentation.cpp
index ebddcd4c..2f730b81 100644
--- a/parts/documentation/find_documentation.cpp
+++ b/parts/documentation/find_documentation.cpp
@@ -29,8 +29,8 @@
#include <kprocess.h>
#include <tdelistbox.h>
-#include <kdevpartcontroller.h>
-#include <kdevdocumentationplugin.h>
+#include <tdevpartcontroller.h>
+#include <tdevdocumentationplugin.h>
#include "documentation_widget.h"
#include "documentation_part.h"
diff --git a/parts/documentation/indexview.cpp b/parts/documentation/indexview.cpp
index cae33db5..25762451 100644
--- a/parts/documentation/indexview.cpp
+++ b/parts/documentation/indexview.cpp
@@ -30,8 +30,8 @@
#include <kurl.h>
#include <kdebug.h>
-#include <kdevpartcontroller.h>
-#include <kdevdocumentationplugin.h>
+#include <tdevpartcontroller.h>
+#include <tdevdocumentationplugin.h>
#include "docutils.h"
#include "selecttopic.h"
diff --git a/parts/documentation/interfaces/CMakeLists.txt b/parts/documentation/interfaces/CMakeLists.txt
index f4a2ff08..2e1f0ae3 100644
--- a/parts/documentation/interfaces/CMakeLists.txt
+++ b/parts/documentation/interfaces/CMakeLists.txt
@@ -23,7 +23,7 @@ link_directories(
##### headers ###################################
install( FILES
- kdevdocumentationplugin.h
+ tdevdocumentationplugin.h
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/parts/documentation )
@@ -37,7 +37,7 @@ install( FILES
##### documentation_interfaces (shared) #########
tde_add_library( documentation_interfaces SHARED AUTOMOC
- SOURCES kdevdocumentationplugin.cpp
+ SOURCES tdevdocumentationplugin.cpp
VERSION 0.0.0
LINK tdeio-shared
DESTINATION ${LIB_INSTALL_DIR}
diff --git a/parts/documentation/interfaces/Makefile.am b/parts/documentation/interfaces/Makefile.am
index f128dabc..b0feb598 100644
--- a/parts/documentation/interfaces/Makefile.am
+++ b/parts/documentation/interfaces/Makefile.am
@@ -5,12 +5,12 @@ partincludedirdir = $(includedir)/tdevelop/parts/documentation
lib_LTLIBRARIES = libdocumentation_interfaces.la
libdocumentation_interfaces_la_LDFLAGS = $(all_libraries)
libdocumentation_interfaces_la_LIBADD = $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO)
-libdocumentation_interfaces_la_SOURCES = kdevdocumentationplugin.cpp
-partincludedir_HEADERS = kdevdocumentationplugin.h
+libdocumentation_interfaces_la_SOURCES = tdevdocumentationplugin.cpp
+partincludedir_HEADERS = tdevdocumentationplugin.h
servicetypedir = $(kde_servicetypesdir)
servicetype_DATA = tdevelopdocumentationplugins.desktop
-DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevutil kdevinterfaces
-DOXYGEN_PROJECTNAME = KDevelop Documentation Part Interfaces Library
-DOXYGEN_DOCDIRPREFIX = kdevdoc
+DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevutil tdevinterfaces
+DOXYGEN_PROJECTNAME = TDevelop Documentation Part Interfaces Library
+DOXYGEN_DOCDIRPREFIX = tdevdoc
include ../../../Doxyfile.am
diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.cpp b/parts/documentation/interfaces/tdevdocumentationplugin.cpp
index afc9abad..f3c20841 100644
--- a/parts/documentation/interfaces/kdevdocumentationplugin.cpp
+++ b/parts/documentation/interfaces/tdevdocumentationplugin.cpp
@@ -16,7 +16,7 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#include "kdevdocumentationplugin.h"
+#include "tdevdocumentationplugin.h"
#include <tqfile.h>
#include <tqpainter.h>
@@ -334,7 +334,7 @@ void DocumentationPlugin::cacheIndex(DocumentationCatalogItem *item)
{
kdDebug() << "Creating index cache for " << item->text(0) << endl;
- TQString cacheName = locateLocal("data", TQString("kdevdocumentation/index/cache_") + item->text(0));
+ TQString cacheName = locateLocal("data", TQString("tdevdocumentation/index/cache_") + item->text(0));
TQFile cacheFile(cacheName);
if (!cacheFile.open(IO_WriteOnly))
return;
@@ -357,7 +357,7 @@ void DocumentationPlugin::cacheIndex(DocumentationCatalogItem *item)
bool DocumentationPlugin::loadCachedIndex(IndexBox *index, DocumentationCatalogItem *item)
{
- TQString cacheName = locateLocal("data", TQString("kdevdocumentation/index/cache_") + item->cacheVersion() + item->text(0));
+ TQString cacheName = locateLocal("data", TQString("tdevdocumentation/index/cache_") + item->cacheVersion() + item->text(0));
TQFile cacheFile(cacheName);
if (!cacheFile.open(IO_ReadOnly))
return false;
@@ -718,4 +718,4 @@ TQString ProjectDocumentationPlugin::catalogURL() const
return m_url;
}
-#include "kdevdocumentationplugin.moc"
+#include "tdevdocumentationplugin.moc"
diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.h b/parts/documentation/interfaces/tdevdocumentationplugin.h
index a5dbe458..ed18a86a 100644
--- a/parts/documentation/interfaces/kdevdocumentationplugin.h
+++ b/parts/documentation/interfaces/tdevdocumentationplugin.h
@@ -16,8 +16,8 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#ifndef KDEV_DOC_PLUGIN_H
-#define KDEV_DOC_PLUGIN_H
+#ifndef TDEV_DOC_PLUGIN_H
+#define TDEV_DOC_PLUGIN_H
#include <tqmap.h>
#include <tqvaluelist.h>
diff --git a/parts/documentation/plugins/CMakeLists.txt b/parts/documentation/plugins/CMakeLists.txt
index 281c40f8..116e7674 100644
--- a/parts/documentation/plugins/CMakeLists.txt
+++ b/parts/documentation/plugins/CMakeLists.txt
@@ -12,6 +12,6 @@
add_subdirectory( qt )
add_subdirectory( doxygen )
add_subdirectory( devhelp )
-add_subdirectory( kdevtoc )
+add_subdirectory( tdevtoc )
add_subdirectory( chm )
add_subdirectory( custom )
diff --git a/parts/documentation/plugins/Makefile.am b/parts/documentation/plugins/Makefile.am
index c2002f78..253a0193 100644
--- a/parts/documentation/plugins/Makefile.am
+++ b/parts/documentation/plugins/Makefile.am
@@ -1,3 +1,3 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
METASOURCES = AUTO
-SUBDIRS = qt doxygen devhelp kdevtoc chm custom
+SUBDIRS = qt doxygen devhelp tdevtoc chm custom
diff --git a/parts/documentation/plugins/chm/docchmplugin.cpp b/parts/documentation/plugins/chm/docchmplugin.cpp
index 5acecce3..f3287540 100644
--- a/parts/documentation/plugins/chm/docchmplugin.cpp
+++ b/parts/documentation/plugins/chm/docchmplugin.cpp
@@ -28,14 +28,14 @@
#include <iostream>
#include <fstream>
#include <tqvaluevector.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include <tqregexp.h>
#include "../../../../config.h"
-static const KDevPluginInfo data("docchmplugin");
-typedef KDevGenericFactory<DocCHMPlugin> DocCHMPluginFactory;
+static const TDevPluginInfo data("docchmplugin");
+typedef TDevGenericFactory<DocCHMPlugin> DocCHMPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocchmplugin, DocCHMPluginFactory(data) )
DocCHMPlugin::DocCHMPlugin(TQObject* parent, const char* name, TQStringList // args
diff --git a/parts/documentation/plugins/chm/docchmplugin.h b/parts/documentation/plugins/chm/docchmplugin.h
index 452e1c09..e814248f 100644
--- a/parts/documentation/plugins/chm/docchmplugin.h
+++ b/parts/documentation/plugins/chm/docchmplugin.h
@@ -20,7 +20,7 @@
#ifndef DOCCHMPLUGIN_H
#define DOCCHMPLUGIN_H
-#include <kdevdocumentationplugin.h>
+#include <tdevdocumentationplugin.h>
class DocCHMPlugin :public DocumentationPlugin
{
diff --git a/parts/documentation/plugins/custom/doccustomplugin.cpp b/parts/documentation/plugins/custom/doccustomplugin.cpp
index dd141eba..55d6c9c6 100644
--- a/parts/documentation/plugins/custom/doccustomplugin.cpp
+++ b/parts/documentation/plugins/custom/doccustomplugin.cpp
@@ -25,11 +25,11 @@
#include <tdelocale.h>
#include <tdelistview.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
-static const KDevPluginInfo data("doccustomplugin");
-typedef KDevGenericFactory<DocCustomPlugin> DocCustomPluginFactory;
+static const TDevPluginInfo data("doccustomplugin");
+typedef TDevGenericFactory<DocCustomPlugin> DocCustomPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdoccustomplugin, DocCustomPluginFactory(data) )
DocCustomPlugin::DocCustomPlugin(TQObject* parent, const char* name, const TQStringList // args
diff --git a/parts/documentation/plugins/custom/doccustomplugin.h b/parts/documentation/plugins/custom/doccustomplugin.h
index f83daf1a..315e0864 100644
--- a/parts/documentation/plugins/custom/doccustomplugin.h
+++ b/parts/documentation/plugins/custom/doccustomplugin.h
@@ -20,7 +20,7 @@
#ifndef DOCCUSTOMPLUGIN_H
#define DOCCUSTOMPLUGIN_H
-#include <kdevdocumentationplugin.h>
+#include <tdevdocumentationplugin.h>
class DocCustomPlugin : public DocumentationPlugin {
public:
diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp
index 4f2d50d6..d644df4f 100644
--- a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp
+++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp
@@ -32,8 +32,8 @@
#include <tdelocale.h>
#include <kstandarddirs.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include "../../../../config.h"
@@ -69,8 +69,8 @@ private:
};
-static const KDevPluginInfo data("docdevhelpplugin");
-typedef KDevGenericFactory<DocDevHelpPlugin> DocDevHelpPluginFactory;
+static const TDevPluginInfo data("docdevhelpplugin");
+typedef TDevGenericFactory<DocDevHelpPlugin> DocDevHelpPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocdevhelpplugin, DocDevHelpPluginFactory(data) )
DocDevHelpPlugin::DocDevHelpPlugin(TQObject* parent, const char* name,
diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.h b/parts/documentation/plugins/devhelp/docdevhelpplugin.h
index 6436a1d8..11339098 100644
--- a/parts/documentation/plugins/devhelp/docdevhelpplugin.h
+++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.h
@@ -23,7 +23,7 @@
#include <tqvaluestack.h>
#include <tqdom.h>
-#include <kdevdocumentationplugin.h>
+#include <tdevdocumentationplugin.h>
class DocDevHelpPlugin: public DocumentationPlugin
{
diff --git a/parts/documentation/plugins/djvu/docdjvuplugin.cpp b/parts/documentation/plugins/djvu/docdjvuplugin.cpp
index 7851a516..dafdfa1f 100644
--- a/parts/documentation/plugins/djvu/docdjvuplugin.cpp
+++ b/parts/documentation/plugins/djvu/docdjvuplugin.cpp
@@ -25,10 +25,10 @@
#include <tdelocale.h>
#include <tdelistview.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
static const TDEAboutData data("docdjvuplugin", I18N_NOOP("Djvu documentation plugin"), "1.0");
-typedef KDevGenericFactory<DocDjvuPlugin> DocDjvuPluginFactory;
+typedef TDevGenericFactory<DocDjvuPlugin> DocDjvuPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocdjvuplugin, DocDjvuPluginFactory(&data) )
DocDjvuPlugin::DocDjvuPlugin(TQObject* parent, const char* name, const TQStringList args)
diff --git a/parts/documentation/plugins/djvu/docdjvuplugin.h b/parts/documentation/plugins/djvu/docdjvuplugin.h
index 6bff409c..15415c65 100644
--- a/parts/documentation/plugins/djvu/docdjvuplugin.h
+++ b/parts/documentation/plugins/djvu/docdjvuplugin.h
@@ -20,7 +20,7 @@
#ifndef DOCDJVUPLUGIN_H
#define DOCDVJUPLUGIN_H
-#include <kdevdocumentationplugin.h>
+#include <tdevdocumentationplugin.h>
class DocDjvuPlugin : public DocumentationPlugin {
public:
diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp
index 9a5a6912..e5a7da93 100644
--- a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp
+++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp
@@ -35,8 +35,8 @@
#include <kstandarddirs.h>
#include <urlutil.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include "../../../../config.h"
@@ -60,8 +60,8 @@ private:
};
-static const KDevPluginInfo data("docdoxygenplugin");
-typedef KDevGenericFactory<DocDoxygenPlugin> DocDoxygenPluginFactory;
+static const TDevPluginInfo data("docdoxygenplugin");
+typedef TDevGenericFactory<DocDoxygenPlugin> DocDoxygenPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocdoxygenplugin, DocDoxygenPluginFactory(data) )
DocDoxygenPlugin::DocDoxygenPlugin(TQObject* parent, const char* name, const TQStringList)
diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.h b/parts/documentation/plugins/doxygen/docdoxygenplugin.h
index ebd4a540..8382f98e 100644
--- a/parts/documentation/plugins/doxygen/docdoxygenplugin.h
+++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.h
@@ -20,7 +20,7 @@
#ifndef DOCDOXYGENPLUGIN_H
#define DOCDOXYGENPLUGIN_H
-#include <kdevdocumentationplugin.h>
+#include <tdevdocumentationplugin.h>
class TQDomDocument;
class TQDomElement;
diff --git a/parts/documentation/plugins/kdevtoc/Makefile.am b/parts/documentation/plugins/kdevtoc/Makefile.am
deleted file mode 100644
index 22dab380..00000000
--- a/parts/documentation/plugins/kdevtoc/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \
- -I$(top_srcdir)/parts/documentation/interfaces $(all_includes)
-METASOURCES = AUTO
-kde_module_LTLIBRARIES = libdockdevtocplugin.la
-libdockdevtocplugin_la_LDFLAGS = -module -avoid-version -no-undefined $(all_libraries)
-kde_services_DATA = dockdevtocplugin.desktop
-noinst_HEADERS = dockdevtocplugin.h
-libdockdevtocplugin_la_SOURCES = dockdevtocplugin.cpp
-libdockdevtocplugin_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/parts/documentation/interfaces/libdocumentation_interfaces.la
diff --git a/parts/documentation/plugins/pdb/docpdbplugin.cpp b/parts/documentation/plugins/pdb/docpdbplugin.cpp
index fc647d34..b0ebd29d 100644
--- a/parts/documentation/plugins/pdb/docpdbplugin.cpp
+++ b/parts/documentation/plugins/pdb/docpdbplugin.cpp
@@ -25,10 +25,10 @@
#include <tdelocale.h>
#include <tdelistview.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
static const TDEAboutData data("docpdbplugin", I18N_NOOP("PalmDoc documentation plugin"), "1.0");
-typedef KDevGenericFactory<DocPDBPlugin> DocPDBPluginFactory;
+typedef TDevGenericFactory<DocPDBPlugin> DocPDBPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocpdbplugin, DocPDBPluginFactory(&data) )
DocPDBPlugin::DocPDBPlugin(TQObject* parent, const char* name, const TQStringList args)
diff --git a/parts/documentation/plugins/pdb/docpdbplugin.h b/parts/documentation/plugins/pdb/docpdbplugin.h
index 40dd3a15..d1319012 100644
--- a/parts/documentation/plugins/pdb/docpdbplugin.h
+++ b/parts/documentation/plugins/pdb/docpdbplugin.h
@@ -20,7 +20,7 @@
#ifndef DOCPDBPLUGIN_H
#define DOCPDBPLUGIN_H
-#include <kdevdocumentationplugin.h>
+#include <tdevdocumentationplugin.h>
class DocPDBPlugin : public DocumentationPlugin {
public:
diff --git a/parts/documentation/plugins/pdf/docpdfplugin.cpp b/parts/documentation/plugins/pdf/docpdfplugin.cpp
index 65bddd1b..322a33d3 100644
--- a/parts/documentation/plugins/pdf/docpdfplugin.cpp
+++ b/parts/documentation/plugins/pdf/docpdfplugin.cpp
@@ -25,10 +25,10 @@
#include <tdelocale.h>
#include <tdelistview.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
static const TDEAboutData data("docpdfplugin", I18N_NOOP("PDF documentation plugin"), "1.0");
-typedef KDevGenericFactory<DocPDFPlugin> DocPDFPluginFactory;
+typedef TDevGenericFactory<DocPDFPlugin> DocPDFPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocpdfplugin, DocPDFPluginFactory(&data) )
DocPDFPlugin::DocPDFPlugin(TQObject* parent, const char* name, const TQStringList args)
diff --git a/parts/documentation/plugins/pdf/docpdfplugin.h b/parts/documentation/plugins/pdf/docpdfplugin.h
index d5ecc7eb..a5410196 100644
--- a/parts/documentation/plugins/pdf/docpdfplugin.h
+++ b/parts/documentation/plugins/pdf/docpdfplugin.h
@@ -20,7 +20,7 @@
#ifndef DOCPDFPLUGIN_H
#define DOCPDFPLUGIN_H
-#include <kdevdocumentationplugin.h>
+#include <tdevdocumentationplugin.h>
class DocPDFPlugin : public DocumentationPlugin {
public:
diff --git a/parts/documentation/plugins/qt/docqtplugin.cpp b/parts/documentation/plugins/qt/docqtplugin.cpp
index 10271524..301859ca 100644
--- a/parts/documentation/plugins/qt/docqtplugin.cpp
+++ b/parts/documentation/plugins/qt/docqtplugin.cpp
@@ -32,8 +32,8 @@
#include <tdelistview.h>
#include <urlutil.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include "../../../../config.h"
@@ -56,8 +56,8 @@ private:
TQString m_dcfFile;
};
-static const KDevPluginInfo data("docqtplugin");
-typedef KDevGenericFactory<DocQtPlugin> DocQtPluginFactory;
+static const TDevPluginInfo data("docqtplugin");
+typedef TDevGenericFactory<DocQtPlugin> DocQtPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocqtplugin, DocQtPluginFactory(data) )
DocQtPlugin::DocQtPlugin(TQObject* parent, const char* name, const TQStringList)
diff --git a/parts/documentation/plugins/qt/docqtplugin.h b/parts/documentation/plugins/qt/docqtplugin.h
index 8eac8456..964ef844 100644
--- a/parts/documentation/plugins/qt/docqtplugin.h
+++ b/parts/documentation/plugins/qt/docqtplugin.h
@@ -20,7 +20,7 @@
#ifndef DOCTQTPLUGIN_H
#define DOCTQTPLUGIN_H
-#include <kdevdocumentationplugin.h>
+#include <tdevdocumentationplugin.h>
#include <tqdom.h>
class TDEConfig;
diff --git a/parts/documentation/plugins/kdevtoc/CMakeLists.txt b/parts/documentation/plugins/tdevtoc/CMakeLists.txt
index c12c26e3..f3d1efc2 100644
--- a/parts/documentation/plugins/kdevtoc/CMakeLists.txt
+++ b/parts/documentation/plugins/tdevtoc/CMakeLists.txt
@@ -27,13 +27,13 @@ link_directories(
##### other data ################################
-install( FILES dockdevtocplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES doctdevtocplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libdockdevtocplugin (module) ##############
+##### libdoctdevtocplugin (module) ##############
-tde_add_kpart( libdockdevtocplugin AUTOMOC
- SOURCES dockdevtocplugin.cpp
+tde_add_kpart( libdoctdevtocplugin AUTOMOC
+ SOURCES doctdevtocplugin.cpp
LINK documentation_interfaces-shared tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/parts/documentation/plugins/tdevtoc/Makefile.am b/parts/documentation/plugins/tdevtoc/Makefile.am
new file mode 100644
index 00000000..4baaaa86
--- /dev/null
+++ b/parts/documentation/plugins/tdevtoc/Makefile.am
@@ -0,0 +1,10 @@
+INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \
+ -I$(top_srcdir)/parts/documentation/interfaces $(all_includes)
+METASOURCES = AUTO
+kde_module_LTLIBRARIES = libdoctdevtocplugin.la
+libdoctdevtocplugin_la_LDFLAGS = -module -avoid-version -no-undefined $(all_libraries)
+kde_services_DATA = doctdevtocplugin.desktop
+noinst_HEADERS = doctdevtocplugin.h
+libdoctdevtocplugin_la_SOURCES = doctdevtocplugin.cpp
+libdoctdevtocplugin_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+ $(top_builddir)/parts/documentation/interfaces/libdocumentation_interfaces.la
diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.cpp
index fa17549b..aa603fbd 100644
--- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
+++ b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.cpp
@@ -17,7 +17,7 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include "dockdevtocplugin.h"
+#include "doctdevtocplugin.h"
#include <unistd.h>
@@ -34,8 +34,8 @@
#include <kstandarddirs.h>
#include <urlutil.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include "../../../../config.h"
@@ -59,38 +59,38 @@ private:
};
-static const KDevPluginInfo data("dockdevtocplugin");
-typedef KDevGenericFactory<DocKDevTOCPlugin> DocKDevTOCPluginFactory;
-K_EXPORT_COMPONENT_FACTORY( libdockdevtocplugin, DocKDevTOCPluginFactory(data) )
+static const TDevPluginInfo data("doctdevtocplugin");
+typedef TDevGenericFactory<DocTDevTOCPlugin> DocTDevTOCPluginFactory;
+K_EXPORT_COMPONENT_FACTORY( libdoctdevtocplugin, DocTDevTOCPluginFactory(data) )
-DocKDevTOCPlugin::DocKDevTOCPlugin(TQObject* parent, const char* name,
+DocTDevTOCPlugin::DocTDevTOCPlugin(TQObject* parent, const char* name,
const TQStringList /*args*/)
- :DocumentationPlugin(DocKDevTOCPluginFactory::instance()->config(), parent, name)
+ :DocumentationPlugin(DocTDevTOCPluginFactory::instance()->config(), parent, name)
{
setCapabilities(Index);
autoSetup();
}
-DocKDevTOCPlugin::~DocKDevTOCPlugin()
+DocTDevTOCPlugin::~DocTDevTOCPlugin()
{
}
-TQString DocKDevTOCPlugin::pluginName() const
+TQString DocTDevTOCPlugin::pluginName() const
{
return i18n("TDevelopTOC Documentation Collection");
}
-DocumentationCatalogItem* DocKDevTOCPlugin::createCatalog(TDEListView* contents, const TQString& title, const TQString& url)
+DocumentationCatalogItem* DocTDevTOCPlugin::createCatalog(TDEListView* contents, const TQString& title, const TQString& url)
{
return new TOCDocumentationCatalogItem(url, this, contents, title);
}
-TQPair<KFile::Mode, TQString> DocKDevTOCPlugin::catalogLocatorProps()
+TQPair<KFile::Mode, TQString> DocTDevTOCPlugin::catalogLocatorProps()
{
return TQPair<KFile::Mode, TQString>(KFile::File, "*.toc");
}
-TQString DocKDevTOCPlugin::catalogTitle(const TQString& url)
+TQString DocTDevTOCPlugin::catalogTitle(const TQString& url)
{
TQFileInfo fi(url);
if (!fi.exists())
@@ -111,19 +111,19 @@ TQString DocKDevTOCPlugin::catalogTitle(const TQString& url)
}
-TQStringList DocKDevTOCPlugin::fullTextSearchLocations()
+TQStringList DocTDevTOCPlugin::fullTextSearchLocations()
{
return TQStringList();
}
-bool DocKDevTOCPlugin::needRefreshIndex(DocumentationCatalogItem* /*item*/)
+bool DocTDevTOCPlugin::needRefreshIndex(DocumentationCatalogItem* /*item*/)
{
return false;
}
-void DocKDevTOCPlugin::autoSetupPlugin()
+void DocTDevTOCPlugin::autoSetupPlugin()
{
- TQStringList tocsDir = DocKDevTOCPluginFactory::instance()->dirs()->findAllResources("data", "kdevdocumentation/tocs/*.toc");
+ TQStringList tocsDir = DocTDevTOCPluginFactory::instance()->dirs()->findAllResources("data", "tdevdocumentation/tocs/*.toc");
for (TQStringList::const_iterator it = tocsDir.begin(); it != tocsDir.end(); ++it)
{
@@ -132,7 +132,7 @@ void DocKDevTOCPlugin::autoSetupPlugin()
}
}
-void DocKDevTOCPlugin::createIndex(IndexBox* index, DocumentationCatalogItem* item)
+void DocTDevTOCPlugin::createIndex(IndexBox* index, DocumentationCatalogItem* item)
{
TOCDocumentationCatalogItem *tocItem = dynamic_cast<TOCDocumentationCatalogItem *>(item);
if (!tocItem)
@@ -177,7 +177,7 @@ void DocKDevTOCPlugin::createIndex(IndexBox* index, DocumentationCatalogItem* it
}
}
-void DocKDevTOCPlugin::createTOC(DocumentationCatalogItem* item)
+void DocTDevTOCPlugin::createTOC(DocumentationCatalogItem* item)
{
TOCDocumentationCatalogItem *tocItem = dynamic_cast<TOCDocumentationCatalogItem *>(item);
if (!tocItem)
@@ -210,7 +210,7 @@ void DocKDevTOCPlugin::createTOC(DocumentationCatalogItem* item)
addTocSect(tocItem, childEl, base, 1);
}
-void DocKDevTOCPlugin::addTocSect(DocumentationItem *parent, TQDomElement childEl, const TQString &base, uint level)
+void DocTDevTOCPlugin::addTocSect(DocumentationItem *parent, TQDomElement childEl, const TQString &base, uint level)
{
while (!childEl.isNull())
{
@@ -229,7 +229,7 @@ void DocKDevTOCPlugin::addTocSect(DocumentationItem *parent, TQDomElement childE
}
}
-void DocKDevTOCPlugin::setCatalogURL(DocumentationCatalogItem* item)
+void DocTDevTOCPlugin::setCatalogURL(DocumentationCatalogItem* item)
{
TOCDocumentationCatalogItem *tocItem = dynamic_cast<TOCDocumentationCatalogItem *>(item);
if (!tocItem)
@@ -264,7 +264,7 @@ void DocKDevTOCPlugin::setCatalogURL(DocumentationCatalogItem* item)
}
}
-TQString DocKDevTOCPlugin::constructURL(const TQString &base, const TQString &url)
+TQString DocTDevTOCPlugin::constructURL(const TQString &base, const TQString &url)
{
if (base.isEmpty() && !url.isEmpty())
return url;
@@ -274,4 +274,4 @@ TQString DocKDevTOCPlugin::constructURL(const TQString &base, const TQString &ur
return base;
}
-#include "dockdevtocplugin.moc"
+#include "doctdevtocplugin.moc"
diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.desktop
index 1cae3582..5f89e8d7 100644
--- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop
+++ b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.desktop
@@ -1,10 +1,10 @@
[Desktop Entry]
Type=Service
-Name=DocKDevTOCPlugin
-Name[da]=DocKDevTOC-plugin
-Name[sk]=Doc KDevTOC modul
+Name=DocTDevTOCPlugin
+Name[da]=DocTDevTOC-plugin
+Name[sk]=Doc TDevTOC modul
Name[sv]=TDevelop innehållsförteckning-dokumentationsinsticksmodul
-Name[ta]=DocKDevTOC சொருகு
+Name[ta]=DocTDevTOC சொருகு
Name[zh_TW]=TDevelop 目錄文件外掛程式
Exec=blubb
Comment=Documentation plugin for TDevelopTOC documentation
@@ -40,4 +40,4 @@ Comment[zh_CN]=TDevelopTOC 文档的文档插件
Comment[zh_TW]=TDevelop 目錄文件外掛程式
ServiceTypes=TDevelop/DocumentationPlugins
X-TDevelop-Version=5
-X-TDE-Library=libdockdevtocplugin
+X-TDE-Library=libdoctdevtocplugin
diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.h
index 7205cc4c..266efb94 100644
--- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h
+++ b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.h
@@ -17,20 +17,20 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef DOCKDEVTOCPLUGIN_H
-#define DOCKDEVTOCPLUGIN_H
+#ifndef DOCTDEVTOCPLUGIN_H
+#define DOCTDEVTOCPLUGIN_H
#include <tqdom.h>
-#include <kdevdocumentationplugin.h>
+#include <tdevdocumentationplugin.h>
-class DocKDevTOCPlugin : public DocumentationPlugin
+class DocTDevTOCPlugin : public DocumentationPlugin
{
Q_OBJECT
public:
- DocKDevTOCPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList());
- ~DocKDevTOCPlugin();
+ DocTDevTOCPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList());
+ ~DocTDevTOCPlugin();
virtual TQString pluginName() const;
diff --git a/parts/documentation/protocols/chm/CMakeLists.txt b/parts/documentation/protocols/chm/CMakeLists.txt
index c444c226..8d97053e 100644
--- a/parts/documentation/protocols/chm/CMakeLists.txt
+++ b/parts/documentation/protocols/chm/CMakeLists.txt
@@ -43,6 +43,6 @@ tde_add_kpart( tdeio_chm
tde_add_kpart( libkchmpart AUTOMOC
SOURCES kchmpart.cpp
- LINK kdevwidgets-shared
+ LINK tdevwidgets-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/parts/documentation/protocols/chm/Makefile.am b/parts/documentation/protocols/chm/Makefile.am
index 5a1092a2..de7e0929 100644
--- a/parts/documentation/protocols/chm/Makefile.am
+++ b/parts/documentation/protocols/chm/Makefile.am
@@ -9,7 +9,7 @@ tdeio_chm_la_LIBADD = $(LIB_TDEIO)
tdeio_chm_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
libkchmpart_la_SOURCES = kchmpart.cpp
-libkchmpart_la_LIBADD = -ltdehtml $(LIB_TDEPARTS) $(top_builddir)/lib/widgets/libkdevwidgets.la
+libkchmpart_la_LIBADD = -ltdehtml $(LIB_TDEPARTS) $(top_builddir)/lib/widgets/libtdevwidgets.la
libkchmpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
noinst_HEADERS = chm.h chmfile.h decompress.h kchmpart.h
diff --git a/parts/documentation/protocols/chm/kchmpart.cpp b/parts/documentation/protocols/chm/kchmpart.cpp
index 952228c4..ab688ff7 100644
--- a/parts/documentation/protocols/chm/kchmpart.cpp
+++ b/parts/documentation/protocols/chm/kchmpart.cpp
@@ -67,7 +67,7 @@ TDEInstance* KChmPartFactory::instance()
KChmPart::KChmPart( TQWidget * parent, const char * name )
- : KDevHTMLPart( ), m_job(0)
+ : TDevHTMLPart( ), m_job(0)
{
TDEInstance * instance = new TDEInstance( "kchmpart" );
setInstance( instance );
@@ -80,7 +80,7 @@ bool KChmPart::openURL( const KURL &url )
KURL chmURL = url;
chmURL.setProtocol("ms-its");
chmURL.addPath("/");
- return KDevHTMLPart::openURL(chmURL);
+ return TDevHTMLPart::openURL(chmURL);
}
void KChmPart::slotDuplicate()
diff --git a/parts/documentation/protocols/chm/kchmpart.h b/parts/documentation/protocols/chm/kchmpart.h
index 9d1812b1..a3c8d9ec 100644
--- a/parts/documentation/protocols/chm/kchmpart.h
+++ b/parts/documentation/protocols/chm/kchmpart.h
@@ -23,7 +23,7 @@
#include <tdehtml_part.h>
#include <tdeio/job.h>
#include <tdeio/jobclasses.h>
-#include <kdevhtmlpart.h>
+#include <tdevhtmlpart.h>
#include <tqcstring.h>
@@ -52,7 +52,7 @@ class KChmPartFactory: public KParts::Factory
};
-class KChmPart : public KDevHTMLPart
+class KChmPart : public TDevHTMLPart
{
Q_OBJECT
diff --git a/parts/documentation/searchview.cpp b/parts/documentation/searchview.cpp
index 67dca0ed..2893d574 100644
--- a/parts/documentation/searchview.cpp
+++ b/parts/documentation/searchview.cpp
@@ -43,8 +43,8 @@
#include <tdemessagebox.h>
#include <kdebug.h>
-#include <kdevpartcontroller.h>
-#include <kdevdocumentationplugin.h>
+#include <tdevpartcontroller.h>
+#include <tdevdocumentationplugin.h>
#include "documentation_part.h"
#include "docutils.h"
@@ -160,7 +160,7 @@ void SearchView::search()
return;
}
- TQString indexdir = kapp->dirs()->saveLocation("data", "kdevdocumentation/search");
+ TQString indexdir = kapp->dirs()->saveLocation("data", "tdevdocumentation/search");
TQDir d;
if (indexdir.isEmpty() || !TQFile::exists(indexdir + "/htdig.conf"))
{
@@ -177,7 +177,7 @@ void SearchView::search()
}
}
- TQString savedir = kapp->dirs()->saveLocation("data", "kdevdocumentation/search");
+ TQString savedir = kapp->dirs()->saveLocation("data", "tdevdocumentation/search");
if (!d.exists(savedir))
d.mkdir(savedir);
@@ -191,7 +191,7 @@ void SearchView::search()
kdDebug(9002) << "starting kprocess" << endl;
kdDebug(9002) << "htdig line:" << exe << " -c " << (indexdir + "/htdig.conf ") << query << endl;
TDEProcess *proc = new TDEProcess;
- TQString picdir = kapp->dirs()->findResourceDir("data", "kdevdocumentation/pics/htdig.png");
+ TQString picdir = kapp->dirs()->findResourceDir("data", "tdevdocumentation/pics/htdig.png");
proc->setEnvironment("PICDIR", picdir);
*proc << exe << "-c" << (indexdir + "/htdig.conf") << query;
diff --git a/parts/documentation/selecttopic.h b/parts/documentation/selecttopic.h
index 6ca5ad8b..e7e850bf 100644
--- a/parts/documentation/selecttopic.h
+++ b/parts/documentation/selecttopic.h
@@ -22,7 +22,7 @@
#include "selecttopicbase.h"
-#include "kdevdocumentationplugin.h"
+#include "tdevdocumentationplugin.h"
class SelectTopic: public SelectTopicBase{
Q_OBJECT
diff --git a/parts/documentation/kdevdocumentation.desktop b/parts/documentation/tdevdocumentation.desktop
index 674812f4..721970e7 100644
--- a/parts/documentation/kdevdocumentation.desktop
+++ b/parts/documentation/tdevdocumentation.desktop
@@ -29,10 +29,10 @@ Comment[sv]=Dokumentationsinsticksprogrammet erbjuder bläddring och sökning i
Comment[tr]=Belgelendirme eklentisi, çoklu belgelendirme sistemlerine destek ile, yerel ve çevrimiçi belgelere gözatma ve bu belgelerde arama yapılmasına izin verir.
Comment[zh_CN]=文档插件提供了本地和在线文档中提供浏览和搜索功能,支持多种文档系统
Comment[zh_TW]=文件外掛程式提供對本地與線上文件的瀏覽與搜尋功能,並支援多重文件系統。
-Name=KDevDocumentation
+Name=TDevDocumentation
Name[da]=TDevelop dokumentation
Name[nds]=TDevelop-Dokmentatschoon
-Name[pt_BR]=KDevDocumentação
+Name[pt_BR]=TDevDocumentação
Name[sk]=KDev dokumentácia
Name[sv]=TDevelop dokumentation
Name[ta]=KDev ஆவணமாக்கல்
@@ -76,7 +76,7 @@ GenericName[zh_TW]=文件
Icon=khelpcenter
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Global
-X-TDE-Library=libkdevdocumentation
+X-TDE-Library=libtdevdocumentation
X-TDevelop-Version=5
X-TDevelop-Mode=AssistantMode
X-TDevelop-Properties=Documentation
diff --git a/parts/documentation/kdevpart_documentation.rc b/parts/documentation/tdevpart_documentation.rc
index f8dac85a..6fd8b488 100644
--- a/parts/documentation/kdevpart_documentation.rc
+++ b/parts/documentation/tdevpart_documentation.rc
@@ -6,6 +6,7 @@
<Action name="plugin_action"/>
</Menu> -->
<Menu name="help">
+ <Action name="help_programming_handbook"/>
<Action name="help_look_in_index"/>
<Action name="help_search_in_doc"/>
<Action name="help_manpage"/>
diff --git a/parts/documentation/tools/htdig/htdigindex.cpp b/parts/documentation/tools/htdig/htdigindex.cpp
index c99c4a2c..d422826c 100644
--- a/parts/documentation/tools/htdig/htdigindex.cpp
+++ b/parts/documentation/tools/htdig/htdigindex.cpp
@@ -45,10 +45,10 @@ ProgressDialog::ProgressDialog(bool index, TQWidget *parent, const char *name)
{
proc = 0;
- indexdir = kapp->dirs()->saveLocation("data", "kdevdocumentation/search");
+ indexdir = kapp->dirs()->saveLocation("data", "tdevdocumentation/search");
TQDir d; d.mkdir(indexdir);
- TDEConfig config("kdevdocumentation", true);
+ TDEConfig config("tdevdocumentation", true);
config.setGroup("htdig");
databaseDir = config.readPathEntry("databaseDir", indexdir);
@@ -137,8 +137,8 @@ void ProgressDialog::setFilesDigged(int n)
void ProgressDialog::setState(int n)
{
- TQPixmap unchecked = TQPixmap(locate("data", "kdevdocumentation/pics/unchecked.xpm"));
- TQPixmap checked = TQPixmap(locate("data", "kdevdocumentation/pics/checked.xpm"));
+ TQPixmap unchecked = TQPixmap(locate("data", "tdevdocumentation/pics/unchecked.xpm"));
+ TQPixmap checked = TQPixmap(locate("data", "tdevdocumentation/pics/checked.xpm"));
check1->setPixmap( n > 0 ? checked : unchecked);
check2->setPixmap( n > 1 ? checked : unchecked);
@@ -182,7 +182,7 @@ void ProgressDialog::addDir(const TQString &dir)
void ProgressDialog::scanDirectories()
{
- TQString ftsLocationsFile = locateLocal("data", "kdevdocumentation/search/locations.txt");
+ TQString ftsLocationsFile = locateLocal("data", "tdevdocumentation/search/locations.txt");
TQFile f(ftsLocationsFile);
if (!f.open(IO_ReadOnly))
@@ -214,15 +214,15 @@ bool ProgressDialog::createConfig()
if (language == "C")
language = "en";
- TQString wrapper = locate("data", TQString("kdevdocumentation/%1/wrapper.html").arg(language));
+ TQString wrapper = locate("data", TQString("tdevdocumentation/%1/wrapper.html").arg(language));
if (wrapper.isEmpty())
- wrapper = locate("data", TQString("kdevdocumentation/en/wrapper.html"));
+ wrapper = locate("data", TQString("tdevdocumentation/en/wrapper.html"));
if (wrapper.isEmpty())
return false;
wrapper = wrapper.left(wrapper.length()-12);
// locate the image dir
- TQString images = locate("data", "kdevdocumentation/pics/star.png");
+ TQString images = locate("data", "tdevdocumentation/pics/star.png");
if (images.isEmpty())
return false;
images = images.left(images.length()-8);
@@ -300,7 +300,7 @@ bool ProgressDialog::generateIndex()
setState(1);
procdone = false;
// run htdig
- TDEConfig config("kdevdocumentation", true);
+ TDEConfig config("tdevdocumentation", true);
config.setGroup("htdig");
exe = config.readPathEntry("htdigbin", kapp->dirs()->findExe("htdig"));
if (exe.isEmpty())
@@ -365,7 +365,7 @@ void ProgressDialog::htdigExited(TDEProcess *proc)
setFilesDigged(filesToDig);
setState(2);
- TDEConfig config("kdevdocumentation", true);
+ TDEConfig config("tdevdocumentation", true);
config.setGroup("htdig");
// run htmerge -----------------------------------------------------
exe = config.readPathEntry("htmergebin", kapp->dirs()->findExe("htmerge"));
diff --git a/parts/doxygen/CMakeLists.txt b/parts/doxygen/CMakeLists.txt
index 00a18675..ed4bfeb9 100644
--- a/parts/doxygen/CMakeLists.txt
+++ b/parts/doxygen/CMakeLists.txt
@@ -28,13 +28,13 @@ link_directories(
##### other data ################################
-install( FILES kdevdoxygen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevdoxygen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdoxygen )
+install( FILES tdevdoxygen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevdoxygen.rc DESTINATION ${DATA_INSTALL_DIR}/tdevdoxygen )
-##### libkdevdoxygen (module) ###################
+##### libtdevdoxygen (module) ###################
-tde_add_kpart( libkdevdoxygen AUTOMOC
+tde_add_kpart( libtdevdoxygen AUTOMOC
SOURCES
doxygenpart.cpp doxygenconfigwidget.cpp input.cpp
config.cpp version.cpp messages.cpp
diff --git a/parts/doxygen/Makefile.am b/parts/doxygen/Makefile.am
index 703760cb..e01fa6eb 100644
--- a/parts/doxygen/Makefile.am
+++ b/parts/doxygen/Makefile.am
@@ -4,16 +4,16 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/src -DDOXYWIZARD \
$(all_includes)
-kde_module_LTLIBRARIES = libkdevdoxygen.la
-libkdevdoxygen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevdoxygen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevdoxygen.la
+libtdevdoxygen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevdoxygen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevdoxygen_la_SOURCES = doxygenpart.cpp doxygenconfigwidget.cpp input.cpp config.cpp version.cpp messages.cpp
+libtdevdoxygen_la_SOURCES = doxygenpart.cpp doxygenconfigwidget.cpp input.cpp config.cpp version.cpp messages.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevdoxygen.desktop
+service_DATA = tdevdoxygen.desktop
-rcdir = $(kde_datadir)/kdevdoxygen
-rc_DATA = kdevdoxygen.rc
+rcdir = $(kde_datadir)/tdevdoxygen
+rc_DATA = tdevdoxygen.rc
diff --git a/parts/doxygen/doxygenpart.cpp b/parts/doxygen/doxygenpart.cpp
index d965d98b..960eef41 100644
--- a/parts/doxygen/doxygenpart.cpp
+++ b/parts/doxygen/doxygenpart.cpp
@@ -15,19 +15,19 @@
#include "doxygenconfigwidget.h"
#include "configwidgetproxy.h"
#include "config.h"
-#include "kdevappfrontend.h"
+#include "tdevappfrontend.h"
-#include <kdevmainwindow.h>
-#include <kdevproject.h>
-#include <kdevmakefrontend.h>
-#include <kdevcore.h>
+#include <tdevmainwindow.h>
+#include <tdevproject.h>
+#include <tdevmakefrontend.h>
+#include <tdevcore.h>
#include <codemodel.h>
#include <codemodel_utils.h>
#include <domutil.h>
#include <kdebug.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdeaction.h>
#include <tdemessagebox.h>
#include <tdemainwindow.h>
@@ -37,7 +37,7 @@
#include <tdetexteditor/editinterface.h>
#include <partcontroller.h>
#include <kdialogbase.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include <tqvbox.h>
#include <tqfile.h>
@@ -47,15 +47,15 @@
#define PROJECTOPTIONS 1
-typedef KDevGenericFactory<DoxygenPart> DoxygenFactory;
-static const KDevPluginInfo data("kdevdoxygen");
-K_EXPORT_COMPONENT_FACTORY( libkdevdoxygen, DoxygenFactory( data ) )
+typedef TDevGenericFactory<DoxygenPart> DoxygenFactory;
+static const TDevPluginInfo data("tdevdoxygen");
+K_EXPORT_COMPONENT_FACTORY( libtdevdoxygen, DoxygenFactory( data ) )
DoxygenPart::DoxygenPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0)
+ : TDevPlugin(&data, parent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0)
{
setInstance(DoxygenFactory::instance());
- setXMLFile("kdevdoxygen.rc");
+ setXMLFile("tdevdoxygen.rc");
TDEAction *action;
action = new TDEAction( i18n("Build API Documentation"), 0,
@@ -272,7 +272,7 @@ void DoxygenPart::slotDoxygen()
kdDebug(9026) << "Doxygen command line: " << cmdline << endl;
- if (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir, cmdline);
}
@@ -340,7 +340,7 @@ void DoxygenPart::slotDoxClean()
if (could_be_dirty) {
kdDebug(9026) << "Cleaning Doxygen generated API documentation using: " << cmdline << endl;
- if (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(KShellProcess::quote(project()->projectDirectory()), cmdline);
}
else
@@ -350,7 +350,7 @@ void DoxygenPart::slotDoxClean()
void DoxygenPart::slotPreviewProcessExited( )
{
- KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend");
+ TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend");
if ( appFrontend != 0 )
disconnect(appFrontend, 0, this, 0);
partController()->showDocument(KURL(m_tmpDir.name()+"html/index.html"));
@@ -361,7 +361,7 @@ void DoxygenPart::slotRunPreview( )
if (m_file.isNull())
return;
- KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend");
+ TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend");
if ( appFrontend == 0 )
return;
diff --git a/parts/doxygen/doxygenpart.h b/parts/doxygen/doxygenpart.h
index aaa438de..77bafe46 100644
--- a/parts/doxygen/doxygenpart.h
+++ b/parts/doxygen/doxygenpart.h
@@ -20,7 +20,7 @@
#include <ktempdir.h>
#include <tqstring.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
class DoxygenDialog;
class TQPopupMenu;
@@ -37,7 +37,7 @@ namespace KTextEditor{
class EditInterface;
}
-class DoxygenPart : public KDevPlugin
+class DoxygenPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/doxygen/kdevdoxygen.desktop b/parts/doxygen/tdevdoxygen.desktop
index 7d50f15b..a69635ab 100644
--- a/parts/doxygen/kdevdoxygen.desktop
+++ b/parts/doxygen/tdevdoxygen.desktop
@@ -75,7 +75,7 @@ GenericName[zh_CN]=Doxygen 支持
GenericName[zh_TW]=Doxygen 支援
ServiceTypes=TDevelop/Plugin
Icon=tdevelop
-X-TDE-Library=libkdevdoxygen
+X-TDE-Library=libtdevdoxygen
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-Properties=CProjectDocumentation,CPPProjectDocumentation,JavaProjectDocumentation,PHPProjectDocumentation
diff --git a/parts/doxygen/kdevdoxygen.rc b/parts/doxygen/tdevdoxygen.rc
index 9faa6cd5..9faa6cd5 100644
--- a/parts/doxygen/kdevdoxygen.rc
+++ b/parts/doxygen/tdevdoxygen.rc
diff --git a/parts/filecreate/CMakeLists.txt b/parts/filecreate/CMakeLists.txt
index a562f8e1..5655e7b9 100644
--- a/parts/filecreate/CMakeLists.txt
+++ b/parts/filecreate/CMakeLists.txt
@@ -31,13 +31,13 @@ link_directories(
##### other data ################################
-install( FILES kdevfilecreate.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_filecreate.rc template-info.xml DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate )
+install( FILES tdevfilecreate.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_filecreate.rc template-info.xml DESTINATION ${DATA_INSTALL_DIR}/tdevfilecreate )
-##### libkdevfilecreate (module) ################
+##### libtdevfilecreate (module) ################
-tde_add_kpart( libkdevfilecreate AUTOMOC
+tde_add_kpart( libtdevfilecreate AUTOMOC
SOURCES
filecreate_part.cpp filecreate_listitem.cpp
filecreate_filetype.cpp filecreate_filedialog.cpp
diff --git a/parts/filecreate/Makefile.am b/parts/filecreate/Makefile.am
index efe204d9..ca0f1790 100644
--- a/parts/filecreate/Makefile.am
+++ b/parts/filecreate/Makefile.am
@@ -5,11 +5,11 @@ SUBDIRS = file-templates
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevfilecreate.la
-libkdevfilecreate_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfilecreate_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevfilecreate.la
+libtdevfilecreate_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfilecreate_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfilecreate_la_SOURCES = filecreate_part.cpp filecreate_listitem.cpp \
+libtdevfilecreate_la_SOURCES = filecreate_part.cpp filecreate_listitem.cpp \
filecreate_filetype.cpp filecreate_filedialog.cpp fcconfigwidgetbase.ui fcconfigwidget.cpp \
fctypeeditbase.ui fctypeedit.cpp fctemplateeditbase.ui fctemplateedit.cpp \
filecreate_newfile.cpp
@@ -17,7 +17,7 @@ libkdevfilecreate_la_SOURCES = filecreate_part.cpp filecreate_listitem.cpp \
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevfilecreate.desktop
+service_DATA = tdevfilecreate.desktop
-rcdir = $(kde_datadir)/kdevfilecreate
-rc_DATA = kdevpart_filecreate.rc template-info.xml
+rcdir = $(kde_datadir)/tdevfilecreate
+rc_DATA = tdevpart_filecreate.rc template-info.xml
diff --git a/parts/filecreate/README.dox b/parts/filecreate/README.dox
index 34a7882d..fc0fbc76 100644
--- a/parts/filecreate/README.dox
+++ b/parts/filecreate/README.dox
@@ -20,7 +20,7 @@ Example XML:
<code>
\verbatim
- <kdevfilecreate>
+ <tdevfilecreate>
<filetypes>
<type ext="py" name="Python" create="template"/>
<type ext="ui" name="QT Designer" create="template">
@@ -28,7 +28,7 @@ Example XML:
<subtype ref="mainwin" name="Main window"/>
</type>
</filetypes>
- </kdevfilecreate>
+ </tdevfilecreate>
\endverbatim
</code>
@@ -36,14 +36,14 @@ You can also use global template definitions supplied with the FileCreate part:
<code>
\verbatim
- <kdevfilecreate>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="ui" />
</useglobaltypes>
<filetypes>
<type ext="py" name="Python" create="template"/>
</filetypes>
- </kdevfilecreate>
+ </tdevfilecreate>
\endverbatim
</code>
diff --git a/parts/filecreate/fcconfigwidget.cpp b/parts/filecreate/fcconfigwidget.cpp
index 7c6fabc4..14066c11 100644
--- a/parts/filecreate/fcconfigwidget.cpp
+++ b/parts/filecreate/fcconfigwidget.cpp
@@ -35,8 +35,8 @@
#include "fcconfigwidget.h"
#include "filecreate_part.h"
#include "filecreate_filetype.h"
-#include "kdevproject.h"
-#include "kdevpartcontroller.h"
+#include "tdevproject.h"
+#include "tdevpartcontroller.h"
FCConfigWidget::FCConfigWidget(FileCreatePart * part, bool global, TQWidget *parent, const char *name):
@@ -90,7 +90,7 @@ void FCConfigWidget::accept()
void FCConfigWidget::loadGlobalConfig(TQListView *view, bool checkmarks)
{
- TQString globalXMLFile = ::locate("data", "kdevfilecreate/template-info.xml");
+ TQString globalXMLFile = ::locate("data", "tdevfilecreate/template-info.xml");
TQDomDocument globalDom;
if (!globalXMLFile.isNull() &&
DomUtil::openDOMFile(globalDom,globalXMLFile)) {
@@ -103,7 +103,7 @@ void FCConfigWidget::loadGlobalConfig(TQListView *view, bool checkmarks)
if (checkmarks)
{
TQDomElement useGlobalTypes =
- DomUtil::elementByPath(*(m_part->projectDom()),"/kdevfilecreate/useglobaltypes");
+ DomUtil::elementByPath(*(m_part->projectDom()),"/tdevfilecreate/useglobaltypes");
for(TQDomNode node = useGlobalTypes.firstChild(); !node.isNull();node=node.nextSibling())
{
if (node.isElement() && node.nodeName()=="type")
@@ -171,14 +171,14 @@ void FCConfigWidget::saveGlobalConfig()
TQDomDocument globalDom;
TQDomElement element = globalDom.createElement("tdevelop" );
globalDom.appendChild(element);
- TQDomElement apPart = globalDom.createElement("kdevfilecreate");
+ TQDomElement apPart = globalDom.createElement("tdevfilecreate");
element.appendChild(apPart);
TQDomElement fileTypes = globalDom.createElement( "filetypes" );
apPart.appendChild( fileTypes );
saveConfiguration(globalDom, fileTypes, true);
- TQFile config( TDEGlobal::dirs()->saveLocation("data", "kdevfilecreate/", true) + "template-info.xml" );
+ TQFile config( TDEGlobal::dirs()->saveLocation("data", "tdevfilecreate/", true) + "template-info.xml" );
config.open(IO_WriteOnly | IO_Truncate);
TQTextStream stream(&config);
stream << "<?xml version = '1.0'?>";
@@ -190,10 +190,10 @@ void FCConfigWidget::saveProjectConfig()
{
TQDomDocument dom = *m_part->projectDom( );
TQDomElement element = dom.documentElement( );
- TQDomElement apPart = element.namedItem( "kdevfilecreate" ).toElement( );
+ TQDomElement apPart = element.namedItem( "tdevfilecreate" ).toElement( );
if( apPart.isNull( ) )
{
- apPart = dom.createElement( "kdevfilecreate" );
+ apPart = dom.createElement( "tdevfilecreate" );
element.appendChild( apPart );
}
@@ -291,7 +291,7 @@ void FCConfigWidget::saveConfiguration(TQDomDocument &dom, TQDomElement &element
{
TQString dest;
if (global)
- dest = TDEGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true);
+ dest = TDEGlobal::dirs()->saveLocation("data", "/tdevfilecreate/file-templates/", true);
else
dest = m_part->project()->projectDirectory() + "/templates/";
if (it.current()->text(4) == "create")
@@ -318,7 +318,7 @@ void FCConfigWidget::saveConfiguration(TQDomDocument &dom, TQDomElement &element
{
TQString dest;
if (global)
- dest = TDEGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true);
+ dest = TDEGlobal::dirs()->saveLocation("data", "/tdevfilecreate/file-templates/", true);
else
dest = m_part->project()->projectDirectory() + "/templates/";
if (lastChild->text(4) == "create")
@@ -440,7 +440,7 @@ void FCConfigWidget::copyToProject_button_clicked()
it->parent()->text(1),
it->parent()->text(2),
it->parent()->text(3),
- locate("data", "kdevfilecreate/file-templates/"+ it->parent()->text(0)));
+ locate("data", "tdevfilecreate/file-templates/"+ it->parent()->text(0)));
destParent += it->parent()->text(0) + "-";
TQCheckListItem *chk = dynamic_cast<TQCheckListItem*>(it->parent());
if (chk)
@@ -452,13 +452,13 @@ void FCConfigWidget::copyToProject_button_clicked()
it->text(1),
it->text(2),
it->text(3),
- locate("data", "kdevfilecreate/file-templates/"+destParent + it->text(0)));
+ locate("data", "tdevfilecreate/file-templates/"+destParent + it->text(0)));
else
it_copy = new TQListViewItem(fc_view, it->text(0),
it->text(1),
it->text(2),
it->text(3),
- locate("data", "kdevfilecreate/file-templates/" +destParent+ it->text(0)));
+ locate("data", "tdevfilecreate/file-templates/" +destParent+ it->text(0)));
TQCheckListItem *chk = dynamic_cast<TQCheckListItem*>(it);
if (chk)
chk->setOn(false);
@@ -470,7 +470,7 @@ void FCConfigWidget::copyToProject_button_clicked()
it_child->text(1),
it_child->text(2),
it_child->text(3),
- locate("data", "kdevfilecreate/file-templates/"+ it_copy->text(0) + "-" + it_child->text(0)));
+ locate("data", "tdevfilecreate/file-templates/"+ it_copy->text(0) + "-" + it_child->text(0)));
TQCheckListItem *chk_child = dynamic_cast<TQCheckListItem*>(it_child);
if (chk_child)
chk_child->setOn(false);
@@ -683,7 +683,7 @@ void FCConfigWidget::edit_type_content_button_clicked( )
}
else
{
- TQString dest = TDEGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true);
+ TQString dest = TDEGlobal::dirs()->saveLocation("data", "/tdevfilecreate/file-templates/", true);
TQString typePath = dest + type_name;
KURL content;
content.setPath(typePath);
@@ -691,7 +691,7 @@ void FCConfigWidget::edit_type_content_button_clicked( )
{
TQFileInfo fi(dest+type_name);
if (!fi.exists())
- copyTemplate(locate("data", "kdevfilecreate/file-templates/" + type_name), dest, type_name);
+ copyTemplate(locate("data", "tdevfilecreate/file-templates/" + type_name), dest, type_name);
m_part->partController()->editDocument(content);
}
else
diff --git a/parts/filecreate/file-templates/CMakeLists.txt b/parts/filecreate/file-templates/CMakeLists.txt
index 04405e1a..37b9a309 100644
--- a/parts/filecreate/file-templates/CMakeLists.txt
+++ b/parts/filecreate/file-templates/CMakeLists.txt
@@ -14,4 +14,4 @@ install( FILES
ui-dialogr ui-tabdialog ui-wizard dox ts ui-mainwin-qt4
ui-widget-qt4 ui-dialogb-qt4 ui-dialogr-qt4 ui-dialog-qt4
qrc
- DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates )
+ DESTINATION ${DATA_INSTALL_DIR}/tdevfilecreate/file-templates )
diff --git a/parts/filecreate/file-templates/Makefile.am b/parts/filecreate/file-templates/Makefile.am
index 672a1cfa..631e3554 100644
--- a/parts/filecreate/file-templates/Makefile.am
+++ b/parts/filecreate/file-templates/Makefile.am
@@ -1,2 +1,2 @@
-rcdir = $(kde_datadir)/kdevfilecreate/file-templates
+rcdir = $(kde_datadir)/tdevfilecreate/file-templates
rc_DATA = ui ui-dialog ui-mainwin ui-confdialog ui-dialogb ui-widget ui-dialogr ui-tabdialog ui-wizard dox ts ui-mainwin-qt4 ui-widget-qt4 ui-dialogb-qt4 ui-dialogr-qt4 ui-dialog-qt4 qrc
diff --git a/parts/filecreate/filecreate_filedialog.h b/parts/filecreate/filecreate_filedialog.h
index 54365717..616e9c2d 100644
--- a/parts/filecreate/filecreate_filedialog.h
+++ b/parts/filecreate/filecreate_filedialog.h
@@ -10,8 +10,8 @@
-#ifndef __KDEVPART_FILECREATE_FILEDIALOG_H__
-#define __KDEVPART_FILECREATE_FILEDIALOG_H__
+#ifndef __TDEVPART_FILECREATE_FILEDIALOG_H__
+#define __TDEVPART_FILECREATE_FILEDIALOG_H__
#include <tdefiledialog.h>
diff --git a/parts/filecreate/filecreate_part.cpp b/parts/filecreate/filecreate_part.cpp
index 19deeb66..11fcfa6c 100644
--- a/parts/filecreate/filecreate_part.cpp
+++ b/parts/filecreate/filecreate_part.cpp
@@ -19,7 +19,7 @@
#include <tdeversion.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdefiledialog.h>
#include <kdebug.h>
#include <kstandarddirs.h>
@@ -30,10 +30,10 @@
#include <tdepopupmenu.h>
#include <tdemessagebox.h>
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
-#include "kdevproject.h"
-#include "kdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
+#include "tdevproject.h"
+#include "tdevpartcontroller.h"
#include "configwidgetproxy.h"
#include "filetemplate.h"
@@ -50,23 +50,23 @@
#define PROJECTSETTINGSPAGE 1
#define GLOBALSETTINGSPAGE 2
-#include "kdevplugininfo.h"
+#include "tdevplugininfo.h"
#include "config.h"
-static const KDevPluginInfo data("kdevfilecreate");
+static const TDevPluginInfo data("tdevfilecreate");
-typedef KDevGenericFactory<FileCreatePart> FileCreateFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevfilecreate, FileCreateFactory( data ) )
+typedef TDevGenericFactory<FileCreatePart> FileCreateFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevfilecreate, FileCreateFactory( data ) )
using namespace FileCreate;
FileCreatePart::FileCreatePart(TQObject *parent, const char *name, const TQStringList & )
-// : KDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_selectedWidget(-1), m_useSideTab(true), m_subPopups(0)
- : KDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_subPopups(0)
+// : TDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_selectedWidget(-1), m_useSideTab(true), m_subPopups(0)
+ : TDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_subPopups(0)
{
setInstance(FileCreateFactory::instance());
- setXMLFile("kdevpart_filecreate.rc");
+ setXMLFile("tdevpart_filecreate.rc");
connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) );
@@ -179,10 +179,10 @@ void FileCreatePart::slotNewFilePopup( int pFileType )
}
void FileCreatePart::slotNewFile() {
- KDevCreateFile::CreatedFile createdFile = createNewFile();
- if (createdFile.status == KDevCreateFile::CreatedFile::STATUS_NOTCREATED)
+ TDevCreateFile::CreatedFile createdFile = createNewFile();
+ if (createdFile.status == TDevCreateFile::CreatedFile::STATUS_NOTCREATED)
KMessageBox::error(0, i18n("Cannot create file. Check whether the directory and filename are valid."));
- else if (createdFile.status != KDevCreateFile::CreatedFile::STATUS_CANCELED)
+ else if (createdFile.status != TDevCreateFile::CreatedFile::STATUS_CANCELED)
openCreatedFile(createdFile);
}
@@ -209,7 +209,7 @@ void FileCreatePart::slotProjectClosed() {
void FileCreatePart::slotFiletypeSelected(const FileType * filetype) {
- KDevCreateFile::CreatedFile createdFile = createNewFile(filetype->ext(),
+ TDevCreateFile::CreatedFile createdFile = createNewFile(filetype->ext(),
TQString(),
TQString(),
filetype->subtypeRef());
@@ -217,9 +217,9 @@ void FileCreatePart::slotFiletypeSelected(const FileType * filetype) {
openCreatedFile(createdFile);
}
-void FileCreatePart::openCreatedFile(const KDevCreateFile::CreatedFile & createdFile)
+void FileCreatePart::openCreatedFile(const TDevCreateFile::CreatedFile & createdFile)
{
- if ( createdFile.status == KDevCreateFile::CreatedFile::STATUS_OK )
+ if ( createdFile.status == TDevCreateFile::CreatedFile::STATUS_OK )
{
KURL uu( createdFile.dir + "/" + createdFile.filename );
partController()->editDocument ( uu );
@@ -228,7 +228,7 @@ void FileCreatePart::openCreatedFile(const KDevCreateFile::CreatedFile & created
int FileCreatePart::readTypes(const TQDomDocument & dom, TQPtrList<FileType> &m_filetypes, bool enable) {
int numRead = 0;
- TQDomElement fileTypes = DomUtil::elementByPath(dom,"/kdevfilecreate/filetypes");
+ TQDomElement fileTypes = DomUtil::elementByPath(dom,"/tdevfilecreate/filetypes");
if (!fileTypes.isNull()) {
for(TQDomNode node = fileTypes.firstChild();!node.isNull();node=node.nextSibling()) {
@@ -324,16 +324,16 @@ FileType * FileCreatePart::getEnabledType(const TQString & ex, const TQString su
return NULL;
}
-// KDevFileCreate interface
+// TDevFileCreate interface
-KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString dir, TQString name, TQString subtype)
+TDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString dir, TQString name, TQString subtype)
{
- KDevCreateFile::CreatedFile result;
+ TDevCreateFile::CreatedFile result;
KURL projectURL;
if ( !project() )
{
- //result.status = KDevCreateFile::CreatedFile::STATUS_NOTCREATED;
+ //result.status = TDevCreateFile::CreatedFile::STATUS_NOTCREATED;
//return result;
}
else
@@ -373,7 +373,7 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString
int dialogResult = dialog.exec();
if (dialogResult == KDialogBase::Rejected) {
- result.status = KDevCreateFile::CreatedFile::STATUS_CANCELED;
+ result.status = TDevCreateFile::CreatedFile::STATUS_CANCELED;
return result;
}
@@ -383,8 +383,8 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString
selectedURL = dialog.url();
const FileType *selectedFileType = dialog.selectedType();
- if (dialog.addToProject() && !projectURL.isParentOf(selectedURL) && !(project()->options() & KDevProject::UsesTQMakeBuildSystem) ) {
- result.status = KDevCreateFile::CreatedFile::STATUS_NOTWITHINPROJECT;
+ if (dialog.addToProject() && !projectURL.isParentOf(selectedURL) && !(project()->options() & TDevProject::UsesTQMakeBuildSystem) ) {
+ result.status = TDevCreateFile::CreatedFile::STATUS_NOTWITHINPROJECT;
return result;
}
@@ -416,7 +416,7 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString
}
if (!created)
{
- result.status = KDevCreateFile::CreatedFile::STATUS_NOTCREATED;
+ result.status = TDevCreateFile::CreatedFile::STATUS_NOTCREATED;
return result;
}
@@ -425,7 +425,7 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString
// work out the path relative to the project directory
// TQString relToProj = URLUtil::relativePath(projectURL, selectedURL, URLUtil::SLASH_PREFIX );
TQString relToProj;
- if( project()->options() & KDevProject::UsesTQMakeBuildSystem )
+ if( project()->options() & TDevProject::UsesTQMakeBuildSystem )
{
relToProj = URLUtil::relativePathToFile( project()->projectDirectory(), fullPath );
project()->addFile(relToProj);
@@ -445,7 +445,7 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString
result.filename = fileName;
result.dir = URLUtil::directory(fullPath);
- result.status = KDevCreateFile::CreatedFile::STATUS_OK;
+ result.status = TDevCreateFile::CreatedFile::STATUS_OK;
return result;
}
@@ -464,7 +464,7 @@ void FileCreatePart::slotInitialize( )
// read in which global templates are to be used for this project
TQDomElement useGlobalTypes =
- DomUtil::elementByPath(*projectDom(),"/kdevfilecreate/useglobaltypes");
+ DomUtil::elementByPath(*projectDom(),"/tdevfilecreate/useglobaltypes");
for(TQDomNode node = useGlobalTypes.firstChild();
!node.isNull();node=node.nextSibling()) {
@@ -524,7 +524,7 @@ TQString FileCreatePart::findGlobalXMLFile() const
{
int version = 0;
TQString filename;
- TQStringList filenames = TDEGlobal::instance()->dirs()->findAllResources("data", "kdevfilecreate/template-info.xml");
+ TQStringList filenames = TDEGlobal::instance()->dirs()->findAllResources("data", "tdevfilecreate/template-info.xml");
for( TQStringList::const_iterator it = filenames.begin(); it != filenames.end(); ++it )
{
TQDomDocument globalDom;
diff --git a/parts/filecreate/filecreate_part.h b/parts/filecreate/filecreate_part.h
index 9d090493..0b6e5a01 100644
--- a/parts/filecreate/filecreate_part.h
+++ b/parts/filecreate/filecreate_part.h
@@ -10,16 +10,16 @@
-#ifndef __KDEVPART_FILECREATE_H__
-#define __KDEVPART_FILECREATE_H__
+#ifndef __TDEVPART_FILECREATE_H__
+#define __TDEVPART_FILECREATE_H__
#include <tqguardedptr.h>
#include <tqptrlist.h>
#include <tqwidget.h>
-#include <kdevplugin.h>
-#include <kdevcreatefile.h>
+#include <tdevplugin.h>
+#include <tdevcreatefile.h>
#include "filecreate_typechooser.h"
@@ -36,7 +36,7 @@ class ConfigWidgetProxy;
using namespace FileCreate;
-class FileCreatePart : public KDevCreateFile
+class FileCreatePart : public TDevCreateFile
{
Q_OBJECT
@@ -57,7 +57,7 @@ public:
* The user will be prompted as necessary for the missing information, and the
* file created, and added to the project as necessary.
*/
- virtual KDevCreateFile::CreatedFile createNewFile(TQString ext = TQString(),
+ virtual TDevCreateFile::CreatedFile createNewFile(TQString ext = TQString(),
TQString dir = TQString(),
TQString name = TQString(),
TQString subtype = TQString());
@@ -106,7 +106,7 @@ private:
/**
* If a file has been successfully created, open it
*/
- void openCreatedFile(const KDevCreateFile::CreatedFile & createdFile);
+ void openCreatedFile(const TDevCreateFile::CreatedFile & createdFile);
/**
* Reads in file type definitions from a config DOM and adds them
diff --git a/parts/filecreate/filecreate_widget2.cpp b/parts/filecreate/filecreate_widget2.cpp
index 4638725c..d57fbf48 100644
--- a/parts/filecreate/filecreate_widget2.cpp
+++ b/parts/filecreate/filecreate_widget2.cpp
@@ -19,9 +19,9 @@
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevcore.h>
+#include <tdevcore.h>
-#include "kdevproject.h"
+#include "tdevproject.h"
#include "filecreate_part.h"
#include "filecreate_widget2.h"
#include "filecreate_filetype.h"
diff --git a/parts/filecreate/filecreate_widget2.h b/parts/filecreate/filecreate_widget2.h
index 217d37ce..3e4df801 100644
--- a/parts/filecreate/filecreate_widget2.h
+++ b/parts/filecreate/filecreate_widget2.h
@@ -21,7 +21,7 @@
#include "filecreate_typechooser.h"
class TDEIconLoader;
-class KDevProject;
+class TDevProject;
class FileCreatePart;
namespace FileCreate {
diff --git a/parts/filecreate/filecreate_widget3.cpp b/parts/filecreate/filecreate_widget3.cpp
index caf1ac74..e541038c 100644
--- a/parts/filecreate/filecreate_widget3.cpp
+++ b/parts/filecreate/filecreate_widget3.cpp
@@ -18,11 +18,11 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <kiconloader.h>
-#include <kdevcore.h>
+#include <tdevcore.h>
#include "filecreate_widget3.h"
-#include "kdevproject.h"
+#include "tdevproject.h"
#include "filecreate_part.h"
#include "filecreate_filetype.h"
#include "filecreate_listitem.h"
@@ -30,7 +30,7 @@
namespace FileCreate {
ListWidget::ListWidget(FileCreatePart *part)
- : TDEListView(0, "KDevFileCreate"), TypeChooser(part)
+ : TDEListView(0, "TDevFileCreate"), TypeChooser(part)
{
setIcon( SmallIcon("filenew2") );
setCaption(i18n("File Create"));
diff --git a/parts/filecreate/filecreate_widget3.h b/parts/filecreate/filecreate_widget3.h
index ac8b866e..244bf78d 100644
--- a/parts/filecreate/filecreate_widget3.h
+++ b/parts/filecreate/filecreate_widget3.h
@@ -19,7 +19,7 @@
#include "filecreate_typechooser.h"
-class KDevProject;
+class TDevProject;
class FileCreatePart;
class TQResizeEvent;
diff --git a/parts/filecreate/kdevfilecreate.desktop b/parts/filecreate/tdevfilecreate.desktop
index 1861090d..d9accc3c 100644
--- a/parts/filecreate/kdevfilecreate.desktop
+++ b/parts/filecreate/tdevfilecreate.desktop
@@ -30,7 +30,7 @@ Comment[ta]= கோப்பு உருவாக்கப்பட்டது
Comment[tg]=Устои бунёд кардани файлҳо
Comment[zh_CN]=文件创建
Comment[zh_TW]=檔案建立
-Name=KDevFileCreate
+Name=TDevFileCreate
Name[da]=TDevelop filoprettelse
Name[de]=Dateierstellungs-Komponente (TDevelop)
Name[hi]=के-डेव-फ़ाइल-क्रिएट
@@ -71,7 +71,7 @@ GenericName[zh_CN]=文件创建
GenericName[zh_TW]=檔案建立
Icon=wizard
ServiceTypes=TDevelop/CreateFile
-X-TDE-Library=libkdevfilecreate
+X-TDE-Library=libtdevfilecreate
X-TDevelop-Version=5
X-TDevelop-Properties=FileCreation
X-TDevelop-Scope=Core
diff --git a/parts/filecreate/kdevpart_filecreate.rc b/parts/filecreate/tdevpart_filecreate.rc
index 401a1378..09a293ee 100644
--- a/parts/filecreate/kdevpart_filecreate.rc
+++ b/parts/filecreate/tdevpart_filecreate.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui>
-<kpartplugin name="KDevFileCreate" library="libfilecreateplugin" version="3">
+<kpartplugin name="TDevFileCreate" library="libfilecreateplugin" version="3">
<MenuBar>
<Menu name="file">
<Action name="file_new" group="new_merge" />
diff --git a/parts/filecreate/template-info.xml b/parts/filecreate/template-info.xml
index 664fa376..9afd9825 100644
--- a/parts/filecreate/template-info.xml
+++ b/parts/filecreate/template-info.xml
@@ -1,6 +1,6 @@
<?xml version = '1.0'?>
<tdevelop version="1">
- <kdevfilecreate>
+ <tdevfilecreate>
<sidetab active="no">
</sidetab>
<filetypes>
@@ -177,5 +177,5 @@
<descr>A new empty Qt Linguist translation source file.</descr>
</type>
</filetypes>
- </kdevfilecreate>
+ </tdevfilecreate>
</tdevelop>
diff --git a/parts/filelist/CMakeLists.txt b/parts/filelist/CMakeLists.txt
index ac227b5e..7feb3ae1 100644
--- a/parts/filelist/CMakeLists.txt
+++ b/parts/filelist/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES kdevfilelist.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevfilelist.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfilelist )
+install( FILES tdevfilelist.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevfilelist.rc DESTINATION ${DATA_INSTALL_DIR}/tdevfilelist )
-##### libkdevfilelist (module) ##################
+##### libtdevfilelist (module) ##################
-tde_add_kpart( libkdevfilelist AUTOMOC
+tde_add_kpart( libtdevfilelist AUTOMOC
SOURCES
filelist_widget.cpp filelist_item.cpp
projectviewprojectconfigbase.ui
diff --git a/parts/filelist/Makefile.am b/parts/filelist/Makefile.am
index 83e36d19..8652a240 100644
--- a/parts/filelist/Makefile.am
+++ b/parts/filelist/Makefile.am
@@ -1,20 +1,20 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevfilelist.la
-libkdevfilelist_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfilelist_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevfilelist.la
+libtdevfilelist_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfilelist_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfilelist_la_SOURCES = filelist_widget.cpp filelist_item.cpp \
+libtdevfilelist_la_SOURCES = filelist_widget.cpp filelist_item.cpp \
projectviewprojectconfigbase.ui projectviewprojectconfig.cpp projectviewpart.cpp toolbarguibuilder.cpp \
projectviewconfigbase.ui projectviewconfig.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevfilelist.desktop
+service_DATA = tdevfilelist.desktop
-rcdir = $(kde_datadir)/kdevfilelist
+rcdir = $(kde_datadir)/tdevfilelist
noinst_HEADERS = filelist_item.h filelist_widget.h projectviewprojectconfig.h \
projectviewpart.h toolbarguibuilder.h projectviewconfig.h fileinfo.h
-rc_DATA = kdevfilelist.rc
+rc_DATA = tdevfilelist.rc
diff --git a/parts/filelist/filelist_item.h b/parts/filelist/filelist_item.h
index 6b88b09e..2d9322c9 100644
--- a/parts/filelist/filelist_item.h
+++ b/parts/filelist/filelist_item.h
@@ -18,7 +18,7 @@
#include <kurl.h>
-#include <kdevpartcontroller.h>
+#include <tdevpartcontroller.h>
class FileListItem : public TQListViewItem
{
diff --git a/parts/filelist/filelist_widget.cpp b/parts/filelist/filelist_widget.cpp
index 2e415dcd..4b0b2b48 100644
--- a/parts/filelist/filelist_widget.cpp
+++ b/parts/filelist/filelist_widget.cpp
@@ -21,8 +21,8 @@
#include <tdelocale.h>
#include <tdepopupmenu.h>
-#include <kdevcore.h>
-#include <kdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevpartcontroller.h>
#include "projectviewpart.h"
#include "filelist_widget.h"
diff --git a/parts/filelist/filelist_widget.h b/parts/filelist/filelist_widget.h
index b582a309..f1b4de97 100644
--- a/parts/filelist/filelist_widget.h
+++ b/parts/filelist/filelist_widget.h
@@ -17,7 +17,7 @@
#include <tdelistview.h>
#include <kurl.h>
-#include <kdevpartcontroller.h> // for DocumentState
+#include <tdevpartcontroller.h> // for DocumentState
#include <tqstring.h>
#include <tqtooltip.h>
@@ -25,7 +25,7 @@
#include "projectviewpart.h"
-class KDevProject;
+class TDevProject;
class FileListItem;
namespace KParts { class Part; }
diff --git a/parts/filelist/projectviewpart.cpp b/parts/filelist/projectviewpart.cpp
index 517d2f98..76f0c102 100644
--- a/parts/filelist/projectviewpart.cpp
+++ b/parts/filelist/projectviewpart.cpp
@@ -51,28 +51,28 @@
#include <tdeconfig.h>
#include <tdeapplication.h>
-#include <kdevplugininfo.h>
-#include <kdevgenericfactory.h>
-#include <kdevpartcontroller.h>
-#include <kdevproject.h>
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
+#include <tdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevpartcontroller.h>
+#include <tdevproject.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
#include <configwidgetproxy.h>
-typedef KDevGenericFactory<ProjectviewPart> projectviewFactory;
-KDevPluginInfo data("kdevfilelist");
-K_EXPORT_COMPONENT_FACTORY(libkdevfilelist, projectviewFactory(data))
+typedef TDevGenericFactory<ProjectviewPart> projectviewFactory;
+TDevPluginInfo data("tdevfilelist");
+K_EXPORT_COMPONENT_FACTORY(libtdevfilelist, projectviewFactory(data))
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
ProjectviewPart::ProjectviewPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
- : KDevPlugin(&data, parent, name ? name : "FileListPart")
+ : TDevPlugin(&data, parent, name ? name : "FileListPart")
{
setInstance(projectviewFactory::instance());
- setXMLFile("kdevfilelist.rc");
+ setXMLFile("tdevfilelist.rc");
setupActions();
m_configProxy = new ConfigWidgetProxy(core());
diff --git a/parts/filelist/projectviewpart.h b/parts/filelist/projectviewpart.h
index 392a9cdf..72c6efcd 100644
--- a/parts/filelist/projectviewpart.h
+++ b/parts/filelist/projectviewpart.h
@@ -18,8 +18,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef KDEVPROJECTVIEW_H
-#define KDEVPROJECTVIEW_H
+#ifndef TDEVPROJECTVIEW_H
+#define TDEVPROJECTVIEW_H
#include "fileinfo.h"
@@ -27,7 +27,7 @@
#include <tqmap.h>
#include <tqguardedptr.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <kurl.h>
@@ -53,7 +53,7 @@ this is a reimplementation of the project views in Quanta
@TODO save html parts too
FIXME at project open I get the default view and the open files at last close
*/
-class ProjectviewPart: public KDevPlugin
+class ProjectviewPart: public TDevPlugin
{
Q_OBJECT
@@ -66,7 +66,7 @@ public:
ProjectviewPart(TQObject *parent, const char *name, const TQStringList &args);
~ProjectviewPart();
- // reimplemented from KDevPlugin
+ // reimplemented from TDevPlugin
void restorePartialProjectSession(const TQDomElement * el);
void savePartialProjectSession(TQDomElement * el);
diff --git a/parts/filelist/kdevfilelist.desktop b/parts/filelist/tdevfilelist.desktop
index da37f14b..17a20ad6 100644
--- a/parts/filelist/kdevfilelist.desktop
+++ b/parts/filelist/tdevfilelist.desktop
@@ -71,6 +71,6 @@ GenericName[zh_TW]=檔案列表
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Global
-X-TDE-Library=libkdevfilelist
+X-TDE-Library=libtdevfilelist
X-TDevelop-Version=5
X-TDevelop-Properties=OpenFileNavigation
diff --git a/parts/filelist/kdevfilelist.rc b/parts/filelist/tdevfilelist.rc
index 5ab5de7c..5ab5de7c 100644
--- a/parts/filelist/kdevfilelist.rc
+++ b/parts/filelist/tdevfilelist.rc
diff --git a/parts/fileselector/CMakeLists.txt b/parts/fileselector/CMakeLists.txt
index 8f18792e..b310f791 100644
--- a/parts/fileselector/CMakeLists.txt
+++ b/parts/fileselector/CMakeLists.txt
@@ -27,12 +27,12 @@ link_directories(
##### other data ################################
-install( FILES kdevfileselector.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevfileselector.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevfileselector (module) ##############
+##### libtdevfileselector (module) ##############
-tde_add_kpart( libkdevfileselector AUTOMOC
+tde_add_kpart( libtdevfileselector AUTOMOC
SOURCES
fileselector_part.cpp fileselector_widget.cpp
tdeactionselector.cpp kbookmarkhandler.cpp
diff --git a/parts/fileselector/Makefile.am b/parts/fileselector/Makefile.am
index f0c2fc35..43ee404b 100644
--- a/parts/fileselector/Makefile.am
+++ b/parts/fileselector/Makefile.am
@@ -2,17 +2,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/sourceinfo $(all_includes)
-kde_module_LTLIBRARIES = libkdevfileselector.la
-libkdevfileselector_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfileselector_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevfileselector.la
+libtdevfileselector_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfileselector_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfileselector_la_SOURCES = fileselector_part.cpp fileselector_widget.cpp tdeactionselector.cpp kbookmarkhandler.cpp
+libtdevfileselector_la_SOURCES = fileselector_part.cpp fileselector_widget.cpp tdeactionselector.cpp kbookmarkhandler.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevfileselector.desktop
+service_DATA = tdevfileselector.desktop
# not used currently
-#rcdir = $(kde_datadir)/kdevfileselector
-#rc_DATA = kdevfileselector.rc
+#rcdir = $(kde_datadir)/tdevfileselector
+#rc_DATA = tdevfileselector.rc
diff --git a/parts/fileselector/fileselector_part.cpp b/parts/fileselector/fileselector_part.cpp
index a6b4a6bb..331bb639 100644
--- a/parts/fileselector/fileselector_part.cpp
+++ b/parts/fileselector/fileselector_part.cpp
@@ -13,33 +13,33 @@
#include <ktextbrowser.h>
#include <tdeconfig.h>
#include <tdefileitem.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdediroperator.h>
#include <kdialogbase.h>
#include <tdemessagebox.h>
-#include <kdevapi.h>
-#include <kdevcore.h>
-#include <kdevproject.h>
-#include <kdevmainwindow.h>
-#include <kdevpartcontroller.h>
-#include <kdevplugininfo.h>
-#include <kdevcreatefile.h>
+#include <tdevapi.h>
+#include <tdevcore.h>
+#include <tdevproject.h>
+#include <tdevmainwindow.h>
+#include <tdevpartcontroller.h>
+#include <tdevplugininfo.h>
+#include <tdevcreatefile.h>
#include <ktip.h>
#include "fileselector_widget.h"
-typedef KDevGenericFactory<FileSelectorPart> FileSelectorFactory;
-static const KDevPluginInfo data("kdevfileselector");
-K_EXPORT_COMPONENT_FACTORY( libkdevfileselector, FileSelectorFactory( data ) )
+typedef TDevGenericFactory<FileSelectorPart> FileSelectorFactory;
+static const TDevPluginInfo data("tdevfileselector");
+K_EXPORT_COMPONENT_FACTORY( libtdevfileselector, FileSelectorFactory( data ) )
FileSelectorPart::FileSelectorPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "FileSelectorPart")
+ : TDevPlugin(&data, parent, name ? name : "FileSelectorPart")
{
setInstance(FileSelectorFactory::instance());
- m_filetree = new KDevFileSelector( this, mainWindow(), partController(), 0, "fileselectorwidget" );
+ m_filetree = new TDevFileSelector( this, mainWindow(), partController(), 0, "fileselectorwidget" );
connect( m_filetree->dirOperator(), TQT_SIGNAL(fileSelected(const KFileItem*)),
this, TQT_SLOT(fileSelected(const KFileItem*)));
@@ -63,7 +63,7 @@ FileSelectorPart::~FileSelectorPart()
mainWindow()->removeView( m_filetree );
}
- delete (KDevFileSelector*) m_filetree;
+ delete (TDevFileSelector*) m_filetree;
}
void FileSelectorPart::fileSelected( const KFileItem * file )
@@ -90,14 +90,14 @@ void FileSelectorPart::slotConfigWidget( KDialogBase * dlg )
void FileSelectorPart::newFile()
{
- KDevCreateFile *creator = extension<KDevCreateFile>("TDevelop/CreateFile");
+ TDevCreateFile *creator = extension<TDevCreateFile>("TDevelop/CreateFile");
if (creator)
{
- KDevCreateFile::CreatedFile file = creator->createNewFile("",
+ TDevCreateFile::CreatedFile file = creator->createNewFile("",
m_filetree->dirOperator()->url().path());
- if (file.status == KDevCreateFile::CreatedFile::STATUS_NOTCREATED)
+ if (file.status == TDevCreateFile::CreatedFile::STATUS_NOTCREATED)
KMessageBox::error(0, i18n("Cannot create file. Check whether the directory and filename are valid."));
- else if (file.status != KDevCreateFile::CreatedFile::STATUS_CANCELED)
+ else if (file.status != TDevCreateFile::CreatedFile::STATUS_CANCELED)
{
partController()->editDocument(KURL::fromPathOrURL(
file.dir + "/" + file.filename));
diff --git a/parts/fileselector/fileselector_part.h b/parts/fileselector/fileselector_part.h
index f415444d..80841deb 100644
--- a/parts/fileselector/fileselector_part.h
+++ b/parts/fileselector/fileselector_part.h
@@ -1,17 +1,17 @@
-#ifndef __KDEVPART_FILESELECTOR_H__
-#define __KDEVPART_FILESELECTOR_H__
+#ifndef __TDEVPART_FILESELECTOR_H__
+#define __TDEVPART_FILESELECTOR_H__
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <kdialogbase.h>
#include <tdefileitem.h>
#include <tqguardedptr.h>
-class KDevFileSelector;
+class TDevFileSelector;
class KDialogBase;
-class FileSelectorPart : public KDevPlugin
+class FileSelectorPart : public TDevPlugin
{
Q_OBJECT
@@ -33,7 +33,7 @@ private slots:
void slotConfigWidget( KDialogBase * );
private:
- TQGuardedPtr<KDevFileSelector> m_filetree;
+ TQGuardedPtr<TDevFileSelector> m_filetree;
TDEAction *m_newFileAction;
};
diff --git a/parts/fileselector/fileselector_widget.cpp b/parts/fileselector/fileselector_widget.cpp
index 894bf185..1d6fb154 100644
--- a/parts/fileselector/fileselector_widget.cpp
+++ b/parts/fileselector/fileselector_widget.cpp
@@ -26,9 +26,9 @@
#include "tdeactionselector.h"
#include "kbookmarkhandler.h"
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
-#include <kdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
+#include <tdevpartcontroller.h>
#include <tqlayout.h>
#include <tqtoolbutton.h>
@@ -76,32 +76,32 @@ static void silenceTQToolBar(TQtMsgType, const char *)
{}
-KDevFileSelectorToolBar::KDevFileSelectorToolBar(TQWidget *parent)
+TDevFileSelectorToolBar::TDevFileSelectorToolBar(TQWidget *parent)
: TDEToolBar( parent, "KDev FileSelector Toolbar", true )
{
setMinimumWidth(10);
}
-KDevFileSelectorToolBar::~KDevFileSelectorToolBar()
+TDevFileSelectorToolBar::~TDevFileSelectorToolBar()
{}
-void KDevFileSelectorToolBar::setMovingEnabled( bool)
+void TDevFileSelectorToolBar::setMovingEnabled( bool)
{
TDEToolBar::setMovingEnabled(false);
}
-KDevFileSelectorToolBarParent::KDevFileSelectorToolBarParent(TQWidget *parent)
+TDevFileSelectorToolBarParent::TDevFileSelectorToolBarParent(TQWidget *parent)
:TQFrame(parent),m_tb(0)
{}
-KDevFileSelectorToolBarParent::~KDevFileSelectorToolBarParent()
+TDevFileSelectorToolBarParent::~TDevFileSelectorToolBarParent()
{}
-void KDevFileSelectorToolBarParent::setToolBar(KDevFileSelectorToolBar *tb)
+void TDevFileSelectorToolBarParent::setToolBar(TDevFileSelectorToolBar *tb)
{
m_tb=tb;
}
-void KDevFileSelectorToolBarParent::resizeEvent ( TQResizeEvent * )
+void TDevFileSelectorToolBarParent::resizeEvent ( TQResizeEvent * )
{
if (m_tb)
{
@@ -113,8 +113,8 @@ void KDevFileSelectorToolBarParent::resizeEvent ( TQResizeEvent * )
//BEGIN Constructor/destructor
-KDevFileSelector::KDevFileSelector( FileSelectorPart *part, KDevMainWindow *mainWindow,
- KDevPartController *partController,
+TDevFileSelector::TDevFileSelector( FileSelectorPart *part, TDevMainWindow *mainWindow,
+ TDevPartController *partController,
TQWidget * parent, const char * name )
: TQWidget(parent, name),
m_part(part),
@@ -127,8 +127,8 @@ KDevFileSelector::KDevFileSelector( FileSelectorPart *part, KDevMainWindow *main
TQtMsgHandler oldHandler = tqInstallMsgHandler( silenceTQToolBar );
- KDevFileSelectorToolBarParent *tbp=new KDevFileSelectorToolBarParent(this);
- toolbar = new KDevFileSelectorToolBar(tbp);
+ TDevFileSelectorToolBarParent *tbp=new TDevFileSelectorToolBarParent(this);
+ toolbar = new TDevFileSelectorToolBar(tbp);
tbp->setToolBar(toolbar);
lo->addWidget(tbp);
toolbar->setMovingEnabled(false);
@@ -142,7 +142,7 @@ KDevFileSelector::KDevFileSelector( FileSelectorPart *part, KDevMainWindow *main
lo->addWidget(cmbPath);
cmbPath->listBox()->installEventFilter( this );
- dir = new KDevDirOperator(m_part, KURL(), this, "operator");
+ dir = new TDevDirOperator(m_part, KURL(), this, "operator");
dir->setView(KFile::/*Simple*/Detail);
TDEActionCollection *coll = dir->actionCollection();
@@ -229,7 +229,7 @@ KDevFileSelector::KDevFileSelector( FileSelectorPart *part, KDevMainWindow *main
"reapplies the last filter used when toggled on.") );
}
-KDevFileSelector::~KDevFileSelector()
+TDevFileSelector::~TDevFileSelector()
{
writeConfig( m_part->instance()->config(), "fileselector" );
}
@@ -237,7 +237,7 @@ KDevFileSelector::~KDevFileSelector()
//BEGIN Public Methods
-void KDevFileSelector::readConfig(TDEConfig *config, const TQString & name)
+void TDevFileSelector::readConfig(TDEConfig *config, const TQString & name)
{
dir->readConfig(config, name + ":dir");
dir->setView( KFile::Default );
@@ -283,12 +283,12 @@ void KDevFileSelector::readConfig(TDEConfig *config, const TQString & name)
}
-void KDevFileSelector::initialDirChangeHack()
+void TDevFileSelector::initialDirChangeHack()
{
setDir( waitingDir );
}
-void KDevFileSelector::setupToolbar( TDEConfig *config )
+void TDevFileSelector::setupToolbar( TDEConfig *config )
{
toolbar->clear();
TQStringList tbactions = config->readListEntry( "toolbar actions", ',' );
@@ -311,7 +311,7 @@ void KDevFileSelector::setupToolbar( TDEConfig *config )
}
}
-void KDevFileSelector::writeConfig(TDEConfig *config, const TQString & name)
+void TDevFileSelector::writeConfig(TDEConfig *config, const TQString & name)
{
dir->writeConfig(config,name + ":dir");
@@ -332,7 +332,7 @@ void KDevFileSelector::writeConfig(TDEConfig *config, const TQString & name)
config->writeEntry( "AutoSyncEvents", autoSyncEvents );
}
-void KDevFileSelector::setView(KFile::FileView view)
+void TDevFileSelector::setView(KFile::FileView view)
{
dir->setView(view);
}
@@ -341,7 +341,7 @@ void KDevFileSelector::setView(KFile::FileView view)
//BEGIN Public Slots
-void KDevFileSelector::slotFilterChange( const TQString & nf )
+void TDevFileSelector::slotFilterChange( const TQString & nf )
{
TQToolTip::remove( btnFilter );
TQString f = nf.stripWhiteSpace();
@@ -371,7 +371,7 @@ void KDevFileSelector::slotFilterChange( const TQString & nf )
btnFilter->setEnabled( !( empty && lastFilter.isEmpty() ) );
}
-void KDevFileSelector::setDir( KURL u )
+void TDevFileSelector::setDir( KURL u )
{
dir->setURL(u, true);
}
@@ -380,12 +380,12 @@ void KDevFileSelector::setDir( KURL u )
//BEGIN Private Slots
-void KDevFileSelector::cmbPathActivated( const KURL& u )
+void TDevFileSelector::cmbPathActivated( const KURL& u )
{
cmbPathReturnPressed( u.url() );
}
-void KDevFileSelector::cmbPathReturnPressed( const TQString& u )
+void TDevFileSelector::cmbPathReturnPressed( const TQString& u )
{
TQStringList urls = cmbPath->urls();
urls.remove( u );
@@ -395,12 +395,12 @@ void KDevFileSelector::cmbPathReturnPressed( const TQString& u )
dir->setURL( KURL(u), true );
}
-void KDevFileSelector::dirUrlEntered( const KURL& u )
+void TDevFileSelector::dirUrlEntered( const KURL& u )
{
cmbPath->setURL( u );
}
-void KDevFileSelector::dirFinishedLoading()
+void TDevFileSelector::dirFinishedLoading()
{}
@@ -411,7 +411,7 @@ void KDevFileSelector::dirFinishedLoading()
If on:
Set last filter.
*/
-void KDevFileSelector::btnFilterClick()
+void TDevFileSelector::btnFilterClick()
{
if ( !btnFilter->isOn() )
{
@@ -425,9 +425,9 @@ void KDevFileSelector::btnFilterClick()
}
-void KDevFileSelector::autoSync()
+void TDevFileSelector::autoSync()
{
- kdDebug()<<"KDevFileSelector::autoSync()"<<endl;
+ kdDebug()<<"TDevFileSelector::autoSync()"<<endl;
// if visible, sync
if ( isVisible() )
{
@@ -443,14 +443,14 @@ void KDevFileSelector::autoSync()
}
}
-void KDevFileSelector::autoSync( KParts::Part *part )
+void TDevFileSelector::autoSync( KParts::Part *part )
{
KTextEditor::Document* doc = dynamic_cast<KTextEditor::Document*>( part );
if( !doc )
return;
// as above, but using document url.
- kdDebug()<<"KDevFileSelector::autoSync( KTextEditor::Document )"<<endl;
+ kdDebug()<<"TDevFileSelector::autoSync( KTextEditor::Document )"<<endl;
KURL u ( doc->url() );
if ( u.isEmpty() )
{
@@ -468,15 +468,15 @@ void KDevFileSelector::autoSync( KParts::Part *part )
}
}
/// \FIXME crash on shutdown
-void KDevFileSelector::setActiveDocumentDir()
+void TDevFileSelector::setActiveDocumentDir()
{
- //kdDebug()<<"KDevFileSelector::setActiveDocumentDir()"<<endl;
+ //kdDebug()<<"TDevFileSelector::setActiveDocumentDir()"<<endl;
KURL u = activeDocumentUrl();
if (!u.isEmpty())
setDir( u.upURL() );
}
-void KDevFileSelector::viewChanged()
+void TDevFileSelector::viewChanged()
{
/// @todo make sure the button is disabled if the directory is unreadable, eg
/// the document URL has protocol http
@@ -487,12 +487,12 @@ void KDevFileSelector::viewChanged()
//BEGIN Protected
-void KDevFileSelector::focusInEvent( TQFocusEvent * )
+void TDevFileSelector::focusInEvent( TQFocusEvent * )
{
dir->setFocus();
}
-void KDevFileSelector::showEvent( TQShowEvent * )
+void TDevFileSelector::showEvent( TQShowEvent * )
{
// sync if we should
if ( autoSyncEvents & GotVisible )
@@ -509,7 +509,7 @@ void KDevFileSelector::showEvent( TQShowEvent * )
}
}
-bool KDevFileSelector::eventFilter( TQObject* o, TQEvent *e )
+bool TDevFileSelector::eventFilter( TQObject* o, TQEvent *e )
{
/*
This is rather unfortunate, but:
@@ -559,7 +559,7 @@ private:
TQString _str;
};
-KURL KDevFileSelector::activeDocumentUrl( )
+KURL TDevFileSelector::activeDocumentUrl( )
{
KParts::ReadOnlyPart * part = dynamic_cast<KParts::ReadOnlyPart*>( partController->activePart() );
if ( part )
@@ -575,7 +575,7 @@ KURL KDevFileSelector::activeDocumentUrl( )
////////////////////////////////////////////////////////////////////////////////
// KFSConfigPage implementation
////////////////////////////////////////////////////////////////////////////////
-KFSConfigPage::KFSConfigPage( TQWidget *parent, const char *name, KDevFileSelector *kfs )
+KFSConfigPage::KFSConfigPage( TQWidget *parent, const char *name, TDevFileSelector *kfs )
: TQWidget( parent, name ),
fileSelector( kfs ),
bDirty( false )
@@ -706,20 +706,20 @@ void KFSConfigPage::apply()
// sync
int s = 0;
if ( cbSyncActive->isChecked() )
- s |= KDevFileSelector::DocumentChanged;
+ s |= TDevFileSelector::DocumentChanged;
if ( cbSyncOpen->isChecked() )
- s |= KDevFileSelector::DocumentOpened;
+ s |= TDevFileSelector::DocumentOpened;
if ( cbSyncShow->isChecked() )
- s |= KDevFileSelector::GotVisible;
+ s |= TDevFileSelector::GotVisible;
fileSelector->autoSyncEvents = s;
// reset connections
disconnect( fileSelector->partController, 0, fileSelector, TQT_SLOT( autoSync() ) );
disconnect( fileSelector->partController, 0,
fileSelector, TQT_SLOT( autoSync( KParts::Part *) ) );
- if ( s & KDevFileSelector::DocumentChanged )
+ if ( s & TDevFileSelector::DocumentChanged )
connect( fileSelector->partController, TQT_SIGNAL( viewChanged() ),
fileSelector, TQT_SLOT( autoSync() ) );
- if ( s & KDevFileSelector::DocumentOpened )
+ if ( s & TDevFileSelector::DocumentOpened )
connect( fileSelector->partController,
TQT_SIGNAL( partAdded(KParts::Part *) ),
fileSelector, TQT_SLOT( autoSync(KParts::Part *) ) );
@@ -773,9 +773,9 @@ void KFSConfigPage::init()
// sync
int s = fileSelector->autoSyncEvents;
- cbSyncActive->setChecked( s & KDevFileSelector::DocumentChanged );
- cbSyncOpen->setChecked( s & KDevFileSelector::DocumentOpened );
- cbSyncShow->setChecked( s & KDevFileSelector::GotVisible );
+ cbSyncActive->setChecked( s & TDevFileSelector::DocumentChanged );
+ cbSyncOpen->setChecked( s & TDevFileSelector::DocumentOpened );
+ cbSyncShow->setChecked( s & TDevFileSelector::GotVisible );
// histories
sbPathHistLength->setValue( fileSelector->cmbPath->maxItems() );
sbFilterHistLength->setValue( fileSelector->filter->maxCount() );
@@ -791,9 +791,9 @@ void KFSConfigPage::slotChanged()
//END KFSConfigPage
-//BEGIN KDevDirOperator
+//BEGIN TDevDirOperator
-void KDevDirOperator::activatedMenu( const KFileItem *fi, const TQPoint & pos )
+void TDevDirOperator::activatedMenu( const KFileItem *fi, const TQPoint & pos )
{
setupMenu();
updateSelectionDependentActions();
@@ -816,6 +816,6 @@ void KDevDirOperator::activatedMenu( const KFileItem *fi, const TQPoint & pos )
popup->popup(pos);
}
-//END KDevDirOperator
+//END TDevDirOperator
#include "fileselector_widget.moc"
diff --git a/parts/fileselector/fileselector_widget.h b/parts/fileselector/fileselector_widget.h
index ef64f88c..1c30eadd 100644
--- a/parts/fileselector/fileselector_widget.h
+++ b/parts/fileselector/fileselector_widget.h
@@ -29,8 +29,8 @@
#include <tqframe.h>
#include <tdediroperator.h>
-class KDevMainWindow;
-class KDevPartController;
+class TDevMainWindow;
+class TDevPartController;
class FileSelectorPart;
class TDEActionCollection;
class TDEActionSelector;
@@ -57,39 +57,39 @@ namespace KTextEditor
*/
/* I think this fix for not moving toolbars is better */
-class KDevFileSelectorToolBar: public TDEToolBar
+class TDevFileSelectorToolBar: public TDEToolBar
{
Q_OBJECT
public:
- KDevFileSelectorToolBar(TQWidget *parent);
- virtual ~KDevFileSelectorToolBar();
+ TDevFileSelectorToolBar(TQWidget *parent);
+ virtual ~TDevFileSelectorToolBar();
virtual void setMovingEnabled( bool b );
};
-class KDevFileSelectorToolBarParent: public TQFrame
+class TDevFileSelectorToolBarParent: public TQFrame
{
Q_OBJECT
public:
- KDevFileSelectorToolBarParent(TQWidget *parent);
- ~KDevFileSelectorToolBarParent();
- void setToolBar(KDevFileSelectorToolBar *tb);
+ TDevFileSelectorToolBarParent(TQWidget *parent);
+ ~TDevFileSelectorToolBarParent();
+ void setToolBar(TDevFileSelectorToolBar *tb);
private:
- KDevFileSelectorToolBar *m_tb;
+ TDevFileSelectorToolBar *m_tb;
protected:
virtual void resizeEvent ( TQResizeEvent * );
};
-class KDevDirOperator: public KDirOperator
+class TDevDirOperator: public KDirOperator
{
Q_OBJECT
public:
- KDevDirOperator(FileSelectorPart *part, const KURL &urlName=KURL(), TQWidget *parent=0, const char *name=0)
+ TDevDirOperator(FileSelectorPart *part, const KURL &urlName=KURL(), TQWidget *parent=0, const char *name=0)
:KDirOperator(urlName, parent, name), m_part(part)
{
}
@@ -101,7 +101,7 @@ private:
FileSelectorPart *m_part;
};
-class KDevFileSelector : public TQWidget
+class TDevFileSelector : public TQWidget
{
Q_OBJECT
@@ -112,15 +112,15 @@ public:
/* When to sync to current document directory */
enum AutoSyncEvent { DocumentChanged=1, DocumentOpened=2, GotVisible=4 };
- KDevFileSelector( FileSelectorPart *part, KDevMainWindow *mainWindow=0, KDevPartController *partController=0,
+ TDevFileSelector( FileSelectorPart *part, TDevMainWindow *mainWindow=0, TDevPartController *partController=0,
TQWidget * parent = 0, const char * name = 0 );
- ~KDevFileSelector();
+ ~TDevFileSelector();
void readConfig( TDEConfig *, const TQString & );
void writeConfig( TDEConfig *, const TQString & );
void setupToolbar( TDEConfig * );
void setView( KFile::FileView );
- KDevDirOperator *dirOperator(){ return dir; }
+ TDevDirOperator *dirOperator(){ return dir; }
TDEActionCollection *actionCollection() { return mActionCollection; };
public slots:
@@ -146,18 +146,18 @@ protected:
KURL activeDocumentUrl();
private:
- class KDevFileSelectorToolBar *toolbar;
+ class TDevFileSelectorToolBar *toolbar;
TDEActionCollection *mActionCollection;
class KBookmarkHandler *bookmarkHandler;
KURLComboBox *cmbPath;
- KDevDirOperator * dir;
+ TDevDirOperator * dir;
class TDEAction *acSyncDir;
KHistoryCombo * filter;
class TQToolButton *btnFilter;
FileSelectorPart *m_part;
- KDevMainWindow *mainwin;
- KDevPartController *partController;
+ TDevMainWindow *mainwin;
+ TDevPartController *partController;
TQString lastFilter;
int autoSyncEvents; // enabled autosync events
@@ -183,7 +183,7 @@ class KFSConfigPage : public TQWidget
Q_OBJECT
public:
- KFSConfigPage( TQWidget* parent=0, const char *name=0, KDevFileSelector *kfs=0);
+ KFSConfigPage( TQWidget* parent=0, const char *name=0, TDevFileSelector *kfs=0);
virtual ~KFSConfigPage() {};
public slots:
@@ -194,7 +194,7 @@ public slots:
private:
void init();
- KDevFileSelector *fileSelector;
+ TDevFileSelector *fileSelector;
bool bDirty;
//class TQListBox *lbAvailableActions, *lbUsedActions;
TDEActionSelector *acSel;
diff --git a/parts/fileselector/kbookmarkhandler.cpp b/parts/fileselector/kbookmarkhandler.cpp
index 935b9d86..059f0d78 100644
--- a/parts/fileselector/kbookmarkhandler.cpp
+++ b/parts/fileselector/kbookmarkhandler.cpp
@@ -35,7 +35,7 @@
#include "kbookmarkhandler.moc"
-KBookmarkHandler::KBookmarkHandler( KDevFileSelector *parent, TDEPopupMenu* tdepopupmenu )
+KBookmarkHandler::KBookmarkHandler( TDevFileSelector *parent, TDEPopupMenu* tdepopupmenu )
: TQObject( parent, "KBookmarkHandler" ),
KBookmarkOwner(),
mParent( parent ),
@@ -45,9 +45,9 @@ KBookmarkHandler::KBookmarkHandler( KDevFileSelector *parent, TDEPopupMenu* tdep
if (!m_menu)
m_menu = new TDEPopupMenu( parent, "bookmark menu" );
- TQString file = locate( "data", "kdevfileselector/fsbookmarks.xml" );
+ TQString file = locate( "data", "tdevfileselector/fsbookmarks.xml" );
if ( file.isEmpty() )
- file = locateLocal( "data", "kdevfileselector/fsbookmarks.xml" );
+ file = locateLocal( "data", "tdevfileselector/fsbookmarks.xml" );
KBookmarkManager *manager = KBookmarkManager::managerForFile( file, false);
manager->setUpdate( true );
diff --git a/parts/fileselector/kbookmarkhandler.h b/parts/fileselector/kbookmarkhandler.h
index 4ec065aa..7d232107 100644
--- a/parts/fileselector/kbookmarkhandler.h
+++ b/parts/fileselector/kbookmarkhandler.h
@@ -34,7 +34,7 @@ class KBookmarkHandler : public TQObject, public KBookmarkOwner
public:
- KBookmarkHandler( KDevFileSelector *parent, TDEPopupMenu *tdepopupmenu=0 );
+ KBookmarkHandler( TDevFileSelector *parent, TDEPopupMenu *tdepopupmenu=0 );
~KBookmarkHandler();
// KBookmarkOwner interface:
@@ -58,7 +58,7 @@ protected:
virtual void virtual_hook( int id, void* data );
private:
- KDevFileSelector *mParent;
+ TDevFileSelector *mParent;
TDEPopupMenu *m_menu;
KBookmarkMenu *m_bookmarkMenu;
diff --git a/parts/fileselector/kdevfileselector.desktop b/parts/fileselector/tdevfileselector.desktop
index 785db621..a1d13627 100644
--- a/parts/fileselector/kdevfileselector.desktop
+++ b/parts/fileselector/tdevfileselector.desktop
@@ -33,7 +33,7 @@ Comment[tg]=Воситаи намоиши файлҳо бо тарафдории
Comment[tr]=Güçlü, ağdan saydam, dosya gözatma yardımcı programı
Comment[zh_CN]=强有力的网络文件浏览工具。
Comment[zh_TW]=強大的網路檔案瀏覽工具。
-Name=KDevFileSelector
+Name=TDevFileSelector
Name[da]=TDevelop filvælger
Name[de]=Datei-Selektor (TDevelop)
Name[hi]=के-डेव-फ़ाइल-चयनक
@@ -82,7 +82,7 @@ GenericName[zh_CN]=文件选择器
GenericName[zh_TW]=檔案選擇器
Icon=fileopen
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevfileselector
+X-TDE-Library=libtdevfileselector
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Mode=AssistantMode
diff --git a/parts/fileselector/kdevpart_fileselector.rc b/parts/fileselector/tdevpart_fileselector.rc
index 940e2ab2..940e2ab2 100644
--- a/parts/fileselector/kdevpart_fileselector.rc
+++ b/parts/fileselector/tdevpart_fileselector.rc
diff --git a/parts/fileview/CMakeLists.txt b/parts/fileview/CMakeLists.txt
index 4f5f87dc..49539df2 100644
--- a/parts/fileview/CMakeLists.txt
+++ b/parts/fileview/CMakeLists.txt
@@ -28,13 +28,13 @@ link_directories(
##### other data ################################
install( FILES
- kdevfileview.desktop kdevfilegroups.desktop
+ tdevfileview.desktop tdevfilegroups.desktop
DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevfileview (module) ##################
+##### libtdevfileview (module) ##################
-tde_add_kpart( libkdevfileview AUTOMOC
+tde_add_kpart( libtdevfileview AUTOMOC
SOURCES
fileviewpart.cpp filetreewidget.cpp partwidget.cpp
vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp
@@ -45,9 +45,9 @@ tde_add_kpart( libkdevfileview AUTOMOC
)
-##### libkdevfilegroups (module) ################
+##### libtdevfilegroups (module) ################
-tde_add_kpart( libkdevfilegroups AUTOMOC
+tde_add_kpart( libtdevfilegroups AUTOMOC
SOURCES
filegroupswidget.cpp addfilegroupdlg.cpp
filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui
diff --git a/parts/fileview/Makefile.am b/parts/fileview/Makefile.am
index 3211d736..76f1460b 100644
--- a/parts/fileview/Makefile.am
+++ b/parts/fileview/Makefile.am
@@ -3,24 +3,24 @@
INCLUDES = -I$(top_srcdir)/lib/compat -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevfileview.la libkdevfilegroups.la
+kde_module_LTLIBRARIES = libtdevfileview.la libtdevfilegroups.la
-libkdevfileview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfileview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+libtdevfileview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfileview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfilegroups_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfilegroups_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+libtdevfilegroups_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfilegroups_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfileview_la_SOURCES = fileviewpart.cpp filetreewidget.cpp partwidget.cpp vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp stdfiletreewidgetimpl.cpp filetreeviewwidgetimpl.cpp vcsfiletreewidgetimpl.cpp fileitemfactory.cpp
+libtdevfileview_la_SOURCES = fileviewpart.cpp filetreewidget.cpp partwidget.cpp vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp stdfiletreewidgetimpl.cpp filetreeviewwidgetimpl.cpp vcsfiletreewidgetimpl.cpp fileitemfactory.cpp
-libkdevfilegroups_la_SOURCES = filegroupswidget.cpp addfilegroupdlg.cpp filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui filegroupspart.cpp
+libtdevfilegroups_la_SOURCES = filegroupswidget.cpp addfilegroupdlg.cpp filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui filegroupspart.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevfileview.desktop kdevfilegroups.desktop
+service_DATA = tdevfileview.desktop tdevfilegroups.desktop
# not used currently
-#rcdir = $(kde_datadir)/kdevfileview
-#rc_DATA = kdevfileview.rc
+#rcdir = $(kde_datadir)/tdevfileview
+#rc_DATA = tdevfileview.rc
noinst_HEADERS = vcscolorsconfigwidget.h stdfiletreewidgetimpl.h filetreeviewwidgetimpl.h vcsfiletreewidgetimpl.h fileitemfactory.h
diff --git a/parts/fileview/filegroupsconfigwidget.cpp b/parts/fileview/filegroupsconfigwidget.cpp
index 4f8fe422..bf8d39a6 100644
--- a/parts/fileview/filegroupsconfigwidget.cpp
+++ b/parts/fileview/filegroupsconfigwidget.cpp
@@ -39,7 +39,7 @@ FileGroupsConfigWidget::~FileGroupsConfigWidget()
void FileGroupsConfigWidget::readConfig()
{
TQDomDocument &dom = *m_part->projectDom();
- DomUtil::PairList list = DomUtil::readPairListEntry(dom, "/kdevfileview/groups",
+ DomUtil::PairList list = DomUtil::readPairListEntry(dom, "/tdevfileview/groups",
"group", "name", "pattern");
TQListViewItem *lastItem = 0;
@@ -64,7 +64,7 @@ void FileGroupsConfigWidget::storeConfig()
item = item->nextSibling();
}
- DomUtil::writePairListEntry(*m_part->projectDom(), "/kdevfileview/groups",
+ DomUtil::writePairListEntry(*m_part->projectDom(), "/tdevfileview/groups",
"group", "name", "pattern", list);
}
diff --git a/parts/fileview/filegroupspart.cpp b/parts/fileview/filegroupspart.cpp
index 77fc9646..7b83b8ef 100644
--- a/parts/fileview/filegroupspart.cpp
+++ b/parts/fileview/filegroupspart.cpp
@@ -19,25 +19,25 @@
#include <kdebug.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kdialogbase.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
-#include "kdevplugininfo.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
+#include "tdevplugininfo.h"
#include "filegroupswidget.h"
#include "filegroupsconfigwidget.h"
#define FILEGROUPS_OPTIONS 1
-typedef KDevGenericFactory<FileGroupsPart> FileGroupsFactory;
-static const KDevPluginInfo data("kdevfilegroups");
-K_EXPORT_COMPONENT_FACTORY( libkdevfilegroups, FileGroupsFactory( data ) )
+typedef TDevGenericFactory<FileGroupsPart> FileGroupsFactory;
+static const TDevPluginInfo data("tdevfilegroups");
+K_EXPORT_COMPONENT_FACTORY( libtdevfilegroups, FileGroupsFactory( data ) )
FileGroupsPart::FileGroupsPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "FileGroupsPart")
+ : TDevPlugin(&data, parent, name ? name : "FileGroupsPart")
{
deleteRequested = false;
setInstance(FileGroupsFactory::instance());
diff --git a/parts/fileview/filegroupspart.h b/parts/fileview/filegroupspart.h
index 314f1663..88bed704 100644
--- a/parts/fileview/filegroupspart.h
+++ b/parts/fileview/filegroupspart.h
@@ -15,12 +15,12 @@
#include <tqguardedptr.h>
//#include <kdialogbase.h>
#include <configwidgetproxy.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
class FileGroupsWidget;
class KDialogBase;
-class FileGroupsPart : public KDevPlugin
+class FileGroupsPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/fileview/filegroupswidget.cpp b/parts/fileview/filegroupswidget.cpp
index 8a3e19b4..3c1c348f 100644
--- a/parts/fileview/filegroupswidget.cpp
+++ b/parts/fileview/filegroupswidget.cpp
@@ -27,10 +27,10 @@
#include <tdeaction.h>
#include <tdeversion.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
-#include "kdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
+#include "tdevpartcontroller.h"
#include "domutil.h"
#include "filegroupspart.h"
@@ -191,16 +191,16 @@ FileGroupsWidget::FileGroupsWidget(FileGroupsPart *part)
(void) translations; // supress compiler warning
TQDomDocument &dom = *m_part->projectDom();
- m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/kdevfileview/groups/hidenonprojectfiles") );
- m_actionToggleDisplayLocation->setChecked( !DomUtil::readBoolEntry(dom, "/kdevfileview/groups/hidenonlocation") );
+ m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/tdevfileview/groups/hidenonprojectfiles") );
+ m_actionToggleDisplayLocation->setChecked( !DomUtil::readBoolEntry(dom, "/tdevfileview/groups/hidenonlocation") );
}
FileGroupsWidget::~FileGroupsWidget()
{
TQDomDocument &dom = *m_part->projectDom();
- DomUtil::writeBoolEntry( dom, "/kdevfileview/groups/hidenonprojectfiles", !m_actionToggleShowNonProjectFiles->isChecked() );
- DomUtil::writeBoolEntry( dom, "/kdevfileview/groups/hidenonlocation", !m_actionToggleDisplayLocation->isChecked() );
+ DomUtil::writeBoolEntry( dom, "/tdevfileview/groups/hidenonprojectfiles", !m_actionToggleShowNonProjectFiles->isChecked() );
+ DomUtil::writeBoolEntry( dom, "/tdevfileview/groups/hidenonlocation", !m_actionToggleDisplayLocation->isChecked() );
}
@@ -319,7 +319,7 @@ void FileGroupsWidget::refresh()
}
TQDomDocument &dom = *m_part->projectDom();
DomUtil::PairList list =
- DomUtil::readPairListEntry(dom, "/kdevfileview/groups", "group", "name", "pattern");
+ DomUtil::readPairListEntry(dom, "/tdevfileview/groups", "group", "name", "pattern");
FileViewFolderItem *lastGroup = 0;
diff --git a/parts/fileview/filegroupswidget.h b/parts/fileview/filegroupswidget.h
index 3294db32..62ec5d6f 100644
--- a/parts/fileview/filegroupswidget.h
+++ b/parts/fileview/filegroupswidget.h
@@ -15,7 +15,7 @@
#include <tdelistview.h>
class FileGroupsPart;
-class KDevProject;
+class TDevProject;
class FileGroupsWidget : public TDEListView
diff --git a/parts/fileview/filetreeviewwidgetimpl.cpp b/parts/fileview/filetreeviewwidgetimpl.cpp
index af6f9e1f..3764a3f2 100644
--- a/parts/fileview/filetreeviewwidgetimpl.cpp
+++ b/parts/fileview/filetreeviewwidgetimpl.cpp
@@ -16,7 +16,7 @@
#include <tdelocale.h>
#include <tdeversion.h>
-#include <kdevproject.h>
+#include <tdevproject.h>
#include "fileviewpart.h"
#include "filetreewidget.h"
@@ -44,7 +44,7 @@ FileTreeViewWidgetImpl::FileTreeViewWidgetImpl( FileTreeWidget *parent, const ch
// Reload good ol' settings
TQDomDocument &dom = *m_part->projectDom();
- m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/kdevfileview/tree/hidenonprojectfiles") );
+ m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/tdevfileview/tree/hidenonprojectfiles") );
}
///////////////////////////////////////////////////////////////////////////////
@@ -56,7 +56,7 @@ FileTreeViewWidgetImpl::~FileTreeViewWidgetImpl()
delete m_branchItemFactory;
TQDomDocument &dom = *m_part->projectDom();
- DomUtil::writeBoolEntry( dom, "/kdevfileview/tree/hidenonprojectfiles", !showNonProjectFiles() );
+ DomUtil::writeBoolEntry( dom, "/tdevfileview/tree/hidenonprojectfiles", !showNonProjectFiles() );
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp
index f89bf71d..0a1c5346 100644
--- a/parts/fileview/filetreewidget.cpp
+++ b/parts/fileview/filetreewidget.cpp
@@ -26,11 +26,11 @@
#include <kurl.h>
#include <tdeaction.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevpartcontroller.h"
-#include "kdevmainwindow.h"
-#include "kdevversioncontrol.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevpartcontroller.h"
+#include "tdevmainwindow.h"
+#include "tdevversioncontrol.h"
#include "domutil.h"
#include "urlutil.h"
@@ -51,7 +51,7 @@ using namespace filetreeview;
// class FileTreeWidget
///////////////////////////////////////////////////////////////////////////////
-FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFileInfoProvider *infoProvider )
+FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, TDevVCSFileInfoProvider *infoProvider )
: KFileTreeView( parent, "filetreewidget" ), m_part( part ), m_rootBranch( 0 )
{
kdDebug(9017) << "Requested FileTree for: " << projectDirectory() << endl;
@@ -87,7 +87,7 @@ FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFil
// Hide pattern for files
TQDomDocument &dom = *m_part->projectDom();
TQString defaultHidePattern = "*.o,*.lo,CVS";
- TQString hidePattern = DomUtil::readEntry( dom, "/kdevfileview/tree/hidepatterns", defaultHidePattern );
+ TQString hidePattern = DomUtil::readEntry( dom, "/tdevfileview/tree/hidepatterns", defaultHidePattern );
m_hidePatterns = TQStringList::split( ",", hidePattern );
}
@@ -98,7 +98,7 @@ FileTreeWidget::~FileTreeWidget()
kdDebug(9017) << "FileTreeWidget::~FileTreeWidget()" << endl;
TQDomDocument &dom = *m_part->projectDom();
- DomUtil::writeEntry( dom, "/kdevfileview/tree/hidepatterns", hidePatterns() );
+ DomUtil::writeEntry( dom, "/tdevfileview/tree/hidepatterns", hidePatterns() );
// delete m_impl;
}
@@ -343,7 +343,7 @@ TQString FileTreeWidget::hidePatterns() const
///////////////////////////////////////////////////////////////////////////////
-KDevVersionControl *FileTreeWidget::versionControl() const
+TDevVersionControl *FileTreeWidget::versionControl() const
{
if (part() && part()->versionControl())
return part()->versionControl();
diff --git a/parts/fileview/filetreewidget.h b/parts/fileview/filetreewidget.h
index f6abb0c6..a8d3e2bf 100644
--- a/parts/fileview/filetreewidget.h
+++ b/parts/fileview/filetreewidget.h
@@ -17,11 +17,11 @@
#include <tqguardedptr.h>
#include <tdefiletreeview.h>
-#include <kdevversioncontrol.h>
+#include <tdevversioncontrol.h>
class FileViewPart;
class FileTreeViewWidgetImpl;
-class KDevVersionControl;
+class TDevVersionControl;
/**
* This is FileTree widget for listing files belonging to the project. It does feature:
@@ -33,8 +33,8 @@ class KDevVersionControl;
* Design notes
* The class uses two different implementations (referred by m_impl data member):
* - @see VCSFileTreeWidgetImpl for VCS support
-* VCS support is detencted by the constructor looking for the @see KDevPlugin::versionControl() member:
-* if the current VCS plug-in does offer a @see KDevVCSFileInfoProvider object than this will be used for
+* VCS support is detencted by the constructor looking for the @see TDevPlugin::versionControl() member:
+* if the current VCS plug-in does offer a @see TDevVCSFileInfoProvider object than this will be used for
* querying about files' data. If neither VCS plugin nor valid info provider is found then the filetreeview
* will fallback to the standard implementation
* - @see StdFileTreeWidgetImpl for standard visualization, just like the KFileTreeView
@@ -49,7 +49,7 @@ class FileTreeWidget : public KFileTreeView
Q_OBJECT
public:
- FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFileInfoProvider *infoProvider );
+ FileTreeWidget( FileViewPart *part, TQWidget *parent, TDevVCSFileInfoProvider *infoProvider );
virtual ~FileTreeWidget();
void openDirectory(const TQString &dirName);
@@ -60,7 +60,7 @@ public:
FileViewPart *part() const { return m_part; }
- //KDevVCSFileInfoProvider *vcsFileInfoProvider() const;
+ //TDevVCSFileInfoProvider *vcsFileInfoProvider() const;
void applyHidePatterns( const TQString &hidePatterns );
TQString hidePatterns() const;
@@ -85,7 +85,7 @@ private slots:
private:
bool matchesHidePattern(const TQString &fileName);
- KDevVersionControl *versionControl() const;
+ TDevVersionControl *versionControl() const;
TQStringList m_hidePatterns;
/**
diff --git a/parts/fileview/fileviewpart.cpp b/parts/fileview/fileviewpart.cpp
index 414cea52..7da44996 100644
--- a/parts/fileview/fileviewpart.cpp
+++ b/parts/fileview/fileviewpart.cpp
@@ -23,19 +23,19 @@
#include <kdebug.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kdialogbase.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
#include "partwidget.h"
#include "domutil.h"
#include "filetreewidget.h"
#include "vcscolorsconfigwidget.h"
-#include "kdevversioncontrol.h"
-#include "kdevplugininfo.h"
+#include "tdevversioncontrol.h"
+#include "tdevplugininfo.h"
#define FILETREE_OPTIONS 1
@@ -49,20 +49,20 @@ VCSColors FileViewPart::vcsColors;
// class factory
///////////////////////////////////////////////////////////////////////////////
-typedef KDevGenericFactory<FileViewPart> FileViewFactory;
-static const KDevPluginInfo data("kdevfileview");
-K_EXPORT_COMPONENT_FACTORY( libkdevfileview, FileViewFactory( data ) )
+typedef TDevGenericFactory<FileViewPart> FileViewFactory;
+static const TDevPluginInfo data("tdevfileview");
+K_EXPORT_COMPONENT_FACTORY( libtdevfileview, FileViewFactory( data ) )
///////////////////////////////////////////////////////////////////////////////
// class FileTreeWidget
///////////////////////////////////////////////////////////////////////////////
FileViewPart::FileViewPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "FileViewPart"),
+ : TDevPlugin(&data, parent, name ? name : "FileViewPart"),
m_widget( 0 )
{
setInstance( FileViewFactory::instance() );
- // setXMLFile("kdevfileview.rc");
+ // setXMLFile("tdevfileview.rc");
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("File Tree"), FILETREE_OPTIONS, info()->icon() );
@@ -153,9 +153,9 @@ void FileViewPart::insertConfigWidget( const KDialogBase* dlg, TQWidget * page,
}
}
-KDevVersionControl *FileViewPart::versionControl()
+TDevVersionControl *FileViewPart::versionControl()
{
- return extension<KDevVersionControl>("TDevelop/VersionControl");
+ return extension<TDevVersionControl>("TDevelop/VersionControl");
}
#include "fileviewpart.moc"
diff --git a/parts/fileview/fileviewpart.h b/parts/fileview/fileviewpart.h
index 68eb6a56..c1c8c776 100644
--- a/parts/fileview/fileviewpart.h
+++ b/parts/fileview/fileviewpart.h
@@ -14,14 +14,14 @@
#include <tqguardedptr.h>
#include <configwidgetproxy.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
#include "vcscolorsconfigwidget.h"
class PartWidget;
class KDialogBase;
-class KDevVersionControl;
+class TDevVersionControl;
-class FileViewPart : public KDevPlugin
+class FileViewPart : public TDevPlugin
{
Q_OBJECT
@@ -33,7 +33,7 @@ public:
//! Colors to use for VCS visual feed-back
static VCSColors vcsColors;
- KDevVersionControl *versionControl();
+ TDevVersionControl *versionControl();
private slots:
void insertConfigWidget( const KDialogBase* dlg, TQWidget * page, unsigned int );
diff --git a/parts/fileview/partwidget.cpp b/parts/fileview/partwidget.cpp
index bf68de83..49cfe7d5 100644
--- a/parts/fileview/partwidget.cpp
+++ b/parts/fileview/partwidget.cpp
@@ -22,10 +22,10 @@
#include <kiconloader.h>
#include <tdelocale.h>
-#include "kdevversioncontrol.h"
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
+#include "tdevversioncontrol.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
#include "fileviewpart.h"
#include "filetreewidget.h"
@@ -40,7 +40,7 @@ PartWidget::PartWidget( FileViewPart *part, TQWidget *parent )
{
Q_ASSERT( part && parent );
- KDevVCSFileInfoProvider *infoProvider = 0;
+ TDevVCSFileInfoProvider *infoProvider = 0;
if (part && part->versionControl() && part->versionControl()->fileInfoProvider())
infoProvider = part->versionControl()->fileInfoProvider();
diff --git a/parts/fileview/kdevfilegroups.desktop b/parts/fileview/tdevfilegroups.desktop
index bfa3e699..4c04c274 100644
--- a/parts/fileview/kdevfilegroups.desktop
+++ b/parts/fileview/tdevfilegroups.desktop
@@ -33,7 +33,7 @@ Comment[tg]=Барои файлҳои дар номҳои қолиб имкон
Comment[tr]=Dosya adı desenlerine göre proje dosyalarının gruplanmasını sağlar.
Comment[zh_CN]=允许你根据文件名模式规类工程文件。
Comment[zh_TW]=允許專案檔案根據檔名樣式來分群組。
-Name=KDevFileGroups
+Name=TDevFileGroups
Name[da]=TDevelop filgrupper
Name[de]=Dateigruppen-Komponente (TDevelop)
Name[hi]=के-डेव-फ़ाइल-ग्रुप्स
@@ -80,7 +80,7 @@ GenericName[zh_CN]=文件分组
GenericName[zh_TW]=檔案群組
ServiceTypes=TDevelop/Plugin
Icon=attach
-X-TDE-Library=libkdevfilegroups
+X-TDE-Library=libtdevfilegroups
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-Properties=ProjectFileGroupsManagement
diff --git a/parts/fileview/kdevfileview.desktop b/parts/fileview/tdevfileview.desktop
index 6a702e1b..b589b5ef 100644
--- a/parts/fileview/kdevfileview.desktop
+++ b/parts/fileview/tdevfileview.desktop
@@ -32,7 +32,7 @@ Comment[tg]=Тариқи навигатсияро ва ҳангоми ҳамко
Comment[tr]=Geçerli projenin kaynak dosyalarında gezinme ve onlarla etkileşime geçme yolu sunar.
Comment[zh_CN]=提供当前工程源文件的浏览和相互关系。
Comment[zh_TW]=提供目前專案的程式源碼檔的導覽與互動。
-Name=KDevFileView
+Name=TDevFileView
Name[da]=TDevelop filvisning
Name[de]=Dateibaum (TDevelop)
Name[hi]=के-डेव-फ़ाइल-व्यू
@@ -79,7 +79,7 @@ GenericName[zh_CN]=文件树
GenericName[zh_TW]=檔案樹
ServiceTypes=TDevelop/Plugin
Icon=folder
-X-TDE-Library=libkdevfileview
+X-TDE-Library=libtdevfileview
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-Properties=ProjectFileManagement
diff --git a/parts/fileview/vcsfiletreewidgetimpl.cpp b/parts/fileview/vcsfiletreewidgetimpl.cpp
index 450a6a58..e08068db 100644
--- a/parts/fileview/vcsfiletreewidgetimpl.cpp
+++ b/parts/fileview/vcsfiletreewidgetimpl.cpp
@@ -18,7 +18,7 @@
#include <kdebug.h>
#include <tdeversion.h>
-//#include <kdevproject.h>
+//#include <tdevproject.h>
#include <urlutil.h>
#include <domutil.h>
@@ -127,13 +127,13 @@ class VCSFileTreeBranchItem : public filetreeview::FileTreeBranchItem
{
public:
VCSFileTreeBranchItem( KFileTreeView* view, const KURL& url, const TQString& name, const TQPixmap& pix,
- KDevVCSFileInfoProvider *vcsInfoProvider )
+ TDevVCSFileInfoProvider *vcsInfoProvider )
: FileTreeBranchItem( view, url, name, pix ), m_vcsInfoProvider( vcsInfoProvider ) {}
// virtual ~VCSFileTreeBranchItem() {}
virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem* parent, KFileItem* fileItem );
private:
- KDevVCSFileInfoProvider *m_vcsInfoProvider;
+ TDevVCSFileInfoProvider *m_vcsInfoProvider;
};
///////////////////////////////////////////////////////////////////////////////
@@ -169,20 +169,20 @@ KFileTreeViewItem* VCSFileTreeBranchItem::createTreeViewItem( KFileTreeViewItem*
class VCSBranchItemFactory : public filetreeview::BranchItemFactory
{
public:
- VCSBranchItemFactory( KDevVCSFileInfoProvider *vcsInfoProvider ) : m_vcsInfoProvider( vcsInfoProvider ) {}
+ VCSBranchItemFactory( TDevVCSFileInfoProvider *vcsInfoProvider ) : m_vcsInfoProvider( vcsInfoProvider ) {}
virtual filetreeview::FileTreeBranchItem *makeBranchItem( KFileTreeView* view, const KURL& url, const TQString& name, const TQPixmap& pix )
{
return new VCSFileTreeBranchItem( view, url, name, pix, m_vcsInfoProvider );
}
private:
- KDevVCSFileInfoProvider *m_vcsInfoProvider;
+ TDevVCSFileInfoProvider *m_vcsInfoProvider;
};
///////////////////////////////////////////////////////////////////////////////
// class VCSFileTreeWidgetImpl
///////////////////////////////////////////////////////////////////////////////
-VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFileInfoProvider *infoProvider )
+VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, TDevVCSFileInfoProvider *infoProvider )
: FileTreeViewWidgetImpl( parent, "vcsfiletreewidgetimpl" ),
m_actionToggleShowVCSFields( 0 ), m_actionSyncWithRepository( 0 ), m_vcsInfoProvider( infoProvider ),
m_isSyncingWithRepository( false ), m_vcsStatusRequestedItem( 0 )
@@ -216,7 +216,7 @@ VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFil
m_actionSyncWithRepository->setWhatsThis( aboutAction );
TQDomDocument &dom = projectDom();
- m_actionToggleShowVCSFields->setChecked( DomUtil::readBoolEntry(dom, "/kdevfileview/tree/showvcsfields") );
+ m_actionToggleShowVCSFields->setChecked( DomUtil::readBoolEntry(dom, "/tdevfileview/tree/showvcsfields") );
slotToggleShowVCSFields( showVCSFields() ); // show or hide fields depending on read settings
connect( parent, TQT_SIGNAL(expanded(TQListViewItem*)), this, TQT_SLOT(slotDirectoryExpanded(TQListViewItem*)));
}
@@ -228,7 +228,7 @@ VCSFileTreeWidgetImpl::~VCSFileTreeWidgetImpl()
kdDebug(9017) << "VCSFileTreeWidgetImpl::~VCSFileTreeWidgetImpl()" << endl;
TQDomDocument &dom = projectDom();
- DomUtil::writeBoolEntry( dom, "/kdevfileview/tree/showvcsfields", showVCSFields() );
+ DomUtil::writeBoolEntry( dom, "/tdevfileview/tree/showvcsfields", showVCSFields() );
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/parts/fileview/vcsfiletreewidgetimpl.h b/parts/fileview/vcsfiletreewidgetimpl.h
index 00a38b32..928fe544 100644
--- a/parts/fileview/vcsfiletreewidgetimpl.h
+++ b/parts/fileview/vcsfiletreewidgetimpl.h
@@ -14,7 +14,7 @@
#include "filetreeviewwidgetimpl.h"
-class KDevVCSFileInfoProvider;
+class TDevVCSFileInfoProvider;
class TDEAction;
class TDEToggleAction;
@@ -27,7 +27,7 @@ class VCSFileTreeWidgetImpl : public FileTreeViewWidgetImpl
Q_OBJECT
public:
- VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFileInfoProvider *infoProvider );
+ VCSFileTreeWidgetImpl( FileTreeWidget *parent, TDevVCSFileInfoProvider *infoProvider );
virtual ~VCSFileTreeWidgetImpl();
/*
@@ -44,7 +44,7 @@ private slots:
//! show/hide the header and the additional fields (status and versions)
void slotToggleShowVCSFields( bool checked );
//! start a sync operation with the remote repository: this may take a while so we use
- //! the async interface provided by the KDevVCSFileInfoProvider interface
+ //! the async interface provided by the TDevVCSFileInfoProvider interface
void slotSyncWithRepository();
//! when the requested info are ready the infoProvider object will be so kind the
//! to give them to us in a ready-to-use format: we'll use that info to update all
@@ -58,7 +58,7 @@ private:
TDEToggleAction *m_actionToggleShowVCSFields;
TDEAction *m_actionSyncWithRepository;
- KDevVCSFileInfoProvider *m_vcsInfoProvider;
+ TDevVCSFileInfoProvider *m_vcsInfoProvider;
//! We use this guard to avoid enabling the "reload tree" action when performing
//! syncing with remote repositories.
bool m_isSyncingWithRepository;
diff --git a/parts/filter/CMakeLists.txt b/parts/filter/CMakeLists.txt
index 095144d3..7665f6f1 100644
--- a/parts/filter/CMakeLists.txt
+++ b/parts/filter/CMakeLists.txt
@@ -26,16 +26,16 @@ link_directories(
##### other data ################################
-install( FILES kdevfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevfilter.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfilter )
+install( FILES tdevfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevfilter.rc DESTINATION ${DATA_INSTALL_DIR}/tdevfilter )
-##### libkdevfilter (module) ####################
+##### libtdevfilter (module) ####################
-tde_add_kpart( libkdevfilter AUTOMOC
+tde_add_kpart( libtdevfilter AUTOMOC
SOURCES
filterpart.cpp shellfilterdlg.cpp shellinsertdlg.cpp
- kdevfilterIface.cpp kdevfilterIface.skel
+ tdevfilterIface.cpp tdevfilterIface.skel
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/parts/filter/Makefile.am b/parts/filter/Makefile.am
index f68b0cf6..4a3fe722 100644
--- a/parts/filter/Makefile.am
+++ b/parts/filter/Makefile.am
@@ -2,16 +2,16 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevfilter.la
-libkdevfilter_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfilter_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevfilter.la
+libtdevfilter_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfilter_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfilter_la_SOURCES = filterpart.cpp shellfilterdlg.cpp shellinsertdlg.cpp kdevfilterIface.cpp kdevfilterIface.skel
+libtdevfilter_la_SOURCES = filterpart.cpp shellfilterdlg.cpp shellinsertdlg.cpp tdevfilterIface.cpp tdevfilterIface.skel
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevfilter.desktop
+service_DATA = tdevfilter.desktop
-rcdir = $(kde_datadir)/kdevfilter
-rc_DATA = kdevfilter.rc
+rcdir = $(kde_datadir)/tdevfilter
+rc_DATA = tdevfilter.rc
diff --git a/parts/filter/filterpart.cpp b/parts/filter/filterpart.cpp
index 5ebd265e..3ee5029a 100644
--- a/parts/filter/filterpart.cpp
+++ b/parts/filter/filterpart.cpp
@@ -19,21 +19,21 @@
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/viewcursorinterface.h>
-#include "kdevcore.h"
-#include "kdevpartcontroller.h"
-#include "kdevplugininfo.h"
+#include "tdevcore.h"
+#include "tdevpartcontroller.h"
+#include "tdevplugininfo.h"
#include "shellfilterdlg.h"
#include "shellinsertdlg.h"
-#include "kdevfilterIface.h"
+#include "tdevfilterIface.h"
-static const KDevPluginInfo data("kdevfilter");
-K_EXPORT_COMPONENT_FACTORY( libkdevfilter, FilterFactory( data ) )
+static const TDevPluginInfo data("tdevfilter");
+K_EXPORT_COMPONENT_FACTORY( libtdevfilter, FilterFactory( data ) )
FilterPart::FilterPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "FilterPart")
+ : TDevPlugin(&data, parent, name ? name : "FilterPart")
{
setInstance(FilterFactory::instance());
- setXMLFile("kdevfilter.rc");
+ setXMLFile("tdevfilter.rc");
TDEAction *action;
@@ -52,7 +52,7 @@ FilterPart::FilterPart(TQObject *parent, const char *name, const TQStringList &)
m_insertDialog = 0;
m_filterDialog = 0;
- new KDevFilterIface( this );
+ new TDevFilterIface( this );
// (void) dcopClient();
}
diff --git a/parts/filter/filterpart.h b/parts/filter/filterpart.h
index b8322425..b1eac334 100644
--- a/parts/filter/filterpart.h
+++ b/parts/filter/filterpart.h
@@ -12,14 +12,14 @@
#ifndef _FILTERPART_H_
#define _FILTERPART_H_
-#include <kdevgenericfactory.h>
-#include "kdevplugin.h"
+#include <tdevgenericfactory.h>
+#include "tdevplugin.h"
class ShellInsertDialog;
class ShellFilterDialog;
-class FilterPart : public KDevPlugin
+class FilterPart : public TDevPlugin
{
Q_OBJECT
@@ -37,6 +37,6 @@ private:
ShellFilterDialog *m_filterDialog;
};
-typedef KDevGenericFactory<FilterPart> FilterFactory;
+typedef TDevGenericFactory<FilterPart> FilterFactory;
#endif
diff --git a/parts/filter/shellfilterdlg.cpp b/parts/filter/shellfilterdlg.cpp
index a5100d5b..7d3d0ff5 100644
--- a/parts/filter/shellfilterdlg.cpp
+++ b/parts/filter/shellfilterdlg.cpp
@@ -23,7 +23,7 @@
#include <kstdguiitem.h>
#include <tdeversion.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
#include "domutil.h"
#include "filterpart.h"
diff --git a/parts/filter/shellfilterdlg.h b/parts/filter/shellfilterdlg.h
index 87657501..cf9812ab 100644
--- a/parts/filter/shellfilterdlg.h
+++ b/parts/filter/shellfilterdlg.h
@@ -16,7 +16,7 @@
class TQComboBox;
class TQPushButton;
-class KDevPlugin;
+class TDevPlugin;
class TDEProcess;
diff --git a/parts/filter/shellinsertdlg.cpp b/parts/filter/shellinsertdlg.cpp
index 057e8121..f9d24c19 100644
--- a/parts/filter/shellinsertdlg.cpp
+++ b/parts/filter/shellinsertdlg.cpp
@@ -24,7 +24,7 @@
#include <kstdguiitem.h>
#include <tdeversion.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
#include "domutil.h"
#include "filterpart.h"
diff --git a/parts/filter/shellinsertdlg.h b/parts/filter/shellinsertdlg.h
index fda59678..df3085a1 100644
--- a/parts/filter/shellinsertdlg.h
+++ b/parts/filter/shellinsertdlg.h
@@ -16,7 +16,7 @@
class TQComboBox;
class TQPushButton;
-class KDevPlugin;
+class TDevPlugin;
class TDEProcess;
diff --git a/parts/filter/kdevfilter.desktop b/parts/filter/tdevfilter.desktop
index 1ce8122a..36854737 100644
--- a/parts/filter/kdevfilter.desktop
+++ b/parts/filter/tdevfilter.desktop
@@ -32,7 +32,7 @@ Comment[tg]=Вазифаи корҳо бо матнҳои дар муҳарри
Comment[tr]=Komut satırı araçlarını kullanarak düzenleyici metni işlemek için bir yol sunar. Araçlar menüsünde durur.
Comment[zh_CN]=使用命令行工具操作编辑器文字。显示在工具菜单中。
Comment[zh_TW]=提供使用命令列工具操作編輯器文字的方法。會出現在工具選單中。
-Name=KDevFilter
+Name=TDevFilter
Name[da]=TDevelop filter
Name[de]=Filter (TDevelop)
Name[hi]=के-डेव-फ़िल्टर
@@ -76,7 +76,7 @@ GenericName[tr]=Kabuk filtreleme ve Ekleme
GenericName[zh_CN]=Shell 过滤和插入
GenericName[zh_TW]=Shell 過濾與插入
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevfilter
+X-TDE-Library=libtdevfilter
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=OptionalCodeEditing
diff --git a/parts/filter/kdevfilter.rc b/parts/filter/tdevfilter.rc
index 6f7f9053..4f3d82d9 100644
--- a/parts/filter/kdevfilter.rc
+++ b/parts/filter/tdevfilter.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="KDevFilter" version="1">
+<kpartgui name="TDevFilter" version="1">
<MenuBar>
<Menu name="tools" >
<Action name="tools_insertshell" group="tools_file_operations"/>
diff --git a/parts/filter/kdevfilterIface.cpp b/parts/filter/tdevfilterIface.cpp
index 3df749a4..e0c15687 100644
--- a/parts/filter/kdevfilterIface.cpp
+++ b/parts/filter/tdevfilterIface.cpp
@@ -10,26 +10,26 @@
// Copyright: See COPYING file that comes with this distribution
//
//
-#include "kdevfilterIface.h"
+#include "tdevfilterIface.h"
#include "filterpart.h"
-KDevFilterIface::KDevFilterIface( FilterPart* part )
- : TQObject( part ), DCOPObject( "KDevFilter" ), m_part( part )
+TDevFilterIface::TDevFilterIface( FilterPart* part )
+ : TQObject( part ), DCOPObject( "TDevFilter" ), m_part( part )
{
}
-KDevFilterIface::~KDevFilterIface()
+TDevFilterIface::~TDevFilterIface()
{
}
-void KDevFilterIface::shellInsert()
+void TDevFilterIface::shellInsert()
{
m_part->slotShellInsert();
}
-void KDevFilterIface::shellFilter()
+void TDevFilterIface::shellFilter()
{
m_part->slotShellFilter();
}
-#include "kdevfilterIface.moc"
+#include "tdevfilterIface.moc"
diff --git a/parts/filter/kdevfilterIface.h b/parts/filter/tdevfilterIface.h
index fae74022..56d2aebf 100644
--- a/parts/filter/kdevfilterIface.h
+++ b/parts/filter/tdevfilterIface.h
@@ -1,20 +1,20 @@
-#ifndef KDEVFILTERIFACE_H
-#define KDEVFILTERIFACE_H
+#ifndef TDEVFILTERIFACE_H
+#define TDEVFILTERIFACE_H
#include <tqobject.h>
#include <dcopobject.h>
class FilterPart;
-class KDevFilterIface : public TQObject, public DCOPObject
+class TDevFilterIface : public TQObject, public DCOPObject
{
Q_OBJECT
//
K_DCOP
public:
- KDevFilterIface( FilterPart* part );
- ~KDevFilterIface();
+ TDevFilterIface( FilterPart* part );
+ ~TDevFilterIface();
k_dcop:
void shellInsert();
diff --git a/parts/fullscreen/CMakeLists.txt b/parts/fullscreen/CMakeLists.txt
index 84b45df9..548e4f40 100644
--- a/parts/fullscreen/CMakeLists.txt
+++ b/parts/fullscreen/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES kdevfullscreen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_fullscreen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfullscreen )
+install( FILES tdevfullscreen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_fullscreen.rc DESTINATION ${DATA_INSTALL_DIR}/tdevfullscreen )
-##### libkdevfullscreen (module) ################
+##### libtdevfullscreen (module) ################
-tde_add_kpart( libkdevfullscreen AUTOMOC
+tde_add_kpart( libtdevfullscreen AUTOMOC
SOURCES fullscreen_part.cpp
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/fullscreen/Makefile.am b/parts/fullscreen/Makefile.am
index 3f039ef6..a05b0bd1 100644
--- a/parts/fullscreen/Makefile.am
+++ b/parts/fullscreen/Makefile.am
@@ -1,15 +1,15 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevfullscreen.la
-libkdevfullscreen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfullscreen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevfullscreen.la
+libtdevfullscreen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfullscreen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfullscreen_la_SOURCES = fullscreen_part.cpp
+libtdevfullscreen_la_SOURCES = fullscreen_part.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevfullscreen.desktop
+service_DATA = tdevfullscreen.desktop
-rcdir = $(kde_datadir)/kdevfullscreen
-rc_DATA = kdevpart_fullscreen.rc
+rcdir = $(kde_datadir)/tdevfullscreen
+rc_DATA = tdevpart_fullscreen.rc
diff --git a/parts/fullscreen/fullscreen_part.cpp b/parts/fullscreen/fullscreen_part.cpp
index 22cecb42..a73f33f1 100644
--- a/parts/fullscreen/fullscreen_part.cpp
+++ b/parts/fullscreen/fullscreen_part.cpp
@@ -11,32 +11,32 @@
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kstdaction.h>
#include <tdemainwindow.h>
#include <tdemenubar.h>
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
-#include <kdevplugininfo.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
+#include <tdevplugininfo.h>
#include "fullscreen_part.h"
-static const KDevPluginInfo data("kdevfullscreen");
+static const TDevPluginInfo data("tdevfullscreen");
-typedef KDevGenericFactory<FullScreenPart> FullScreenFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevfullscreen, FullScreenFactory( data ) )
+typedef TDevGenericFactory<FullScreenPart> FullScreenFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevfullscreen, FullScreenFactory( data ) )
FullScreenPart::FullScreenPart(TQObject *parent, const char *name, const TQStringList& )
- : KDevPlugin(&data, parent, name ? name : "FullScreenPart" )
+ : TDevPlugin(&data, parent, name ? name : "FullScreenPart" )
{
setInstance(FullScreenFactory::instance());
// const TDEAboutData &abdata1 = *(info());
// kdDebug() << abdata1.appName() << endl;
- const KDevPluginInfo &_info = *info();
+ const TDevPluginInfo &_info = *info();
const TDEAboutData *abdata = _info;
kdDebug() << abdata->appName() << endl;
- setXMLFile("kdevpart_fullscreen.rc");
+ setXMLFile("tdevpart_fullscreen.rc");
m_bFullScreen = false;
diff --git a/parts/fullscreen/fullscreen_part.h b/parts/fullscreen/fullscreen_part.h
index fcb566e8..2964b5d9 100644
--- a/parts/fullscreen/fullscreen_part.h
+++ b/parts/fullscreen/fullscreen_part.h
@@ -9,15 +9,15 @@
* *
***************************************************************************/
-#ifndef __KDEVPART_FULLSCREEN_H__
-#define __KDEVPART_FULLSCREEN_H__
+#ifndef __TDEVPART_FULLSCREEN_H__
+#define __TDEVPART_FULLSCREEN_H__
#include <tqguardedptr.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
class TDEAction;
-class FullScreenPart : public KDevPlugin
+class FullScreenPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/fullscreen/kdevfullscreen.desktop b/parts/fullscreen/tdevfullscreen.desktop
index 6f935c85..4974af20 100644
--- a/parts/fullscreen/kdevfullscreen.desktop
+++ b/parts/fullscreen/tdevfullscreen.desktop
@@ -81,6 +81,6 @@ GenericName[zh_TW]=全螢幕
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Core
-X-TDE-Library=libkdevfullscreen
+X-TDE-Library=libtdevfullscreen
X-TDevelop-Version=5
X-TDevelop-Properties=ViewManagement
diff --git a/parts/fullscreen/kdevpart_fullscreen.rc b/parts/fullscreen/tdevpart_fullscreen.rc
index 3bd67c9d..3bd67c9d 100644
--- a/parts/fullscreen/kdevpart_fullscreen.rc
+++ b/parts/fullscreen/tdevpart_fullscreen.rc
diff --git a/parts/grepview/CMakeLists.txt b/parts/grepview/CMakeLists.txt
index 5ad23e4f..96d4042b 100644
--- a/parts/grepview/CMakeLists.txt
+++ b/parts/grepview/CMakeLists.txt
@@ -27,16 +27,16 @@ link_directories(
##### other data ################################
-install( FILES kdevgrepview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevgrepview.rc DESTINATION ${DATA_INSTALL_DIR}/kdevgrepview )
+install( FILES tdevgrepview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevgrepview.rc DESTINATION ${DATA_INSTALL_DIR}/tdevgrepview )
-##### libkdevgrepview (module) ##################
+##### libtdevgrepview (module) ##################
-tde_add_kpart( libkdevgrepview AUTOMOC
+tde_add_kpart( libtdevgrepview AUTOMOC
SOURCES
grepviewpart.cpp grepviewwidget.cpp grepdlg.cpp
LINK
- kdevwidgets-shared tdevelop-shared
+ tdevwidgets-shared tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/parts/grepview/Makefile.am b/parts/grepview/Makefile.am
index dc5f5fed..8ae4725c 100644
--- a/parts/grepview/Makefile.am
+++ b/parts/grepview/Makefile.am
@@ -3,17 +3,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \
-I$(top_srcdir)/lib/widgets $(all_includes)
-kde_module_LTLIBRARIES = libkdevgrepview.la
-libkdevgrepview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevgrepview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/lib/widgets/libkdevwidgets.la $(LIB_TDEHTML)
+kde_module_LTLIBRARIES = libtdevgrepview.la
+libtdevgrepview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevgrepview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+ $(top_builddir)/lib/widgets/libtdevwidgets.la $(LIB_TDEHTML)
-libkdevgrepview_la_SOURCES = grepviewpart.cpp grepviewwidget.cpp grepdlg.cpp
+libtdevgrepview_la_SOURCES = grepviewpart.cpp grepviewwidget.cpp grepdlg.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevgrepview.desktop
+service_DATA = tdevgrepview.desktop
-rcdir = $(kde_datadir)/kdevgrepview
-rc_DATA = kdevgrepview.rc
+rcdir = $(kde_datadir)/tdevgrepview
+rc_DATA = tdevgrepview.rc
diff --git a/parts/grepview/grepdlg.cpp b/parts/grepview/grepdlg.cpp
index 6333805f..8e8b0eb3 100644
--- a/parts/grepview/grepdlg.cpp
+++ b/parts/grepview/grepdlg.cpp
@@ -34,7 +34,7 @@
#include <kurlrequester.h>
#include <kstdguiitem.h>
#include <tdeparts/part.h>
-#include <kdevpartcontroller.h>
+#include <tdevpartcontroller.h>
#include <klineedit.h>
#include "grepviewpart.h"
diff --git a/parts/grepview/grepviewpart.cpp b/parts/grepview/grepviewpart.cpp
index 92f4ebb6..9d6b08c5 100644
--- a/parts/grepview/grepviewpart.cpp
+++ b/parts/grepview/grepviewpart.cpp
@@ -23,26 +23,26 @@
#include <kstringhandler.h>
#include <tdetexteditor/document.h>
-#include "kdevcore.h"
-#include "kdevpartcontroller.h"
-#include "kdevmainwindow.h"
-#include "kdevplugininfo.h"
-#include "kdeveditorutil.h"
+#include "tdevcore.h"
+#include "tdevpartcontroller.h"
+#include "tdevmainwindow.h"
+#include "tdevplugininfo.h"
+#include "tdeveditorutil.h"
#include "grepviewwidget.h"
-static const KDevPluginInfo data("kdevgrepview");
+static const TDevPluginInfo data("tdevgrepview");
-K_EXPORT_COMPONENT_FACTORY(libkdevgrepview, GrepViewFactory(data))
+K_EXPORT_COMPONENT_FACTORY(libtdevgrepview, GrepViewFactory(data))
GrepViewPart::GrepViewPart( TQObject *parent, const char *name, const TQStringList & )
- : KDevPlugin( &data, parent, name ? name : "GrepViewPart" )
+ : TDevPlugin( &data, parent, name ? name : "GrepViewPart" )
{
setInstance(GrepViewFactory::instance());
- setXMLFile("kdevgrepview.rc");
+ setXMLFile("tdevgrepview.rc");
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(stopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)),
+ this, TQT_SLOT(stopButtonClicked(TDevPlugin*)) );
connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) );
connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) );
connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
@@ -83,7 +83,7 @@ GrepViewPart::~GrepViewPart()
}
-void GrepViewPart::stopButtonClicked(KDevPlugin* which)
+void GrepViewPart::stopButtonClicked(TDevPlugin* which)
{
if ( which != 0 && which != this )
return;
@@ -129,10 +129,10 @@ void GrepViewPart::slotGrep()
{
if ( !m_widget->isRunning() )
{
- TQString contextString = KDevEditorUtil::currentSelection( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ TQString contextString = TDevEditorUtil::currentSelection( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
if ( contextString.isEmpty() )
{
- contextString = KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
+ contextString = TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) );
}
m_widget->showDialogWithPattern( contextString );
}
diff --git a/parts/grepview/grepviewpart.h b/parts/grepview/grepviewpart.h
index 4ebd7638..68c4a574 100644
--- a/parts/grepview/grepviewpart.h
+++ b/parts/grepview/grepviewpart.h
@@ -13,8 +13,8 @@
#define _GREPVIEWPART_H_
#include <tqguardedptr.h>
-#include <kdevgenericfactory.h>
-#include "kdevplugin.h"
+#include <tdevgenericfactory.h>
+#include "tdevplugin.h"
class KDialogBase;
class TQPopupMenu;
@@ -22,7 +22,7 @@ class Context;
class GrepViewWidget;
-class GrepViewPart : public KDevPlugin
+class GrepViewPart : public TDevPlugin
{
Q_OBJECT
@@ -32,7 +32,7 @@ public:
~GrepViewPart();
private slots:
- void stopButtonClicked(KDevPlugin *which);
+ void stopButtonClicked(TDevPlugin *which);
void projectOpened();
void projectClosed();
void contextMenu(TQPopupMenu *popup, const Context *context);
@@ -46,6 +46,6 @@ private:
friend class GrepViewWidget;
};
-typedef KDevGenericFactory<GrepViewPart> GrepViewFactory;
+typedef TDevGenericFactory<GrepViewPart> GrepViewFactory;
#endif
diff --git a/parts/grepview/grepviewwidget.cpp b/parts/grepview/grepviewwidget.cpp
index 1d709dff..edcdaa7c 100644
--- a/parts/grepview/grepviewwidget.cpp
+++ b/parts/grepview/grepviewwidget.cpp
@@ -27,10 +27,10 @@
#include <tdemessagebox.h>
using namespace KTextEditor;
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
-#include "kdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
+#include "tdevpartcontroller.h"
#include "grepdlg.h"
#include "grepviewpart.h"
@@ -181,7 +181,7 @@ void GrepViewWidget::showDialog()
}
}
// Determine if we have a list of project files
- KDevProject *openProject = m_part->project();
+ TDevProject *openProject = m_part->project();
if (openProject)
{
grepdlg->setEnableProjectBox(!openProject->allFiles().isEmpty());
@@ -225,7 +225,7 @@ void GrepViewWidget::showDialogWithPattern(TQString pattern)
grepdlg->setPattern( pattern );
// Determine if we have a list of project files
- KDevProject *openProject = m_part->project();
+ TDevProject *openProject = m_part->project();
if (openProject)
{
grepdlg->setEnableProjectBox(!openProject->allFiles().isEmpty());
@@ -255,7 +255,7 @@ void GrepViewWidget::searchActivated()
if (grepdlg->useProjectFilesFlag())
{
- KDevProject *openProject = m_part->project();
+ TDevProject *openProject = m_part->project();
if (openProject)
{
TQString tmpFilePath;
@@ -430,7 +430,7 @@ void GrepViewProcessWidget::insertStdoutLine(const TQCString &line)
}
-void GrepViewWidget::projectChanged(KDevProject *project)
+void GrepViewWidget::projectChanged(TDevProject *project)
{
TQString dir = project? project->projectDirectory() : TQDir::homeDirPath();
grepdlg->setDirectory(dir);
diff --git a/parts/grepview/grepviewwidget.h b/parts/grepview/grepviewwidget.h
index 3bf803b5..0f05c136 100644
--- a/parts/grepview/grepviewwidget.h
+++ b/parts/grepview/grepviewwidget.h
@@ -18,7 +18,7 @@
class GrepDialog;
class GrepViewPart;
-class KDevProject;
+class TDevProject;
class KTabWidget;
class TQHBoxLayout;
class TQToolButton;
@@ -66,7 +66,7 @@ public:
GrepViewWidget(GrepViewPart *part);
~GrepViewWidget();
- void projectChanged(KDevProject *project);
+ void projectChanged(TDevProject *project);
void killJob( int signo = SIGTERM );
bool isRunning() const;
diff --git a/parts/grepview/kdevgrepview.desktop b/parts/grepview/tdevgrepview.desktop
index 0521c804..c7b98916 100644
--- a/parts/grepview/kdevgrepview.desktop
+++ b/parts/grepview/tdevgrepview.desktop
@@ -80,7 +80,7 @@ GenericName[zh_CN]=Grep 前端
GenericName[zh_TW]=Grep 前端介面
Icon=find
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevgrepview
+X-TDE-Library=libtdevgrepview
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=FileSearch
diff --git a/parts/grepview/kdevgrepview.rc b/parts/grepview/tdevgrepview.rc
index 80b20389..80b20389 100644
--- a/parts/grepview/kdevgrepview.rc
+++ b/parts/grepview/tdevgrepview.rc
diff --git a/parts/konsole/CMakeLists.txt b/parts/konsole/CMakeLists.txt
index e6b51296..37cd0687 100644
--- a/parts/konsole/CMakeLists.txt
+++ b/parts/konsole/CMakeLists.txt
@@ -26,12 +26,12 @@ link_directories(
##### other data ################################
-install( FILES kdevkonsoleview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevkonsoleview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevkonsoleview (module) ###############
+##### libtdevkonsoleview (module) ###############
-tde_add_kpart( libkdevkonsoleview AUTOMOC
+tde_add_kpart( libtdevkonsoleview AUTOMOC
SOURCES konsoleviewpart.cpp
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/konsole/Makefile.am b/parts/konsole/Makefile.am
index 085f8e7a..1cc781d4 100644
--- a/parts/konsole/Makefile.am
+++ b/parts/konsole/Makefile.am
@@ -2,15 +2,15 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevkonsoleview.la
-libkdevkonsoleview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevkonsoleview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/lib/util/libkdevutil.la
+kde_module_LTLIBRARIES = libtdevkonsoleview.la
+libtdevkonsoleview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevkonsoleview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+ $(top_builddir)/lib/util/libtdevutil.la
-libkdevkonsoleview_la_SOURCES = konsoleviewpart.cpp
+libtdevkonsoleview_la_SOURCES = konsoleviewpart.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevkonsoleview.desktop
+service_DATA = tdevkonsoleview.desktop
diff --git a/parts/konsole/konsoleviewpart.cpp b/parts/konsole/konsoleviewpart.cpp
index 873ab790..63f720d9 100644
--- a/parts/konsole/konsoleviewpart.cpp
+++ b/parts/konsole/konsoleviewpart.cpp
@@ -13,27 +13,27 @@
#include <tqwhatsthis.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
-#include "kdevplugininfo.h"
-#include "kdevshellwidget.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
+#include "tdevplugininfo.h"
+#include "tdevshellwidget.h"
-typedef KDevGenericFactory<KonsoleViewPart> KonsoleViewFactory;
-static const KDevPluginInfo data("kdevkonsoleview");
-K_EXPORT_COMPONENT_FACTORY(libkdevkonsoleview, KonsoleViewFactory(data))
+typedef TDevGenericFactory<KonsoleViewPart> KonsoleViewFactory;
+static const TDevPluginInfo data("tdevkonsoleview");
+K_EXPORT_COMPONENT_FACTORY(libtdevkonsoleview, KonsoleViewFactory(data))
KonsoleViewPart::KonsoleViewPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "KonsoleViewPart")
+ : TDevPlugin(&data, parent, name ? name : "KonsoleViewPart")
{
setInstance( KonsoleViewFactory::instance() );
- m_widget = new KDevShellWidget( 0, "konsole widget" );
+ m_widget = new TDevShellWidget( 0, "konsole widget" );
TQWhatsThis::add(m_widget, i18n("<b>Konsole</b><p>"
"This window contains an embedded konsole window. It will try to follow you when "
diff --git a/parts/konsole/konsoleviewpart.h b/parts/konsole/konsoleviewpart.h
index 9bcecb38..912e00b4 100644
--- a/parts/konsole/konsoleviewpart.h
+++ b/parts/konsole/konsoleviewpart.h
@@ -14,12 +14,12 @@
#include <tqguardedptr.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
-class KDevShellWidget;
+class TDevShellWidget;
-class KonsoleViewPart : public KDevPlugin
+class KonsoleViewPart : public TDevPlugin
{
Q_OBJECT
@@ -31,7 +31,7 @@ private slots:
void projectOpened();
private:
- TQGuardedPtr<KDevShellWidget> m_widget;
+ TQGuardedPtr<TDevShellWidget> m_widget;
};
#endif
diff --git a/parts/konsole/konsoleviewwidget.cpp b/parts/konsole/konsoleviewwidget.cpp
index 7c21cab2..26ac9e29 100644
--- a/parts/konsole/konsoleviewwidget.cpp
+++ b/parts/konsole/konsoleviewwidget.cpp
@@ -20,10 +20,10 @@
#include <tdeapplication.h>
#include <tdeconfig.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
#include "konsoleviewpart.h"
-#include "kdevpartcontroller.h"
+#include "tdevpartcontroller.h"
#include "konsoleviewwidget.h"
diff --git a/parts/konsole/konsoleviewwidget.h b/parts/konsole/konsoleviewwidget.h
index 2bf3160a..6a7f6a9f 100644
--- a/parts/konsole/konsoleviewwidget.h
+++ b/parts/konsole/konsoleviewwidget.h
@@ -17,7 +17,7 @@
#include <tqstring.h>
-class KDevProject;
+class TDevProject;
class KonsoleWidgetPrivate;
class KonsoleViewPart;
namespace KParts {
diff --git a/parts/konsole/kdevkonsoleview.desktop b/parts/konsole/tdevkonsoleview.desktop
index 4a9fa14e..edc9018f 100644
--- a/parts/konsole/kdevkonsoleview.desktop
+++ b/parts/konsole/tdevkonsoleview.desktop
@@ -80,7 +80,7 @@ GenericName[zh_CN]=嵌入的 Konsole
GenericName[zh_TW]=嵌入式主控台
Icon=konsole
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevkonsoleview
+X-TDE-Library=libtdevkonsoleview
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=Console
diff --git a/parts/openwith/CMakeLists.txt b/parts/openwith/CMakeLists.txt
index 8384bdaa..d870a3e0 100644
--- a/parts/openwith/CMakeLists.txt
+++ b/parts/openwith/CMakeLists.txt
@@ -26,12 +26,12 @@ link_directories(
##### other data ################################
-install( FILES kdevopenwith.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevopenwith.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevopenwith (module) ##################
+##### libtdevopenwith (module) ##################
-tde_add_kpart( libkdevopenwith AUTOMOC
+tde_add_kpart( libtdevopenwith AUTOMOC
SOURCES openwithpart.cpp
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/openwith/Makefile.am b/parts/openwith/Makefile.am
index 57503a0e..316572ef 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 = libkdevopenwith.la
-libkdevopenwith_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevopenwith_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevopenwith.la
+libtdevopenwith_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevopenwith_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevopenwith_la_SOURCES = openwithpart.cpp
+libtdevopenwith_la_SOURCES = openwithpart.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevopenwith.desktop
+service_DATA = tdevopenwith.desktop
diff --git a/parts/openwith/openwithpart.cpp b/parts/openwith/openwithpart.cpp
index 63fcc6d9..a223f193 100644
--- a/parts/openwith/openwithpart.cpp
+++ b/parts/openwith/openwithpart.cpp
@@ -3,7 +3,7 @@
#include <tqfile.h>
#include <tdepopupmenu.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kdebug.h>
#include <kmimetype.h>
#include <ktrader.h>
@@ -11,18 +11,18 @@
#include <tdeaction.h>
#include <kcharsets.h>
-#include "kdevpartcontroller.h"
-#include "kdevcore.h"
-#include "kdevplugininfo.h"
+#include "tdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevplugininfo.h"
#include "urlutil.h"
-typedef KDevGenericFactory<OpenWithPart> OpenWithFactory;
+typedef TDevGenericFactory<OpenWithPart> OpenWithFactory;
-static const KDevPluginInfo data("kdevopenwith");
-K_EXPORT_COMPONENT_FACTORY(libkdevopenwith, OpenWithFactory(data))
+static const TDevPluginInfo data("tdevopenwith");
+K_EXPORT_COMPONENT_FACTORY(libtdevopenwith, OpenWithFactory(data))
OpenWithPart::OpenWithPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "OpenWithPart")
+ : TDevPlugin(&data, parent, name ? name : "OpenWithPart")
{
setInstance( OpenWithFactory::instance() );
diff --git a/parts/openwith/openwithpart.h b/parts/openwith/openwithpart.h
index bd338a3f..0c9a20ac 100644
--- a/parts/openwith/openwithpart.h
+++ b/parts/openwith/openwithpart.h
@@ -3,13 +3,13 @@
#include <kurl.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
class TQPopupMenu;
class Context;
-class OpenWithPart : public KDevPlugin
+class OpenWithPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/openwith/kdevopenwith.desktop b/parts/openwith/tdevopenwith.desktop
index 0108daaa..fa1be30d 100644
--- a/parts/openwith/kdevopenwith.desktop
+++ b/parts/openwith/tdevopenwith.desktop
@@ -76,7 +76,7 @@ GenericName[zh_CN]=“打开方式”菜单项
GenericName[zh_TW]="開啟方式"選單
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevopenwith
+X-TDE-Library=libtdevopenwith
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=GlobalFileManagement,FileOpenWith
diff --git a/parts/outputviews/CMakeLists.txt b/parts/outputviews/CMakeLists.txt
index 48cf38ec..18effab8 100644
--- a/parts/outputviews/CMakeLists.txt
+++ b/parts/outputviews/CMakeLists.txt
@@ -30,40 +30,40 @@ link_directories(
##### other data ################################
install( FILES
- kdevappoutputview.desktop kdevmakeview.desktop
+ tdevappoutputview.desktop tdevmakeview.desktop
DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES
- kdevmakeview.rc
- DESTINATION ${DATA_INSTALL_DIR}/kdevappoutputview )
+ tdevmakeview.rc
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappoutputview )
install( FILES
- kdevmakeview.rc
- DESTINATION ${DATA_INSTALL_DIR}/kdevmakeview )
+ tdevmakeview.rc
+ DESTINATION ${DATA_INSTALL_DIR}/tdevmakeview )
-##### libkdevmakeview (module) ##################
+##### libtdevmakeview (module) ##################
-tde_add_kpart( libkdevmakeview AUTOMOC
+tde_add_kpart( libtdevmakeview AUTOMOC
SOURCES
makeviewpart.cpp makewidget.cpp
directorystatusmessagefilter.cpp outputfilter.cpp
compileerrorfilter.cpp commandcontinuationfilter.cpp
makeitem.cpp makeactionfilter.cpp otherfilter.cpp
LINK
- kdevdcopextensions-static kdevextensions-static
- kdevwidgets-shared tdevelop-shared
+ tdevdcopextensions-static tdevextensions-static
+ tdevwidgets-shared tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
-##### libkdevappview (module) ###################
+##### libtdevappview (module) ###################
-tde_add_kpart( libkdevappview AUTOMOC
+tde_add_kpart( libtdevappview AUTOMOC
SOURCES
appoutputviewpart.cpp appoutputwidget.cpp filterdlg.ui
LINK
- kdevdcopextensions-static kdevextensions-static
- kdevwidgets-shared tdevelop-shared
+ tdevdcopextensions-static tdevextensions-static
+ tdevwidgets-shared tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/parts/outputviews/Makefile.am b/parts/outputviews/Makefile.am
index 6a890586..6536d0f2 100644
--- a/parts/outputviews/Makefile.am
+++ b/parts/outputviews/Makefile.am
@@ -4,32 +4,32 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/interfaces/extensions/dcop -I$(top_srcdir)/lib/util \
-I$(top_srcdir)/lib/widgets $(all_includes)
-kde_module_LTLIBRARIES = libkdevmakeview.la libkdevappview.la
+kde_module_LTLIBRARIES = libtdevmakeview.la libtdevappview.la
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevappoutputview.desktop kdevmakeview.desktop
+service_DATA = tdevappoutputview.desktop tdevmakeview.desktop
-rc1dir = $(kde_datadir)/kdevappoutputview
-rc1_DATA = kdevmakeview.rc
+rc1dir = $(kde_datadir)/tdevappoutputview
+rc1_DATA = tdevmakeview.rc
-rc2dir = $(kde_datadir)/kdevmakeview
-rc2_DATA = kdevmakeview.rc
+rc2dir = $(kde_datadir)/tdevmakeview
+rc2_DATA = tdevmakeview.rc
noinst_HEADERS = filterdlg.h
-libkdevmakeview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevmakeview_la_LIBADD = $(top_builddir)/lib/widgets/libkdevwidgets.la \
- $(top_builddir)/lib/interfaces/extensions/dcop/libkdevdcopextensions.la $(top_builddir)/lib/libtdevelop.la \
- $(LIB_TDEHTML) $(top_builddir)/lib/interfaces/extensions/libkdevextensions.la
-libkdevmakeview_la_SOURCES = makeviewpart.cpp makewidget.cpp \
+libtdevmakeview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevmakeview_la_LIBADD = $(top_builddir)/lib/widgets/libtdevwidgets.la \
+ $(top_builddir)/lib/interfaces/extensions/dcop/libtdevdcopextensions.la $(top_builddir)/lib/libtdevelop.la \
+ $(LIB_TDEHTML) $(top_builddir)/lib/interfaces/extensions/libtdevextensions.la
+libtdevmakeview_la_SOURCES = makeviewpart.cpp makewidget.cpp \
directorystatusmessagefilter.cpp outputfilter.cpp compileerrorfilter.cpp commandcontinuationfilter.cpp \
makeitem.cpp makeactionfilter.cpp otherfilter.cpp
-libkdevappview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevappview_la_LIBADD = $(top_builddir)/lib/widgets/libkdevwidgets.la \
- $(top_builddir)/lib/interfaces/extensions/dcop/libkdevdcopextensions.la $(top_builddir)/lib/libtdevelop.la \
- $(LIB_TDEHTML) $(top_builddir)/lib/interfaces/extensions/libkdevextensions.la
-libkdevappview_la_SOURCES = appoutputviewpart.cpp appoutputwidget.cpp \
+libtdevappview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevappview_la_LIBADD = $(top_builddir)/lib/widgets/libtdevwidgets.la \
+ $(top_builddir)/lib/interfaces/extensions/dcop/libtdevdcopextensions.la $(top_builddir)/lib/libtdevelop.la \
+ $(LIB_TDEHTML) $(top_builddir)/lib/interfaces/extensions/libtdevextensions.la
+libtdevappview_la_SOURCES = appoutputviewpart.cpp appoutputwidget.cpp \
filterdlg.ui
diff --git a/parts/outputviews/appoutputviewpart.cpp b/parts/outputviews/appoutputviewpart.cpp
index 3a0e0e7d..223d3855 100644
--- a/parts/outputviews/appoutputviewpart.cpp
+++ b/parts/outputviews/appoutputviewpart.cpp
@@ -18,27 +18,27 @@
#include <tdeaction.h>
#include <kiconloader.h>
#include <tdeparts/part.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include <tdeapplication.h>
-#include "kdevproject.h"
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
+#include "tdevproject.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
#include "appoutputwidget.h"
-#include "kdevpartcontroller.h"
+#include "tdevpartcontroller.h"
#include "settings.h"
-static const KDevPluginInfo data("kdevappoutputview");
-typedef KDevGenericFactory< AppOutputViewPart > AppViewFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevappview, AppViewFactory( data ) )
+static const TDevPluginInfo data("tdevappoutputview");
+typedef TDevGenericFactory< AppOutputViewPart > AppViewFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevappview, AppViewFactory( data ) )
AppOutputViewPart::AppOutputViewPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevAppFrontend(&data, parent, name ? name : "AppOutputViewPart")
+ : TDevAppFrontend(&data, parent, name ? name : "AppOutputViewPart")
{
setInstance(AppViewFactory::instance());
- m_dcop = new KDevAppFrontendIface(this);
+ m_dcop = new TDevAppFrontendIface(this);
m_widget = new AppOutputWidget(this);
m_widget->setIcon( SmallIcon("openterm") );
@@ -51,8 +51,8 @@ AppOutputViewPart::AppOutputViewPart(TQObject *parent, const char *name, const T
mainWindow()->embedOutputView(m_widget, i18n("Application"), i18n("Output of the executed user program"));
hideView();
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)),
+ this, TQT_SLOT(slotStopButtonClicked(TDevPlugin*)) );
connect(m_widget, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited()));
connect(m_widget, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SIGNAL(processExited()));
}
@@ -66,7 +66,7 @@ AppOutputViewPart::~AppOutputViewPart()
delete m_dcop;
}
-void AppOutputViewPart::slotStopButtonClicked( KDevPlugin* which )
+void AppOutputViewPart::slotStopButtonClicked( TDevPlugin* which )
{
if ( which != 0 && which != this )
return;
diff --git a/parts/outputviews/appoutputviewpart.h b/parts/outputviews/appoutputviewpart.h
index 1067af97..306108cd 100644
--- a/parts/outputviews/appoutputviewpart.h
+++ b/parts/outputviews/appoutputviewpart.h
@@ -14,13 +14,13 @@
#include <tqguardedptr.h>
-#include "kdevappfrontend.h"
-#include "KDevAppFrontendIface.h"
+#include "tdevappfrontend.h"
+#include "TDevAppFrontendIface.h"
class AppOutputWidget;
-class AppOutputViewPart : public KDevAppFrontend
+class AppOutputViewPart : public TDevAppFrontend
{
Q_OBJECT
@@ -45,12 +45,12 @@ signals:
void processExited();
private slots:
- void slotStopButtonClicked(KDevPlugin*);
+ void slotStopButtonClicked(TDevPlugin*);
void slotProcessExited();
private:
TQGuardedPtr<AppOutputWidget> m_widget;
- KDevAppFrontendIface *m_dcop;
+ TDevAppFrontendIface *m_dcop;
bool m_viewIsVisible;
};
diff --git a/parts/outputviews/appoutputwidget.cpp b/parts/outputviews/appoutputwidget.cpp
index 50060339..0201ce5c 100644
--- a/parts/outputviews/appoutputwidget.cpp
+++ b/parts/outputviews/appoutputwidget.cpp
@@ -33,9 +33,9 @@
#include "appoutputviewpart.h"
#include "filterdlg.h"
-#include "kdevpartcontroller.h"
-#include "kdevmainwindow.h"
-#include "kdevproject.h"
+#include "tdevpartcontroller.h"
+#include "tdevmainwindow.h"
+#include "tdevproject.h"
AppOutputWidget::AppOutputWidget(AppOutputViewPart* part)
: ProcessWidget(0, "app output widget"), m_part(part)
diff --git a/parts/outputviews/makeactionfilter.cpp b/parts/outputviews/makeactionfilter.cpp
index ee38d144..157a2c2e 100644
--- a/parts/outputviews/makeactionfilter.cpp
+++ b/parts/outputviews/makeactionfilter.cpp
@@ -184,11 +184,11 @@ void MakeActionFilter::test()
"-I/usr/X11R6/include -DTQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W "
"-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion "
"-Wchar-subscripts -fno-builtin -g3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new "
- "-fno-common -MT kdevcore.lo -MD -MP -MF \".deps/kdevcore.Tpo\" -c -o kdevcore.lo `test -f "
- "'/home/john/src/kde/tdevelop/lib/interfaces/kdevcore.cpp' || echo "
- "'/home/john/src/kde/tdevelop/lib/interfaces/'`/home/john/src/kde/tdevelop/lib/interfaces/kdevcore.cpp; then mv "
- "\".deps/kdevcore.Tpo\" \".deps/kdevcore.Plo\"; else rm -f \".deps/kdevcore.Tpo\"; exit 1; fi",
- "compiling", "g++", "kdevcore.cpp" )
+ "-fno-common -MT tdevcore.lo -MD -MP -MF \".deps/tdevcore.Tpo\" -c -o tdevcore.lo `test -f "
+ "'/home/john/src/kde/tdevelop/lib/interfaces/tdevcore.cpp' || echo "
+ "'/home/john/src/kde/tdevelop/lib/interfaces/'`/home/john/src/kde/tdevelop/lib/interfaces/tdevcore.cpp; then mv "
+ "\".deps/tdevcore.Tpo\" \".deps/tdevcore.Plo\"; else rm -f \".deps/tdevcore.Tpo\"; exit 1; fi",
+ "compiling", "g++", "tdevcore.cpp" )
<< TestItem( // automake 1.7, srcdir != builddir
"if g++ -DHAVE_CONFIG_H -I. -I/home/john/src/kde/tdevelop/src -I.. -I/home/john/src/kde/tdevelop/lib/interfaces "
"-I/home/john/src/kde/tdevelop/lib/sourceinfo -I/home/john/src/kde/tdevelop/lib/util -I/home/john/src/kde/tdevelop/lib "
@@ -222,12 +222,12 @@ void MakeActionFilter::test()
"/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic "
"-W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align "
"-Wconversion -Wchar-subscripts -fno-builtin -g3 -Wformat-security -Wmissing-format-attribute -fno-exceptions "
- "-fno-check-new -fno-common -o libkdevoutputviews.la.closure libkdevoutputviews_la_closure.lo -L/usr/X11R6/lib "
+ "-fno-check-new -fno-common -o libtdevoutputviews.la.closure libtdevoutputviews_la_closure.lo -L/usr/X11R6/lib "
"-L/home/john/src/kde/qt-copy/lib -L/usr/local/kde/lib -avoid-version -module -no-undefined -R /usr/local/kde/lib "
"-R /home/john/src/kde/qt-copy/lib -R /usr/X11R6/lib outputviewsfactory.lo makeviewpart.lo makewidget.lo "
"appoutputviewpart.lo appoutputwidget.lo directorystatusmessagefilter.lo outputfilter.lo compileerrorfilter.lo "
"commandcontinuationfilter.lo makeitem.lo makeactionfilter.lo otherfilter.lo ../../lib/libtdevelop.la",
- "linking", "libtool", "libkdevoutputviews.la.closure" )
+ "linking", "libtool", "libtdevoutputviews.la.closure" )
<< TestItem( //libtool, linking 2
"/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic "
"-W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts "
@@ -254,12 +254,12 @@ void MakeActionFilter::test()
"echo '/home/andris/cvs-developement/head/quanta/quanta/project/'`/home/andris/cvs-developement/head/quanta/quanta/project/project.cpp ",
"compiling", "g++", "project.cpp")
<< TestItem(
- "/usr/local/kde/bin/dcopidl /home/john/src/kde/tdevelop/lib/interfaces/KDevAppFrontendIface.h > KDevAppFrontendIface.kidl "
- "|| ( rm -f KDevAppFrontendIface.kidl ; /bin/false )",
- "generating", "dcopidl", "KDevAppFrontendIface.kidl" )
+ "/usr/local/kde/bin/dcopidl /home/john/src/kde/tdevelop/lib/interfaces/TDevAppFrontendIface.h > TDevAppFrontendIface.kidl "
+ "|| ( rm -f TDevAppFrontendIface.kidl ; /bin/false )",
+ "generating", "dcopidl", "TDevAppFrontendIface.kidl" )
<< TestItem(
- "/usr/local/kde/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub KDevAppFrontendIface.kidl",
- "compiling", "dcopidl2cpp", "KDevAppFrontendIface.kidl" )
+ "/usr/local/kde/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub TDevAppFrontendIface.kidl",
+ "compiling", "dcopidl2cpp", "TDevAppFrontendIface.kidl" )
<< TestItem( //install
"/usr/bin/install -c -p -m 644 /home/andris/development/quanta/quanta/kommander/editor/kmdr-editor.desktop "
"/opt/trinity/share/applnk/Editors/kmdr-editor.desktop", "installing", "", "/opt/trinity/share/applnk/Editors/kmdr-editor.desktop")
diff --git a/parts/outputviews/makeviewpart.cpp b/parts/outputviews/makeviewpart.cpp
index 9324bcb0..e8eb6a75 100644
--- a/parts/outputviews/makeviewpart.cpp
+++ b/parts/outputviews/makeviewpart.cpp
@@ -17,27 +17,27 @@
#include <tdelocale.h>
#include <tdeaction.h>
#include <kiconloader.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
-#include "kdevproject.h"
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
+#include "tdevproject.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
#include "makewidget.h"
-static const KDevPluginInfo data("kdevmakeview");
-typedef KDevGenericFactory< MakeViewPart > MakeViewFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevmakeview, MakeViewFactory( data ) )
+static const TDevPluginInfo data("tdevmakeview");
+typedef TDevGenericFactory< MakeViewPart > MakeViewFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevmakeview, MakeViewFactory( data ) )
MakeViewPart::MakeViewPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevMakeFrontend(&data, parent, name)
+ : TDevMakeFrontend(&data, parent, name)
{
setInstance(MakeViewFactory::instance());
- setXMLFile("kdevmakeview.rc");
+ setXMLFile("tdevmakeview.rc");
- m_dcop = new KDevMakeFrontendIface(this);
+ m_dcop = new TDevMakeFrontendIface(this);
m_widget = new MakeWidget(this);
m_widget->setIcon( SmallIcon("exec") );
@@ -61,8 +61,8 @@ MakeViewPart::MakeViewPart(TQObject *parent, const char *name, const TQStringLis
action->setToolTip( i18n("Go to the previous error") );
action->setWhatsThis(i18n("<b>Previous error</b><p>Switches to the file and line where the previous error was reported from."));
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)),
+ this, TQT_SLOT(slotStopButtonClicked(TDevPlugin*)) );
}
@@ -74,7 +74,7 @@ MakeViewPart::~MakeViewPart()
delete m_dcop;
}
-void MakeViewPart::slotStopButtonClicked(KDevPlugin* which)
+void MakeViewPart::slotStopButtonClicked(TDevPlugin* which)
{
if ( which != 0 && which != this )
return;
diff --git a/parts/outputviews/makeviewpart.h b/parts/outputviews/makeviewpart.h
index 89f2a8bd..420eebcb 100644
--- a/parts/outputviews/makeviewpart.h
+++ b/parts/outputviews/makeviewpart.h
@@ -14,13 +14,13 @@
#include <tqguardedptr.h>
-#include "kdevmakefrontend.h"
-#include "KDevMakeFrontendIface.h"
+#include "tdevmakefrontend.h"
+#include "TDevMakeFrontendIface.h"
class MakeWidget;
-class MakeViewPart : public KDevMakeFrontend
+class MakeViewPart : public TDevMakeFrontend
{
Q_OBJECT
@@ -32,7 +32,7 @@ public:
virtual void updateSettingsFromConfig();
private slots:
- void slotStopButtonClicked(KDevPlugin*);
+ void slotStopButtonClicked(TDevPlugin*);
protected:
virtual void queueCommand(const TQString &dir, const TQString &command);
@@ -40,7 +40,7 @@ protected:
private:
TQGuardedPtr<MakeWidget> m_widget;
- KDevMakeFrontendIface *m_dcop;
+ TDevMakeFrontendIface *m_dcop;
friend class MakeWidget;
};
diff --git a/parts/outputviews/makewidget.cpp b/parts/outputviews/makewidget.cpp
index 029efdc6..0e2e6aef 100644
--- a/parts/outputviews/makewidget.cpp
+++ b/parts/outputviews/makewidget.cpp
@@ -10,10 +10,10 @@
***************************************************************************/
#include "makewidget.h"
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
-#include "kdevproject.h"
-#include "kdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
+#include "tdevproject.h"
+#include "tdevpartcontroller.h"
#include "processlinemaker.h"
#include "makeviewpart.h"
#include "makeitem.h"
diff --git a/parts/outputviews/outputviewsfactory.cpp b/parts/outputviews/outputviewsfactory.cpp
index 55e5bf55..d63621d6 100644
--- a/parts/outputviews/outputviewsfactory.cpp
+++ b/parts/outputviews/outputviewsfactory.cpp
@@ -11,11 +11,11 @@
#include "outputviewsfactory.h"
-static const KDevPluginInfo data("kdevoutputviews", I18N_NOOP("Messages Output"), "1.0");
+static const TDevPluginInfo data("tdevoutputviews", I18N_NOOP("Messages Output"), "1.0");
-K_EXPORT_COMPONENT_FACTORY( libkdevoutputviews, OutputViewsFactory( &data ) )
+K_EXPORT_COMPONENT_FACTORY( libtdevoutputviews, OutputViewsFactory( &data ) )
-const KDevPluginInfo *outputViewsInfo()
+const TDevPluginInfo *outputViewsInfo()
{
return data;
}
diff --git a/parts/outputviews/outputviewsfactory.h b/parts/outputviews/outputviewsfactory.h
index 4bcba666..e79e60a2 100644
--- a/parts/outputviews/outputviewsfactory.h
+++ b/parts/outputviews/outputviewsfactory.h
@@ -12,16 +12,16 @@
#ifndef _OUTPUTVIEWSFACTORY_H_
#define _OUTPUTVIEWSFACTORY_H_
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include "appoutputviewpart.h"
#include "makeviewpart.h"
-class KDevPluginInfo;
+class TDevPluginInfo;
typedef K_TYPELIST_2( AppOutputViewPart, MakeViewPart ) OutputViews;
-typedef KDevGenericFactory< OutputViews > OutputViewsFactory;
+typedef TDevGenericFactory< OutputViews > OutputViewsFactory;
-const KDevPluginInfo *outputViewsInfo();
+const TDevPluginInfo *outputViewsInfo();
#endif
diff --git a/parts/outputviews/kdevappoutputview.desktop b/parts/outputviews/tdevappoutputview.desktop
index bca43d54..7791162d 100644
--- a/parts/outputviews/kdevappoutputview.desktop
+++ b/parts/outputviews/tdevappoutputview.desktop
@@ -34,15 +34,15 @@ Comment[tg]=Тирезаи хориҷ кардани гузориш
Comment[tr]=Uygulama Çıktı Görünümü
Comment[zh_CN]=应用程序输出查看器
Comment[zh_TW]=應用程式輸出檢視
-Name=KDevAppOutputView
+Name=TDevAppOutputView
Name[da]=TDevelop Program-uddata fremvisning
Name[de]=Anwendungsausgabe (TDevelop)
Name[hi]=के-डेव-एप्प-आउटपुट-व्यू
Name[nds]=Programmutgaav-Kieker (TDevelop)
-Name[pl]=KDevAppWidokWyjścia
+Name[pl]=TDevAppWidokWyjścia
Name[sk]=KDev pohľad na výstup aplikácie
Name[sv]=TDevelop programutmatningsvy
-Name[ta]=KDevApp வெளியீட்டுக் காட்சி
+Name[ta]=TDevApp வெளியீட்டுக் காட்சி
Name[zh_TW]=TDevelop 應用程式輸出檢視
GenericName=Application Output View
GenericName[ca]=Visor de l'eixida de les aplicacions
@@ -78,7 +78,7 @@ GenericName[zh_CN]=应用程序输出查看器
GenericName[zh_TW]=應用程式輸出檢視
Icon=exec
ServiceTypes=TDevelop/AppFrontend
-X-TDE-Library=libkdevappview
+X-TDE-Library=libtdevappview
X-TDevelop-Version=5
X-TDevelop-Scope=Core
X-TDevelop-Properties=OutputTool
diff --git a/parts/outputviews/kdevmakeview.desktop b/parts/outputviews/tdevmakeview.desktop
index bfea5cec..5651f031 100644
--- a/parts/outputviews/kdevmakeview.desktop
+++ b/parts/outputviews/tdevmakeview.desktop
@@ -35,7 +35,7 @@ Comment[tg]=Интерфейс ба талфифгар
Comment[tr]=Derleyici Önucu
Comment[zh_CN]=编译器前端
Comment[zh_TW]=編譯器前端介面
-Name=KDevMakeView
+Name=TDevMakeView
Name[da]=TDevelop Make-visning
Name[de]=Make-Ausgabe (TDevelop)
Name[hi]=के-डेव-मेक-व्यू
@@ -81,7 +81,7 @@ GenericName[zh_CN]=编译器前端
GenericName[zh_TW]=編譯器前端介面
Icon=konsole
ServiceTypes=TDevelop/MakeFrontend
-X-TDE-Library=libkdevmakeview
+X-TDE-Library=libtdevmakeview
X-TDevelop-Version=5
X-TDevelop-Scope=Core
X-TDevelop-Properties=OutputTool
diff --git a/parts/outputviews/kdevmakeview.rc b/parts/outputviews/tdevmakeview.rc
index fc8c82f6..869191cb 100644
--- a/parts/outputviews/kdevmakeview.rc
+++ b/parts/outputviews/tdevmakeview.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="KDevMakeView" version="1">
+<kpartgui name="TDevMakeView" version="1">
<MenuBar>
<Menu name="view">
<Action name="view_next_error" group="error_operations"/>
diff --git a/parts/partexplorer/CMakeLists.txt b/parts/partexplorer/CMakeLists.txt
index 7fe5080f..8b9b130f 100644
--- a/parts/partexplorer/CMakeLists.txt
+++ b/parts/partexplorer/CMakeLists.txt
@@ -25,13 +25,13 @@ link_directories(
##### other data ################################
-install( FILES kdevpartexplorer.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpartexplorer.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpartexplorer )
+install( FILES tdevpartexplorer.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpartexplorer.rc DESTINATION ${DATA_INSTALL_DIR}/tdevpartexplorer )
-##### libkdevpartexplorer (module) ##############
+##### libtdevpartexplorer (module) ##############
-tde_add_kpart( libkdevpartexplorer AUTOMOC
+tde_add_kpart( libtdevpartexplorer AUTOMOC
SOURCES
partexplorerformbase.ui partexplorerform.cpp
partexplorer_plugin.cpp
diff --git a/parts/partexplorer/Makefile.am b/parts/partexplorer/Makefile.am
index fcb6caff..b0d8dd8a 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 = libkdevpartexplorer.la
-libkdevpartexplorer_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevpartexplorer_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevpartexplorer.la
+libtdevpartexplorer_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevpartexplorer_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevpartexplorer_la_SOURCES = partexplorerformbase.ui partexplorerform.cpp partexplorer_plugin.cpp
+libtdevpartexplorer_la_SOURCES = partexplorerformbase.ui partexplorerform.cpp partexplorer_plugin.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevpartexplorer.desktop
+service_DATA = tdevpartexplorer.desktop
-rcdir = $(kde_datadir)/kdevpartexplorer
-rc_DATA = kdevpartexplorer.rc
+rcdir = $(kde_datadir)/tdevpartexplorer
+rc_DATA = tdevpartexplorer.rc
diff --git a/parts/partexplorer/partexplorer_plugin.cpp b/parts/partexplorer/partexplorer_plugin.cpp
index d5240edb..43ab5717 100644
--- a/parts/partexplorer/partexplorer_plugin.cpp
+++ b/parts/partexplorer/partexplorer_plugin.cpp
@@ -13,28 +13,28 @@
#include <kinstance.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kdebug.h>
#include <tdeaction.h>
#include <tdemainwindow.h>
-#include <kdevplugininfo.h>
-#include <kdevmainwindow.h>
+#include <tdevplugininfo.h>
+#include <tdevmainwindow.h>
#include "partexplorerform.h"
-static const KDevPluginInfo data("kdevpartexplorer");
+static const TDevPluginInfo data("tdevpartexplorer");
-typedef KDevGenericFactory<PartExplorerPlugin> PartExplorerPluginFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevpartexplorer, PartExplorerPluginFactory( data ) )
+typedef TDevGenericFactory<PartExplorerPlugin> PartExplorerPluginFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevpartexplorer, PartExplorerPluginFactory( data ) )
PartExplorerPlugin::PartExplorerPlugin( TQObject *parent, const char *name, const TQStringList & )
- : KDevPlugin( &data, parent, name ? name : "PartExplorerPlugin" )
+ : TDevPlugin( &data, parent, name ? name : "PartExplorerPlugin" )
{
// we need an instance
setInstance( PartExplorerPluginFactory::instance() );
- setXMLFile( "kdevpartexplorer.rc" );
+ setXMLFile( "tdevpartexplorer.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 eea44750..622ff002 100644
--- a/parts/partexplorer/partexplorer_plugin.h
+++ b/parts/partexplorer/partexplorer_plugin.h
@@ -14,14 +14,14 @@
#include <tqguardedptr.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
class TQWidget;
class TQPainter;
class KURL;
class PartExplorerForm;
-class PartExplorerPlugin : public KDevPlugin
+class PartExplorerPlugin : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/partexplorer/kdevpartexplorer.desktop b/parts/partexplorer/tdevpartexplorer.desktop
index ff432eeb..0e1242c4 100644
--- a/parts/partexplorer/kdevpartexplorer.desktop
+++ b/parts/partexplorer/tdevpartexplorer.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=KDevPartExplorer
+Name=TDevPartExplorer
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=libkdevpartexplorer
+X-TDE-Library=libtdevpartexplorer
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=KDEDevelopment
diff --git a/parts/partexplorer/kdevpartexplorer.rc b/parts/partexplorer/tdevpartexplorer.rc
index 9632115b..1dff4ed6 100644
--- a/parts/partexplorer/kdevpartexplorer.rc
+++ b/parts/partexplorer/tdevpartexplorer.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="KDevPartExplorer" version="4">
+<kpartgui name="TDevPartExplorer" version="4">
<MenuBar>
<Menu name="tools" >
<Action name="show_partexplorerform"/>
diff --git a/parts/quickopen/CMakeLists.txt b/parts/quickopen/CMakeLists.txt
index cb82433f..ad6fa926 100644
--- a/parts/quickopen/CMakeLists.txt
+++ b/parts/quickopen/CMakeLists.txt
@@ -28,13 +28,13 @@ link_directories(
##### other data ################################
-install( FILES kdevquickopen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_quickopen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevquickopen )
+install( FILES tdevquickopen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_quickopen.rc DESTINATION ${DATA_INSTALL_DIR}/tdevquickopen )
-##### libkdevquickopen (module) #################
+##### libtdevquickopen (module) #################
-tde_add_kpart( libkdevquickopen AUTOMOC
+tde_add_kpart( libtdevquickopen AUTOMOC
SOURCES
quickopen_part.cpp quickopendialog.cpp
quickopenclassdialog.cpp quickopenbase.ui
diff --git a/parts/quickopen/Makefile.am b/parts/quickopen/Makefile.am
index ca7ed3dd..cce44ae3 100644
--- a/parts/quickopen/Makefile.am
+++ b/parts/quickopen/Makefile.am
@@ -1,17 +1,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/interfaces/extensions \
-I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets $(all_includes)
-kde_module_LTLIBRARIES = libkdevquickopen.la
-libkdevquickopen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevquickopen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libkdevwidgets.la $(LIB_TDEHTML)
+kde_module_LTLIBRARIES = libtdevquickopen.la
+libtdevquickopen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevquickopen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libtdevwidgets.la $(LIB_TDEHTML)
-libkdevquickopen_la_SOURCES = quickopen_part.cpp quickopendialog.cpp quickopenclassdialog.cpp quickopenbase.ui quickopenfiledialog.cpp quickopenfunctiondialog.cpp quickopenfunctionchooseformbase.ui quickopenfunctionchooseform.cpp
+libtdevquickopen_la_SOURCES = quickopen_part.cpp quickopendialog.cpp quickopenclassdialog.cpp quickopenbase.ui quickopenfiledialog.cpp quickopenfunctiondialog.cpp quickopenfunctionchooseformbase.ui quickopenfunctionchooseform.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevquickopen.desktop
+service_DATA = tdevquickopen.desktop
-rcdir = $(kde_datadir)/kdevquickopen
-rc_DATA = kdevpart_quickopen.rc
+rcdir = $(kde_datadir)/tdevquickopen
+rc_DATA = tdevpart_quickopen.rc
noinst_HEADERS = quickopendialog.h quickopenclassdialog.h quickopenfiledialog.h quickopenfunctiondialog.h quickopenfunctionchooseform.h
diff --git a/parts/quickopen/quickopen_part.cpp b/parts/quickopen/quickopen_part.cpp
index 4d316e68..3a8a10c4 100644
--- a/parts/quickopen/quickopen_part.cpp
+++ b/parts/quickopen/quickopen_part.cpp
@@ -27,25 +27,25 @@
#include <kiconloader.h>
#include <tdelocale.h>
#include <klineedit.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include <tdemainwindow.h>
#include <tdeparts/part.h>
#include <tdetexteditor/document.h>
-#include <kdevmainwindow.h>
-#include <kdevcore.h>
-#include <kdevpartcontroller.h>
-#include <kdevproject.h>
+#include <tdevmainwindow.h>
+#include <tdevcore.h>
+#include <tdevpartcontroller.h>
+#include <tdevproject.h>
#include <codebrowserfrontend.h>
-#include "kdeveditorutil.h"
+#include "tdeveditorutil.h"
-typedef KDevGenericFactory<QuickOpenPart> QuickOpenFactory;
-static const KDevPluginInfo data("kdevquickopen");
-K_EXPORT_COMPONENT_FACTORY( libkdevquickopen, QuickOpenFactory( data ) )
+typedef TDevGenericFactory<QuickOpenPart> QuickOpenFactory;
+static const TDevPluginInfo data("tdevquickopen");
+K_EXPORT_COMPONENT_FACTORY( libtdevquickopen, QuickOpenFactory( data ) )
using namespace KTextEditor;
@@ -53,7 +53,7 @@ QuickOpenPart::QuickOpenPart(TQObject *parent, const char *name, const TQStringL
: KDevQuickOpen(&data, parent, name ? name : "QuickOpenPart" )
{
setInstance(QuickOpenFactory::instance());
- setXMLFile("kdevpart_quickopen.rc");
+ setXMLFile("tdevpart_quickopen.rc");
m_actionQuickOpen = new TDEAction( i18n("Quick Open File..."), CTRL + ALT + Key_O,
this, TQT_SLOT(slotQuickFileOpen()),
@@ -100,14 +100,14 @@ void QuickOpenPart::slotQuickFileOpen( )
void QuickOpenPart::slotQuickOpenClass( )
{
QuickOpenClassDialog dlg( this, mainWindow()->main() );
- dlg.nameEdit->setText( KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) ) );
+ dlg.nameEdit->setText( TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) ) );
dlg.exec();
}
void QuickOpenPart::slotQuickOpenFunction()
{
QuickOpenFunctionDialog dlg( this, mainWindow()->main() );
- dlg.nameEdit->setText( KDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) ) );
+ dlg.nameEdit->setText( TDevEditorUtil::currentWord( dynamic_cast<KTextEditor::Document*>( partController()->activePart() ) ) );
dlg.exec();
}
@@ -119,7 +119,7 @@ void QuickOpenPart::slotSwitchTo()
void QuickOpenPart::selectItem( ItemDom item )
{
- Extensions::KDevCodeBrowserFrontend* f = extension< Extensions::KDevCodeBrowserFrontend > ( "KDevelop/CodeBrowserFrontend" );
+ Extensions::TDevCodeBrowserFrontend* f = extension< Extensions::TDevCodeBrowserFrontend > ( "KDevelop/CodeBrowserFrontend" );
if(f != 0) {
ItemDom itemDom( &(*item) );
diff --git a/parts/quickopen/quickopen_part.h b/parts/quickopen/quickopen_part.h
index fa1d85e3..aff0d4f6 100644
--- a/parts/quickopen/quickopen_part.h
+++ b/parts/quickopen/quickopen_part.h
@@ -18,11 +18,11 @@
*
*/
-#ifndef __KDEVPART_QUICKOPEN_H__
-#define __KDEVPART_QUICKOPEN_H__
+#ifndef __TDEVPART_QUICKOPEN_H__
+#define __TDEVPART_QUICKOPEN_H__
#include <tqguardedptr.h>
-#include <kdevquickopen.h>
+#include <tdevquickopen.h>
#include <codemodel.h>
class TDEAction;
diff --git a/parts/quickopen/quickopenclassdialog.cpp b/parts/quickopen/quickopenclassdialog.cpp
index 37987166..7dcfd48b 100644
--- a/parts/quickopen/quickopenclassdialog.cpp
+++ b/parts/quickopen/quickopenclassdialog.cpp
@@ -18,9 +18,9 @@
*
*/
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
-#include <kdevlanguagesupport.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
+#include <tdevlanguagesupport.h>
#include <tdelistbox.h>
#include <tdelocale.h>
diff --git a/parts/quickopen/quickopenfiledialog.cpp b/parts/quickopen/quickopenfiledialog.cpp
index 18f15974..fc8da49a 100644
--- a/parts/quickopen/quickopenfiledialog.cpp
+++ b/parts/quickopen/quickopenfiledialog.cpp
@@ -18,8 +18,8 @@
*
*/
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
#include <tdelistbox.h>
diff --git a/parts/quickopen/quickopenfunctiondialog.cpp b/parts/quickopen/quickopenfunctiondialog.cpp
index bbcab7e4..14f7a984 100644
--- a/parts/quickopen/quickopenfunctiondialog.cpp
+++ b/parts/quickopen/quickopenfunctiondialog.cpp
@@ -28,11 +28,11 @@
#include <tdemessagebox.h>
#include <klineedit.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <codemodel_utils.h>
-#include <kdevpartcontroller.h>
-#include <kdevproject.h>
-#include <kdevlanguagesupport.h>
+#include <tdevpartcontroller.h>
+#include <tdevproject.h>
+#include <tdevlanguagesupport.h>
#include <tqregexp.h>
diff --git a/parts/quickopen/kdevpart_quickopen.rc b/parts/quickopen/tdevpart_quickopen.rc
index 6a50fc22..6a50fc22 100644
--- a/parts/quickopen/kdevpart_quickopen.rc
+++ b/parts/quickopen/tdevpart_quickopen.rc
diff --git a/parts/quickopen/kdevquickopen.desktop b/parts/quickopen/tdevquickopen.desktop
index 42a8e8ff..ed500ad4 100644
--- a/parts/quickopen/kdevquickopen.desktop
+++ b/parts/quickopen/tdevquickopen.desktop
@@ -75,6 +75,6 @@ GenericName[zh_TW]=快速開啟
Icon=tdevelop
ServiceTypes=TDevelop/QuickOpen
X-TDevelop-Scope=Project
-X-TDE-Library=libkdevquickopen
+X-TDE-Library=libtdevquickopen
X-TDevelop-Version=5
X-TDevelop-Properties=CodeNavigation
diff --git a/parts/regexptest/CMakeLists.txt b/parts/regexptest/CMakeLists.txt
index 608f053c..3bc96414 100644
--- a/parts/regexptest/CMakeLists.txt
+++ b/parts/regexptest/CMakeLists.txt
@@ -25,13 +25,13 @@ link_directories(
##### other data ################################
-install( FILES kdevregexptest.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevregexptest.rc DESTINATION ${DATA_INSTALL_DIR}/kdevregexptest )
+install( FILES tdevregexptest.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevregexptest.rc DESTINATION ${DATA_INSTALL_DIR}/tdevregexptest )
-##### libkdevregexptest (module) ################
+##### libtdevregexptest (module) ################
-tde_add_kpart( libkdevregexptest AUTOMOC
+tde_add_kpart( libtdevregexptest AUTOMOC
SOURCES
regexptestpart.cpp regexptestdlg.cpp regexptestdlgbase.ui
LINK tdevelop-shared
diff --git a/parts/regexptest/Makefile.am b/parts/regexptest/Makefile.am
index df99989f..8e87ac79 100644
--- a/parts/regexptest/Makefile.am
+++ b/parts/regexptest/Makefile.am
@@ -2,16 +2,16 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces $(all_includes)
-kde_module_LTLIBRARIES = libkdevregexptest.la
-libkdevregexptest_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevregexptest_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevregexptest.la
+libtdevregexptest_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevregexptest_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevregexptest_la_SOURCES = regexptestpart.cpp regexptestdlg.cpp regexptestdlgbase.ui
+libtdevregexptest_la_SOURCES = regexptestpart.cpp regexptestdlg.cpp regexptestdlgbase.ui
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevregexptest.desktop
+service_DATA = tdevregexptest.desktop
-rcdir = $(kde_datadir)/kdevregexptest
-rc_DATA = kdevregexptest.rc
+rcdir = $(kde_datadir)/tdevregexptest
+rc_DATA = tdevregexptest.rc
diff --git a/parts/regexptest/regexptestdlg.cpp b/parts/regexptest/regexptestdlg.cpp
index bd426411..200bee12 100644
--- a/parts/regexptest/regexptestdlg.cpp
+++ b/parts/regexptest/regexptestdlg.cpp
@@ -32,11 +32,11 @@
#include <tdeparts/componentfactory.h>
#include <kregexpeditorinterface.h>
-#include "kdevplugin.h"
-#include "kdevpartcontroller.h"
+#include "tdevplugin.h"
+#include "tdevpartcontroller.h"
-RegexpTestDialog::RegexpTestDialog(KDevPlugin *part)
+RegexpTestDialog::RegexpTestDialog(TDevPlugin *part)
: RegexpTestDialogBase(0, "regexp test dialog", false), _regexp_dialog(0)
{
pattern_edit->setFocus();
diff --git a/parts/regexptest/regexptestdlg.h b/parts/regexptest/regexptestdlg.h
index 4c7094a6..09e656d2 100644
--- a/parts/regexptest/regexptestdlg.h
+++ b/parts/regexptest/regexptestdlg.h
@@ -14,7 +14,7 @@
#include "regexptestdlgbase.h"
-class KDevPlugin;
+class TDevPlugin;
class RegexpTestDialog : public RegexpTestDialogBase
@@ -23,7 +23,7 @@ class RegexpTestDialog : public RegexpTestDialogBase
public:
- RegexpTestDialog( KDevPlugin *part );
+ RegexpTestDialog( TDevPlugin *part );
~RegexpTestDialog();
protected:
@@ -39,7 +39,7 @@ private:
virtual void checkKRegExp();
virtual void insertQuoted();
- KDevPlugin *m_part;
+ TDevPlugin *m_part;
TQDialog * _regexp_dialog;
};
diff --git a/parts/regexptest/regexptestpart.cpp b/parts/regexptest/regexptestpart.cpp
index 6c45a492..0ca0b083 100644
--- a/parts/regexptest/regexptestpart.cpp
+++ b/parts/regexptest/regexptestpart.cpp
@@ -12,23 +12,23 @@
#include "regexptestpart.h"
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include <tdeaction.h>
-#include "kdevcore.h"
+#include "tdevcore.h"
#include "regexptestdlg.h"
-static const KDevPluginInfo data("kdevregexptest");
+static const TDevPluginInfo data("tdevregexptest");
-typedef KDevGenericFactory<RegexpTestPart> RegexpTestFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevregexptest, RegexpTestFactory( data ) )
+typedef TDevGenericFactory<RegexpTestPart> RegexpTestFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevregexptest, RegexpTestFactory( data ) )
RegexpTestPart::RegexpTestPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "RegexpTestPart")
+ : TDevPlugin(&data, parent, name ? name : "RegexpTestPart")
{
setInstance(RegexpTestFactory::instance());
- setXMLFile("kdevregexptest.rc");
+ setXMLFile("tdevregexptest.rc");
TDEAction *action;
diff --git a/parts/regexptest/regexptestpart.h b/parts/regexptest/regexptestpart.h
index ec153d90..3488e910 100644
--- a/parts/regexptest/regexptestpart.h
+++ b/parts/regexptest/regexptestpart.h
@@ -14,12 +14,12 @@
#include <tqguardedptr.h>
#include <kdialogbase.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
class RegexpTestDialog;
-class RegexpTestPart : public KDevPlugin
+class RegexpTestPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/regexptest/kdevregexptest.desktop b/parts/regexptest/tdevregexptest.desktop
index 57f93f73..e0978750 100644
--- a/parts/regexptest/kdevregexptest.desktop
+++ b/parts/regexptest/tdevregexptest.desktop
@@ -76,7 +76,7 @@ GenericName[tr]=Düzenli İfade Test Edicisi
GenericName[zh_CN]=正则表达式测试
GenericName[zh_TW]=正規表示式測試器
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevregexptest
+X-TDE-Library=libtdevregexptest
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=ScriptDevelopment,CDevelopment,CPPDevelopment
diff --git a/parts/regexptest/kdevregexptest.rc b/parts/regexptest/tdevregexptest.rc
index 99893d7f..99893d7f 100644
--- a/parts/regexptest/kdevregexptest.rc
+++ b/parts/regexptest/tdevregexptest.rc
diff --git a/parts/replace/CMakeLists.txt b/parts/replace/CMakeLists.txt
index 4779e553..b32da714 100644
--- a/parts/replace/CMakeLists.txt
+++ b/parts/replace/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES kdevreplace.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_replace.rc DESTINATION ${DATA_INSTALL_DIR}/kdevreplace )
+install( FILES tdevreplace.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_replace.rc DESTINATION ${DATA_INSTALL_DIR}/tdevreplace )
-##### libkdevreplace (module) ###################
+##### libtdevreplace (module) ###################
-tde_add_kpart( libkdevreplace AUTOMOC
+tde_add_kpart( libtdevreplace AUTOMOC
SOURCES
replace_part.cpp replace_widget.cpp replacedlg.ui
replaceitem.cpp replaceview.cpp replacedlgimpl.cpp
diff --git a/parts/replace/Makefile.am b/parts/replace/Makefile.am
index 8d75f0e8..36d8e64f 100644
--- a/parts/replace/Makefile.am
+++ b/parts/replace/Makefile.am
@@ -2,15 +2,15 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevreplace.la
-libkdevreplace_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevreplace_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevreplace_la_SOURCES = replace_part.cpp replace_widget.cpp replacedlg.ui replaceitem.cpp replaceview.cpp replacedlgimpl.cpp
+kde_module_LTLIBRARIES = libtdevreplace.la
+libtdevreplace_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevreplace_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+libtdevreplace_la_SOURCES = replace_part.cpp replace_widget.cpp replacedlg.ui replaceitem.cpp replaceview.cpp replacedlgimpl.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevreplace.desktop
+service_DATA = tdevreplace.desktop
-rcdir = $(kde_datadir)/kdevreplace
-rc_DATA = kdevpart_replace.rc
+rcdir = $(kde_datadir)/tdevreplace
+rc_DATA = tdevpart_replace.rc
diff --git a/parts/replace/replace_part.cpp b/parts/replace/replace_part.cpp
index 447548ef..40bfb1ea 100644
--- a/parts/replace/replace_part.cpp
+++ b/parts/replace/replace_part.cpp
@@ -15,25 +15,25 @@
#include <tdeaction.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include <kdebug.h>
#include <kstringhandler.h>
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
#include "replace_widget.h"
-static const KDevPluginInfo data("kdevreplace");
+static const TDevPluginInfo data("tdevreplace");
-typedef KDevGenericFactory<ReplacePart> ReplaceFactory;
-K_EXPORT_COMPONENT_FACTORY(libkdevreplace, ReplaceFactory(data))
+typedef TDevGenericFactory<ReplacePart> ReplaceFactory;
+K_EXPORT_COMPONENT_FACTORY(libtdevreplace, ReplaceFactory(data))
ReplacePart::ReplacePart(TQObject *parent, const char *name, const TQStringList& )
- : KDevPlugin( &data, parent, name ? name : "ReplacePart" )
+ : TDevPlugin( &data, parent, name ? name : "ReplacePart" )
{
setInstance(ReplaceFactory::instance());
- setXMLFile("kdevpart_replace.rc");
+ setXMLFile("tdevpart_replace.rc");
m_widget = new ReplaceWidget(this);
m_widget->setIcon( SmallIcon("filefind") );
diff --git a/parts/replace/replace_part.h b/parts/replace/replace_part.h
index fbd0f2f7..f0316eb0 100644
--- a/parts/replace/replace_part.h
+++ b/parts/replace/replace_part.h
@@ -9,12 +9,12 @@
* *
***************************************************************************/
-#ifndef __KDEVPART_REPLACE_H__
-#define __KDEVPART_REPLACE_H__
+#ifndef __TDEVPART_REPLACE_H__
+#define __TDEVPART_REPLACE_H__
#include <tqguardedptr.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <tqpopupmenu.h>
@@ -22,7 +22,7 @@ class ReplaceWidget;
class TDEAction;
class Context;
-class ReplacePart : public KDevPlugin
+class ReplacePart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/replace/replace_widget.cpp b/parts/replace/replace_widget.cpp
index 6b1bcbda..34dd3afd 100644
--- a/parts/replace/replace_widget.cpp
+++ b/parts/replace/replace_widget.cpp
@@ -26,11 +26,11 @@
#include <tdetexteditor/document.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/selectioninterface.h>
-#include <kdevpartcontroller.h>
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
+#include <tdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
#include <kcombobox.h>
#include <tdelocale.h>
#include <kstdguiitem.h>
@@ -87,7 +87,7 @@ ReplaceWidget::ReplaceWidget(ReplacePart *part)
connect( _cancel, TQT_SIGNAL( clicked() ), TQT_SLOT( clear() ) );
connect( _listview, TQT_SIGNAL( editDocument( const TQString &, int ) ), TQT_SLOT( editDocument( const TQString &, int ) ) );
- connect( m_part->core(), TQT_SIGNAL( stopButtonClicked( KDevPlugin * ) ), TQT_SLOT( stopButtonClicked( KDevPlugin * ) ) );
+ connect( m_part->core(), TQT_SIGNAL( stopButtonClicked( TDevPlugin * ) ), TQT_SLOT( stopButtonClicked( TDevPlugin * ) ) );
}
//BEGIN Slots
@@ -184,7 +184,7 @@ void ReplaceWidget::editDocument( TQString const & file, int line )
m_part->partController()->editDocument( KURL( file ), line );
}
-void ReplaceWidget::stopButtonClicked( KDevPlugin * which )
+void ReplaceWidget::stopButtonClicked( TDevPlugin * which )
{
if ( which != 0 && which != m_part )
return;
diff --git a/parts/replace/replace_widget.h b/parts/replace/replace_widget.h
index c9063928..64ca50e2 100644
--- a/parts/replace/replace_widget.h
+++ b/parts/replace/replace_widget.h
@@ -36,7 +36,7 @@ public:
public slots:
void showDialog();
- void stopButtonClicked( KDevPlugin * );
+ void stopButtonClicked( TDevPlugin * );
protected:
virtual void focusInEvent(TQFocusEvent *e);
diff --git a/parts/replace/kdevpart_replace.rc b/parts/replace/tdevpart_replace.rc
index e3818308..e3818308 100644
--- a/parts/replace/kdevpart_replace.rc
+++ b/parts/replace/tdevpart_replace.rc
diff --git a/parts/replace/kdevreplace.desktop b/parts/replace/tdevreplace.desktop
index d2490c05..cd05c65c 100644
--- a/parts/replace/kdevreplace.desktop
+++ b/parts/replace/tdevreplace.desktop
@@ -75,6 +75,6 @@ GenericName[zh_TW]=取代元件
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Global
-X-TDE-Library=libkdevreplace
+X-TDE-Library=libtdevreplace
X-TDevelop-Version=5
X-TDevelop-Properties=FileReplace
diff --git a/parts/scripting/CMakeLists.txt b/parts/scripting/CMakeLists.txt
index f906bd02..371cf8f6 100644
--- a/parts/scripting/CMakeLists.txt
+++ b/parts/scripting/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES kdevscripting.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevscripting.rc DESTINATION ${DATA_INSTALL_DIR}/kdevscripting )
+install( FILES tdevscripting.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevscripting.rc DESTINATION ${DATA_INSTALL_DIR}/tdevscripting )
-##### libkdevscripting (module) #################
+##### libtdevscripting (module) #################
-tde_add_kpart( libkdevscripting AUTOMOC
+tde_add_kpart( libtdevscripting AUTOMOC
SOURCES
scriptingpart.cpp scriptingglobalconfigbase.ui
scriptingglobalconfig.cpp
diff --git a/parts/scripting/Makefile.am b/parts/scripting/Makefile.am
index 7262dac9..9de6d889 100644
--- a/parts/scripting/Makefile.am
+++ b/parts/scripting/Makefile.am
@@ -1,20 +1,20 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevscripting.la
-libkdevscripting_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevscripting_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevscripting.la
+libtdevscripting_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevscripting_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevscripting_la_SOURCES = scriptingpart.cpp scriptingglobalconfigbase.ui \
+libtdevscripting_la_SOURCES = scriptingpart.cpp scriptingglobalconfigbase.ui \
scriptingglobalconfig.cpp
METASOURCES = AUTO
-appsharedir = $(kde_datadir)/kdevscripting
+appsharedir = $(kde_datadir)/tdevscripting
appshare_DATA =
servicedir = $(kde_servicesdir)
-service_DATA = kdevscripting.desktop
+service_DATA = tdevscripting.desktop
-rcdir = $(kde_datadir)/kdevscripting
-rc_DATA = kdevscripting.rc
+rcdir = $(kde_datadir)/tdevscripting
+rc_DATA = tdevscripting.rc
noinst_HEADERS = scriptingglobalconfig.h scriptingpart.h
diff --git a/parts/scripting/scriptingpart.cpp b/parts/scripting/scriptingpart.cpp
index 80a33c9e..4ebee2b0 100644
--- a/parts/scripting/scriptingpart.cpp
+++ b/parts/scripting/scriptingpart.cpp
@@ -29,29 +29,29 @@
#include <kdialogbase.h>
#include <kiconloader.h>
#include <tdemessagebox.h>
-#include <kdevplugininfo.h>
-#include <kdevgenericfactory.h>
+#include <tdevplugininfo.h>
+#include <tdevgenericfactory.h>
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
#include <configwidgetproxy.h>
#include <tdeapplication.h>
#include <tdeconfig.h>
#include "scriptingglobalconfig.h"
#include "tdescriptactionmanager.h"
-typedef KDevGenericFactory<scriptingPart> scriptingFactory;
-KDevPluginInfo data("kdevscripting");
-K_EXPORT_COMPONENT_FACTORY( libkdevscripting, scriptingFactory( data ) )
+typedef TDevGenericFactory<scriptingPart> scriptingFactory;
+TDevPluginInfo data("tdevscripting");
+K_EXPORT_COMPONENT_FACTORY( libtdevscripting, scriptingFactory( data ) )
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
scriptingPart::scriptingPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
- : KDevPlugin(&data, parent, name ? name : "scriptingPart"), m_scripts(0L)
+ : TDevPlugin(&data, parent, name ? name : "scriptingPart"), m_scripts(0L)
{
setInstance(scriptingFactory::instance());
- setXMLFile("kdevscripting.rc");
+ setXMLFile("tdevscripting.rc");
m_configProxy = new ConfigWidgetProxy(core());
m_configProxy->createGlobalConfigPage(i18n("Scripting"), GLOBALDOC_OPTIONS, info()->icon());
diff --git a/parts/scripting/scriptingpart.h b/parts/scripting/scriptingpart.h
index 832318b9..ca6bafd9 100644
--- a/parts/scripting/scriptingpart.h
+++ b/parts/scripting/scriptingpart.h
@@ -18,10 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef KDEVSCRIPTING_H
-#define KDEVSCRIPTING_H
+#ifndef TDEVSCRIPTING_H
+#define TDEVSCRIPTING_H
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <tqguardedptr.h>
@@ -34,7 +34,7 @@ class KScriptActionManager;
/**
Please read the README.dox file for more info about this part
*/
-class scriptingPart: public KDevPlugin
+class scriptingPart: public TDevPlugin
{
Q_OBJECT
diff --git a/parts/scripting/kdevscripting.desktop b/parts/scripting/tdevscripting.desktop
index 22ef15e8..afa0cc10 100644
--- a/parts/scripting/kdevscripting.desktop
+++ b/parts/scripting/tdevscripting.desktop
@@ -72,6 +72,6 @@ X-TDevelop-Plugin-Copyright=(C) by ian reinhart geiser
X-TDevelop-Args=
X-TDevelop-Scope=Global
-X-TDE-Library=libkdevscripting
+X-TDE-Library=libtdevscripting
X-TDevelop-Version=5
X-TDevelop-Properties=CodeEditing
diff --git a/parts/scripting/kdevscripting.rc b/parts/scripting/tdevscripting.rc
index 217bece1..217bece1 100644
--- a/parts/scripting/kdevscripting.rc
+++ b/parts/scripting/tdevscripting.rc
diff --git a/parts/snippet/CMakeLists.txt b/parts/snippet/CMakeLists.txt
index 704ec3e9..43776bf0 100644
--- a/parts/snippet/CMakeLists.txt
+++ b/parts/snippet/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES kdevsnippet.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_snippet.rc DESTINATION ${DATA_INSTALL_DIR}/kdevsnippet )
+install( FILES tdevsnippet.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_snippet.rc DESTINATION ${DATA_INSTALL_DIR}/tdevsnippet )
-##### libkdevsnippet (module) ###################
+##### libtdevsnippet (module) ###################
-tde_add_kpart( libkdevsnippet AUTOMOC
+tde_add_kpart( libtdevsnippet AUTOMOC
SOURCES
snippet_part.cpp snippet_widget.cpp snippetdlg.ui
snippetitem.cpp snippetsettingsbase.ui snippetsettings.cpp
diff --git a/parts/snippet/Makefile.am b/parts/snippet/Makefile.am
index e2c207a4..d2429963 100644
--- a/parts/snippet/Makefile.am
+++ b/parts/snippet/Makefile.am
@@ -1,17 +1,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevsnippet.la
-libkdevsnippet_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevsnippet_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevsnippet.la
+libtdevsnippet_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevsnippet_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevsnippet_la_SOURCES = snippet_part.cpp snippet_widget.cpp snippetdlg.ui snippetitem.cpp snippetsettingsbase.ui snippetsettings.cpp snippetconfig.cpp
+libtdevsnippet_la_SOURCES = snippet_part.cpp snippet_widget.cpp snippetdlg.ui snippetitem.cpp snippetsettingsbase.ui snippetsettings.cpp snippetconfig.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevsnippet.desktop
+service_DATA = tdevsnippet.desktop
-rc_DATA = kdevpart_snippet.rc
-rcdir = $(kde_datadir)/kdevsnippet
+rc_DATA = tdevpart_snippet.rc
+rcdir = $(kde_datadir)/tdevsnippet
noinst_HEADERS = snippetdlg.h snippetitem.h snippetsettingsbase.h snippetsettings.h snippetconfig.h
diff --git a/parts/snippet/snippet_part.cpp b/parts/snippet/snippet_part.cpp
index 82969151..e31ebe7a 100644
--- a/parts/snippet/snippet_part.cpp
+++ b/parts/snippet/snippet_part.cpp
@@ -20,11 +20,11 @@
#include <tqbuttongroup.h>
#include <ktrader.h>
-#include "kdevcore.h"
-#include <kdevproject.h>
-#include "kdevmainwindow.h"
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include "tdevcore.h"
+#include <tdevproject.h>
+#include "tdevmainwindow.h"
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include <kdebug.h>
@@ -33,15 +33,15 @@
#include "snippetsettings.h"
#include "snippetconfig.h"
-static const KDevPluginInfo data("kdevsnippet");
-typedef KDevGenericFactory<SnippetPart> snippetFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevsnippet, snippetFactory( data ) )
+static const TDevPluginInfo data("tdevsnippet");
+typedef TDevGenericFactory<SnippetPart> snippetFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevsnippet, snippetFactory( data ) )
SnippetPart::SnippetPart(TQObject *parent, const char *name, const TQStringList& )
- : KDevPlugin(&data, parent, name ? name : "SnippetPart" )
+ : TDevPlugin(&data, parent, name ? name : "SnippetPart" )
{
setInstance(snippetFactory::instance());
- setXMLFile("kdevpart_snippet.rc");
+ setXMLFile("tdevpart_snippet.rc");
m_widget = new SnippetWidget(this);
m_widget->setCaption(i18n("Code Snippets"));
diff --git a/parts/snippet/snippet_part.h b/parts/snippet/snippet_part.h
index 8ffd8fce..98a809cf 100644
--- a/parts/snippet/snippet_part.h
+++ b/parts/snippet/snippet_part.h
@@ -7,12 +7,12 @@
*/
-#ifndef __KDEVPART_SNIPPET_H__
-#define __KDEVPART_SNIPPET_H__
+#ifndef __TDEVPART_SNIPPET_H__
+#define __TDEVPART_SNIPPET_H__
#include <tqguardedptr.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
class SnippetWidget;
@@ -20,11 +20,11 @@ class TDEAboutData;
class KDialogBase;
/*
-This is the KDevPlugin for the CodeSnippet feature
+This is the TDevPlugin for the CodeSnippet feature
For more info read the README.dox file
@author Robert Gruber
*/
-class SnippetPart : public KDevPlugin
+class SnippetPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/snippet/snippet_widget.cpp b/parts/snippet/snippet_widget.cpp
index 9cd4ae4b..6b59f16f 100644
--- a/parts/snippet/snippet_widget.cpp
+++ b/parts/snippet/snippet_widget.cpp
@@ -36,9 +36,9 @@
#include <kcombobox.h>
#include <tdeversion.h>
-#include <kdevcore.h>
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
#include "snippetdlg.h"
#include "snippetitem.h"
@@ -418,7 +418,7 @@ void SnippetWidget::initConfigOldVersion(TDEConfig *cfg)
void SnippetWidget::initConfig()
{
if (_cfg == NULL)
- _cfg = new TDEConfig("kdevsnippetrc", false, false);
+ _cfg = new TDEConfig("tdevsnippetrc", false, false);
_cfg->setGroup("SnippetPart");
diff --git a/parts/snippet/snippet_widget.h b/parts/snippet/snippet_widget.h
index 8b6c17a1..4d534802 100644
--- a/parts/snippet/snippet_widget.h
+++ b/parts/snippet/snippet_widget.h
@@ -19,7 +19,7 @@
#include <tdetexteditor/view.h>
#include "snippetconfig.h"
-class KDevProject;
+class TDevProject;
class SnippetPart;
class TQPushButton;
class TDEListView;
diff --git a/parts/snippet/kdevpart_snippet.rc b/parts/snippet/tdevpart_snippet.rc
index 4f34ec50..f4b9d2db 100644
--- a/parts/snippet/kdevpart_snippet.rc
+++ b/parts/snippet/tdevpart_snippet.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui>
-<kpartplugin name="snippet" library="libkdevsnippet" version="3">
+<kpartplugin name="snippet" library="libtdevsnippet" version="3">
<MenuBar>
</MenuBar>
<Menu name="hidden">
diff --git a/parts/snippet/kdevsnippet.desktop b/parts/snippet/tdevsnippet.desktop
index f9ba9652..b257280c 100644
--- a/parts/snippet/kdevsnippet.desktop
+++ b/parts/snippet/tdevsnippet.desktop
@@ -97,6 +97,6 @@ GenericName[zh_TW]=程式碼片段
Icon=editcut
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Global
-X-TDE-Library=libkdevsnippet
+X-TDE-Library=libtdevsnippet
X-TDevelop-Version=5
X-TDevelop-Properties=CodeEditing
diff --git a/parts/texttools/CMakeLists.txt b/parts/texttools/CMakeLists.txt
index 2ed4221c..4a893dd4 100644
--- a/parts/texttools/CMakeLists.txt
+++ b/parts/texttools/CMakeLists.txt
@@ -26,12 +26,12 @@ link_directories(
##### other data ################################
-install( FILES kdevtexttools.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevtexttools.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevtexttools (module) #################
+##### libtdevtexttools (module) #################
-tde_add_kpart( libkdevtexttools AUTOMOC
+tde_add_kpart( libtdevtexttools AUTOMOC
SOURCES texttoolspart.cpp texttoolswidget.cpp
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/texttools/Makefile.am b/parts/texttools/Makefile.am
index 725133be..105eec32 100644
--- a/parts/texttools/Makefile.am
+++ b/parts/texttools/Makefile.am
@@ -2,17 +2,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/sourceinfo -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevtexttools.la
-libkdevtexttools_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevtexttools_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevtexttools.la
+libtdevtexttools_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevtexttools_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevtexttools_la_SOURCES = texttoolspart.cpp texttoolswidget.cpp
+libtdevtexttools_la_SOURCES = texttoolspart.cpp texttoolswidget.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevtexttools.desktop
+service_DATA = tdevtexttools.desktop
# not used currently
-#rcdir = $(kde_datadir)/kdevtexttools
-#rc_DATA = kdevtexttools.rc
+#rcdir = $(kde_datadir)/tdevtexttools
+#rc_DATA = tdevtexttools.rc
diff --git a/parts/texttools/kdevtexttools.desktop b/parts/texttools/tdevtexttools.desktop
index fd5fc736..c9caf618 100644
--- a/parts/texttools/kdevtexttools.desktop
+++ b/parts/texttools/tdevtexttools.desktop
@@ -78,7 +78,7 @@ GenericName[tr]=Metin Yapısı
GenericName[zh_CN]=文件结构
GenericName[zh_TW]=文字結構
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevtexttools
+X-TDE-Library=libtdevtexttools
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=CodeNavigation
diff --git a/parts/texttools/texttoolspart.cpp b/parts/texttools/texttoolspart.cpp
index 4453030a..857e2bec 100644
--- a/parts/texttools/texttoolspart.cpp
+++ b/parts/texttools/texttoolspart.cpp
@@ -14,25 +14,25 @@
#include <tqwhatsthis.h>
#include <kdebug.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include <tdetexteditor/editinterface.h>
-#include "kdevpartcontroller.h"
-#include "kdevmainwindow.h"
+#include "tdevpartcontroller.h"
+#include "tdevmainwindow.h"
#include "texttoolswidget.h"
-typedef KDevGenericFactory<TextToolsPart> TextToolsFactory;
-static const KDevPluginInfo data("kdevtexttools");
-K_EXPORT_COMPONENT_FACTORY( libkdevtexttools, TextToolsFactory( data ) )
+typedef TDevGenericFactory<TextToolsPart> TextToolsFactory;
+static const TDevPluginInfo data("tdevtexttools");
+K_EXPORT_COMPONENT_FACTORY( libtdevtexttools, TextToolsFactory( data ) )
TextToolsPart::TextToolsPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "TextToolsPart")
+ : TDevPlugin(&data, parent, name ? name : "TextToolsPart")
{
setInstance(TextToolsFactory::instance());
- // setXMLFile("kdevfileview.rc");
+ // setXMLFile("tdevfileview.rc");
m_widget = 0;
diff --git a/parts/texttools/texttoolspart.h b/parts/texttools/texttoolspart.h
index 0d822a65..fa911d98 100644
--- a/parts/texttools/texttoolspart.h
+++ b/parts/texttools/texttoolspart.h
@@ -14,12 +14,12 @@
#include <tqguardedptr.h>
#include <tdeparts/part.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
class TextToolsWidget;
-class TextToolsPart : public KDevPlugin
+class TextToolsPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/texttools/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index db2f0acc..ebf0c56b 100644
--- a/parts/texttools/texttoolswidget.cpp
+++ b/parts/texttools/texttoolswidget.cpp
@@ -22,8 +22,8 @@
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/editinterface.h>
-#include "kdevmainwindow.h"
-#include "kdevpartcontroller.h"
+#include "tdevmainwindow.h"
+#include "tdevpartcontroller.h"
#include "texttoolspart.h"
diff --git a/parts/tipofday/CMakeLists.txt b/parts/tipofday/CMakeLists.txt
index 753f65e1..c3990be1 100644
--- a/parts/tipofday/CMakeLists.txt
+++ b/parts/tipofday/CMakeLists.txt
@@ -27,14 +27,14 @@ link_directories(
##### other data ################################
tde_install_icons( )
-install( FILES kdevtipofday.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/kdevtipofday )
-install( FILES kdevpart_tipofday.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtipofday )
+install( FILES tdevtipofday.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/tdevtipofday )
+install( FILES tdevpart_tipofday.rc DESTINATION ${DATA_INSTALL_DIR}/tdevtipofday )
-##### libkdevtipofday (module) ##################
+##### libtdevtipofday (module) ##################
-tde_add_kpart( libkdevtipofday AUTOMOC
+tde_add_kpart( libtdevtipofday AUTOMOC
SOURCES tipofday_part.cpp
LINK tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
diff --git a/parts/tipofday/Makefile.am b/parts/tipofday/Makefile.am
index 4ec54292..22560851 100644
--- a/parts/tipofday/Makefile.am
+++ b/parts/tipofday/Makefile.am
@@ -1,24 +1,24 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevtipofday.la
-libkdevtipofday_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevtipofday_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevtipofday.la
+libtdevtipofday_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevtipofday_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevtipofday_la_SOURCES = tipofday_part.cpp
+libtdevtipofday_la_SOURCES = tipofday_part.cpp
METASOURCES = AUTO
KDE_ICON = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevtipofday.desktop
+service_DATA = tdevtipofday.desktop
tip_DATA = tips
-tipdir = $(kde_datadir)/kdevtipofday
+tipdir = $(kde_datadir)/tdevtipofday
-rc_DATA = kdevpart_tipofday.rc
-rcdir = $(kde_datadir)/kdevtipofday
+rc_DATA = tdevpart_tipofday.rc
+rcdir = $(kde_datadir)/tdevtipofday
messages: rc.cpp
$(PREPARETIPS) > tips.cc
- $(XGETTEXT) *.cpp *.h tips.cc -o $(podir)/kdevtipofday.pot
+ $(XGETTEXT) *.cpp *.h tips.cc -o $(podir)/tdevtipofday.pot
rm -f tips.cc
diff --git a/parts/tipofday/kdevpart_tipofday.rc b/parts/tipofday/tdevpart_tipofday.rc
index 43f7d1dc..43f7d1dc 100644
--- a/parts/tipofday/kdevpart_tipofday.rc
+++ b/parts/tipofday/tdevpart_tipofday.rc
diff --git a/parts/tipofday/kdevtipofday.desktop b/parts/tipofday/tdevtipofday.desktop
index 7efdbd9f..53d6d9c9 100644
--- a/parts/tipofday/kdevtipofday.desktop
+++ b/parts/tipofday/tdevtipofday.desktop
@@ -88,7 +88,7 @@ GenericName[zh_CN]=日积月累
GenericName[zh_TW]=本日小提示
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevtipofday
+X-TDE-Library=libtdevtipofday
X-TDevelop-Version=5
X-TDevelop-Scope=Core
X-TDevelop-Properties=Documentation
diff --git a/parts/tipofday/tipofday_part.cpp b/parts/tipofday/tipofday_part.cpp
index 6cd63deb..f86ebf1f 100644
--- a/parts/tipofday/tipofday_part.cpp
+++ b/parts/tipofday/tipofday_part.cpp
@@ -8,28 +8,28 @@
#include <tdeaction.h>
#include <tdeapplication.h>
#include <tdeconfig.h>
-#include <kdevgenericfactory.h>
-#include <kdevplugininfo.h>
+#include <tdevgenericfactory.h>
+#include <tdevplugininfo.h>
#include <kiconloader.h>
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <ktextbrowser.h>
#include <ktip.h>
-#include "kdevapi.h"
-#include "kdevcore.h"
+#include "tdevapi.h"
+#include "tdevcore.h"
-static const KDevPluginInfo data("kdevtipofday");
+static const TDevPluginInfo data("tdevtipofday");
-typedef KDevGenericFactory<TipOfDayPart> TipOfDayFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevtipofday, TipOfDayFactory( data ) )
+typedef TDevGenericFactory<TipOfDayPart> TipOfDayFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevtipofday, TipOfDayFactory( data ) )
TipOfDayPart::TipOfDayPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "TipOfDayPart")
+ : TDevPlugin(&data, parent, name ? name : "TipOfDayPart")
{
setInstance(TipOfDayFactory::instance());
- setXMLFile("kdevpart_tipofday.rc");
+ setXMLFile("tdevpart_tipofday.rc");
TDEAction *action;
diff --git a/parts/tipofday/tipofday_part.h b/parts/tipofday/tipofday_part.h
index 4b982800..b5aafe50 100644
--- a/parts/tipofday/tipofday_part.h
+++ b/parts/tipofday/tipofday_part.h
@@ -3,14 +3,14 @@
*/
-#ifndef __KDEVPART_TIPOFDAY_H__
-#define __KDEVPART_TIPOFDAY_H__
+#ifndef __TDEVPART_TIPOFDAY_H__
+#define __TDEVPART_TIPOFDAY_H__
-#include <kdevplugin.h>
+#include <tdevplugin.h>
-class TipOfDayPart : public KDevPlugin
+class TipOfDayPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/tools/CMakeLists.txt b/parts/tools/CMakeLists.txt
index 7bd64c81..aaa0d462 100644
--- a/parts/tools/CMakeLists.txt
+++ b/parts/tools/CMakeLists.txt
@@ -28,13 +28,13 @@ link_directories(
##### other data ################################
-install( FILES kdevtools.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_tools.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtools )
+install( FILES tdevtools.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_tools.rc DESTINATION ${DATA_INSTALL_DIR}/tdevtools )
-##### libkdevtools (module) #####################
+##### libtdevtools (module) #####################
-tde_add_kpart( libkdevtools AUTOMOC
+tde_add_kpart( libtdevtools AUTOMOC
SOURCES
tools_part.cpp toolsconfig.cpp toolsconfigwidgetbase.ui
toolsconfigwidget.cpp kapplicationtree.cpp addtooldlg.ui
diff --git a/parts/tools/Makefile.am b/parts/tools/Makefile.am
index a61da964..da4d9d0b 100644
--- a/parts/tools/Makefile.am
+++ b/parts/tools/Makefile.am
@@ -1,16 +1,16 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevtools.la
-libkdevtools_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevtools_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevtools.la
+libtdevtools_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevtools_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevtools_la_SOURCES = tools_part.cpp toolsconfig.cpp toolsconfigwidgetbase.ui toolsconfigwidget.cpp kapplicationtree.cpp addtooldlg.ui
+libtdevtools_la_SOURCES = tools_part.cpp toolsconfig.cpp toolsconfigwidgetbase.ui toolsconfigwidget.cpp kapplicationtree.cpp addtooldlg.ui
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevtools.desktop
+service_DATA = tdevtools.desktop
-rc_DATA = kdevpart_tools.rc
-rcdir = $(kde_datadir)/kdevtools
+rc_DATA = tdevpart_tools.rc
+rcdir = $(kde_datadir)/tdevtools
diff --git a/parts/tools/addtooldlg.ui b/parts/tools/addtooldlg.ui
index a1a6157e..09fd5424 100644
--- a/parts/tools/addtooldlg.ui
+++ b/parts/tools/addtooldlg.ui
@@ -159,7 +159,7 @@ executed.&lt;/p&gt;</string>
<string>The path and name of the application to execute</string>
</property>
</widget>
- <widget class="KDevApplicationTree" row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TDevApplicationTree" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tree</cstring>
</property>
@@ -179,7 +179,7 @@ executed.&lt;/p&gt;</string>
</widget>
<customwidgets>
<customwidget>
- <class>KDevApplicationTree</class>
+ <class>TDevApplicationTree</class>
<header location="local">kapplicationtree.h</header>
<sizehint>
<width>-1</width>
diff --git a/parts/tools/addtooldlg.ui.h b/parts/tools/addtooldlg.ui.h
index fea69766..cabb91e7 100644
--- a/parts/tools/addtooldlg.ui.h
+++ b/parts/tools/addtooldlg.ui.h
@@ -23,7 +23,7 @@ TQString AddToolDialog::getApp()
void AddToolDialog::treeSelectionChanged( TQListViewItem * lvi )
{
- KDevAppTreeListItem* item = dynamic_cast<KDevAppTreeListItem*> ( lvi );
+ TDevAppTreeListItem* item = dynamic_cast<TDevAppTreeListItem*> ( lvi );
if ( !item || item->isDirectory() )
return;
execEdit->setURL( item->executable() );
diff --git a/parts/tools/kapplicationtree.cpp b/parts/tools/kapplicationtree.cpp
index 8c13a4ea..18e31265 100644
--- a/parts/tools/kapplicationtree.cpp
+++ b/parts/tools/kapplicationtree.cpp
@@ -1,5 +1,5 @@
/* This file is part of the KDE libraries
- Nicked from KDElibs since KDevApplicationTree is not a public class..
+ Nicked from KDElibs since TDevApplicationTree is not a public class..
Copyright (C) 1997 Torben Weis <weis@stud.uni-frankfurt.de>
Copyright (C) 1999 Dirk A. Mueller <dmuell@gmx.net>
@@ -65,7 +65,7 @@ template class TQPtrList<TQString>;
// ----------------------------------------------------------------------
-KDevAppTreeListItem::KDevAppTreeListItem( TDEListView* parent, const TQString & name,
+TDevAppTreeListItem::TDevAppTreeListItem( TDEListView* parent, const TQString & name,
const TQPixmap& pixmap, bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE )
: TQListViewItem( parent, name )
{
@@ -75,7 +75,7 @@ KDevAppTreeListItem::KDevAppTreeListItem( TDEListView* parent, const TQString &
// ----------------------------------------------------------------------
-KDevAppTreeListItem::KDevAppTreeListItem( TQListViewItem* parent, const TQString & name,
+TDevAppTreeListItem::TDevAppTreeListItem( TQListViewItem* parent, const TQString & name,
const TQPixmap& pixmap, bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE )
: TQListViewItem( parent, name )
{
@@ -85,7 +85,7 @@ KDevAppTreeListItem::KDevAppTreeListItem( TQListViewItem* parent, const TQString
// ----------------------------------------------------------------------
-void KDevAppTreeListItem::init(const TQPixmap& pixmap, bool parse, bool dir, const TQString& _path, const TQString& _exec, const TQString& _dEntry)
+void TDevAppTreeListItem::init(const TQPixmap& pixmap, bool parse, bool dir, const TQString& _path, const TQString& _exec, const TQString& _dEntry)
{
setPixmap(0, pixmap);
parsed = parse;
@@ -101,7 +101,7 @@ void KDevAppTreeListItem::init(const TQPixmap& pixmap, bool parse, bool dir, con
// ----------------------------------------------------------------------
// Ensure that dirs are sorted in front of files and case is ignored
-TQString KDevAppTreeListItem::key(int column, bool /*ascending*/) const
+TQString TDevAppTreeListItem::key(int column, bool /*ascending*/) const
{
if (directory)
return TQString::fromLatin1(" ") + text(column).upper();
@@ -109,29 +109,29 @@ TQString KDevAppTreeListItem::key(int column, bool /*ascending*/) const
return text(column).upper();
}
-void KDevAppTreeListItem::activate()
+void TDevAppTreeListItem::activate()
{
if ( directory )
setOpen(!isOpen());
}
-void KDevAppTreeListItem::setOpen( bool o )
+void TDevAppTreeListItem::setOpen( bool o )
{
if( o && !parsed ) { // fill the children before opening
- ((KDevApplicationTree *) parent())->addDesktopGroup( path, this );
+ ((TDevApplicationTree *) parent())->addDesktopGroup( path, this );
parsed = true;
}
TQListViewItem::setOpen( o );
}
-bool KDevAppTreeListItem::isDirectory()
+bool TDevAppTreeListItem::isDirectory()
{
return directory;
}
// ----------------------------------------------------------------------
-KDevApplicationTree::KDevApplicationTree( TQWidget *parent, const char* name )
+TDevApplicationTree::TDevApplicationTree( TQWidget *parent, const char* name )
: TDEListView( parent, name ), currentitem(0)
{
addColumn( i18n("Known Applications") );
@@ -145,7 +145,7 @@ KDevApplicationTree::KDevApplicationTree( TQWidget *parent, const char* name )
// ----------------------------------------------------------------------
-bool KDevApplicationTree::isDirSel()
+bool TDevApplicationTree::isDirSel()
{
if (!currentitem) return false; // if currentitem isn't set
return currentitem->isDirectory();
@@ -153,12 +153,12 @@ bool KDevApplicationTree::isDirSel()
// ----------------------------------------------------------------------
-void KDevApplicationTree::addDesktopGroup( TQString relPath, KDevAppTreeListItem *item)
+void TDevApplicationTree::addDesktopGroup( TQString relPath, TDevAppTreeListItem *item)
{
KServiceGroup::Ptr root = KServiceGroup::group(relPath);
KServiceGroup::List list = root->entries();
- KDevAppTreeListItem * newItem;
+ TDevAppTreeListItem * newItem;
for( KServiceGroup::List::ConstIterator it = list.begin();
it != list.end(); it++)
{
@@ -200,10 +200,10 @@ void KDevApplicationTree::addDesktopGroup( TQString relPath, KDevAppTreeListItem
TQPixmap pixmap = SmallIcon( icon );
if (item)
- newItem = new KDevAppTreeListItem( item, text, pixmap, false, isDir,
+ newItem = new TDevAppTreeListItem( item, text, pixmap, false, isDir,
relPath, exec, dEntry );
else
- newItem = new KDevAppTreeListItem( this, text, pixmap, false, isDir,
+ newItem = new TDevAppTreeListItem( this, text, pixmap, false, isDir,
relPath, exec, dEntry );
if (isDir)
newItem->setExpandable( true );
@@ -213,13 +213,13 @@ void KDevApplicationTree::addDesktopGroup( TQString relPath, KDevAppTreeListItem
// ----------------------------------------------------------------------
-void KDevApplicationTree::slotItemHighlighted(TQListViewItem* i)
+void TDevApplicationTree::slotItemHighlighted(TQListViewItem* i)
{
// i may be 0 (see documentation)
if(!i)
return;
- KDevAppTreeListItem *item = (KDevAppTreeListItem *) i;
+ TDevAppTreeListItem *item = (TDevAppTreeListItem *) i;
currentitem = item;
@@ -230,13 +230,13 @@ void KDevApplicationTree::slotItemHighlighted(TQListViewItem* i)
// ----------------------------------------------------------------------
-void KDevApplicationTree::slotSelectionChanged(TQListViewItem* i)
+void TDevApplicationTree::slotSelectionChanged(TQListViewItem* i)
{
// i may be 0 (see documentation)
if(!i)
return;
- KDevAppTreeListItem *item = (KDevAppTreeListItem *) i;
+ TDevAppTreeListItem *item = (TDevAppTreeListItem *) i;
currentitem = item;
@@ -246,7 +246,7 @@ void KDevApplicationTree::slotSelectionChanged(TQListViewItem* i)
// ----------------------------------------------------------------------
-void KDevApplicationTree::resizeEvent( TQResizeEvent * e)
+void TDevApplicationTree::resizeEvent( TQResizeEvent * e)
{
setColumnWidth(0, width()-TQApplication::style().pixelMetric(TQStyle::PM_ScrollBarExtent));
TDEListView::resizeEvent(e);
diff --git a/parts/tools/kapplicationtree.h b/parts/tools/kapplicationtree.h
index 0ba2cc9f..b45bbeac 100644
--- a/parts/tools/kapplicationtree.h
+++ b/parts/tools/kapplicationtree.h
@@ -16,8 +16,8 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#ifndef __KDevApplicationTree_h__
-#define __KDevApplicationTree_h__
+#ifndef __TDevApplicationTree_h__
+#define __TDevApplicationTree_h__
#include <kurl.h>
#include <tdelistview.h>
@@ -36,7 +36,7 @@ class TQStringList;
/**
* @internal
*/
-class KDevAppTreeListItem : public TQListViewItem
+class TDevAppTreeListItem : public TQListViewItem
{
bool parsed;
bool directory;
@@ -50,9 +50,9 @@ protected:
void init(const TQPixmap& pixmap, bool parse, bool dir, const TQString& _path, const TQString& _exec, const TQString& _dEntry);
public:
- KDevAppTreeListItem( TDEListView* parent, const TQString & name, const TQPixmap& pixmap,
+ TDevAppTreeListItem( TDEListView* parent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
- KDevAppTreeListItem( TQListViewItem* parent, const TQString & name, const TQPixmap& pixmap,
+ TDevAppTreeListItem( TQListViewItem* parent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
bool isDirectory();
@@ -63,7 +63,7 @@ protected:
virtual void activate();
virtual void setOpen( bool o );
- friend class KDevApplicationTree;
+ friend class TDevApplicationTree;
};
/* ------------------------------------------------------------------------- */
@@ -71,23 +71,23 @@ protected:
/**
* @internal
*/
-class KDevApplicationTree : public TDEListView
+class TDevApplicationTree : public TDEListView
{
Q_OBJECT
public:
- KDevApplicationTree( TQWidget *parent, const char* name = 0 );
+ TDevApplicationTree( TQWidget *parent, const char* name = 0 );
/**
* Add a group of .desktop/.kdelnk entries
*/
- void addDesktopGroup( TQString relPath, KDevAppTreeListItem *item = 0 );
+ void addDesktopGroup( TQString relPath, TDevAppTreeListItem *item = 0 );
bool isDirSel();
protected:
void resizeEvent( TQResizeEvent *_ev );
- KDevAppTreeListItem* currentitem;
+ TDevAppTreeListItem* currentitem;
public slots:
void slotItemHighlighted(TQListViewItem* i);
diff --git a/parts/tools/kdevpart_tools.rc b/parts/tools/tdevpart_tools.rc
index ab8a6a98..ab8a6a98 100644
--- a/parts/tools/kdevpart_tools.rc
+++ b/parts/tools/tdevpart_tools.rc
diff --git a/parts/tools/kdevtools.desktop b/parts/tools/tdevtools.desktop
index 225b4b5f..3b7e8272 100644
--- a/parts/tools/kdevtools.desktop
+++ b/parts/tools/tdevtools.desktop
@@ -76,7 +76,7 @@ GenericName[zh_CN]=工具菜单附加
GenericName[zh_TW]=新增工具選單
Icon=configure
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevtools
+X-TDE-Library=libtdevtools
X-TDevelop-Version=5
X-TDevelop-Scope=Global
X-TDevelop-Properties=AdditionalTools
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index 8734eadc..c6e4a242 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -19,14 +19,14 @@
#include <kprocess.h>
#include <tdetexteditor/document.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevpartcontroller.h"
-#include "kdevappfrontend.h"
-#include "kdevplugininfo.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevpartcontroller.h"
+#include "tdevappfrontend.h"
+#include "tdevplugininfo.h"
#include "urlutil.h"
#include "configwidgetproxy.h"
-#include "kdeveditorutil.h"
+#include "tdeveditorutil.h"
#include "toolsconfig.h"
#include "toolsconfigwidget.h"
@@ -34,17 +34,17 @@
#define TOOLSSETTINGS 1
#define EXTRATOOLSSETTINGS 2
-static const KDevPluginInfo data("kdevtools");
-K_EXPORT_COMPONENT_FACTORY( libkdevtools, ToolsFactory( data ) )
+static const TDevPluginInfo data("tdevtools");
+K_EXPORT_COMPONENT_FACTORY( libtdevtools, ToolsFactory( data ) )
TQMap<int, TQString> externalToolMenuEntries;
ToolsPart::ToolsPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin( &data, parent, name ? name : "ToolsPart")
+ : TDevPlugin( &data, parent, name ? name : "ToolsPart")
{
setInstance(ToolsFactory::instance());
- setXMLFile("kdevpart_tools.rc");
+ setXMLFile("tdevpart_tools.rc");
m_configProxy = new ConfigWidgetProxy( core() );
m_configProxy->createGlobalConfigPage( i18n("Tools Menu"), TOOLSSETTINGS, info()->icon() );
@@ -128,11 +128,11 @@ void ToolsPart::startCommand(TQString cmdline, bool captured, TQString fileName)
if (project())
projectDirectory = project()->projectDirectory();
- TQString selection = KDevEditorUtil::currentSelection( doc );
+ TQString selection = TDevEditorUtil::currentSelection( doc );
if ( !selection.isEmpty() )
selection = KShellProcess::quote( selection );
- TQString word = KDevEditorUtil::currentWord( doc );
+ TQString word = TDevEditorUtil::currentWord( doc );
// This should really be checked before inserting into the popup
if (cmdline.contains("%D") && projectDirectory.isNull())
@@ -153,7 +153,7 @@ void ToolsPart::startCommand(TQString cmdline, bool captured, TQString fileName)
if (captured)
{
- if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"))
+ if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend"))
appFrontend->startAppCommand(TQString(), cmdline, false);
}
else
diff --git a/parts/tools/tools_part.h b/parts/tools/tools_part.h
index 20af2ea8..4eeaf0e1 100644
--- a/parts/tools/tools_part.h
+++ b/parts/tools/tools_part.h
@@ -3,13 +3,13 @@
*/
-#ifndef __KDEVPART_TOOLS_H__
-#define __KDEVPART_TOOLS_H__
+#ifndef __TDEVPART_TOOLS_H__
+#define __TDEVPART_TOOLS_H__
#include <tqguardedptr.h>
-#include <kdevplugin.h>
-#include <kdevgenericfactory.h>
+#include <tdevplugin.h>
+#include <tdevgenericfactory.h>
class TQPopupMenu;
@@ -20,7 +20,7 @@ class ConfigWidgetProxy;
class ToolsWidget;
-class ToolsPart : public KDevPlugin
+class ToolsPart : public TDevPlugin
{
Q_OBJECT
@@ -51,6 +51,6 @@ private:
ConfigWidgetProxy * m_configProxy;
};
-typedef KDevGenericFactory<ToolsPart> ToolsFactory;
+typedef TDevGenericFactory<ToolsPart> ToolsFactory;
#endif
diff --git a/parts/tools/toolsconfig.cpp b/parts/tools/toolsconfig.cpp
index f21713e9..8d689f40 100644
--- a/parts/tools/toolsconfig.cpp
+++ b/parts/tools/toolsconfig.cpp
@@ -35,7 +35,7 @@ void ToolsConfig::showEvent(TQShowEvent *e)
TQHBoxLayout *hbox = new TQHBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
TQVBoxLayout *vbox = new TQVBoxLayout(hbox);
- _tree = new KDevApplicationTree(this);
+ _tree = new TDevApplicationTree(this);
_tree->header()->hide();
TQLabel *l = new TQLabel(_tree, i18n("&Applications:"), this);
l->show();
@@ -121,7 +121,7 @@ void ToolsConfig::add(const TQString &desktopFile)
void ToolsConfig::toList()
{
- KDevAppTreeListItem *item = dynamic_cast<KDevAppTreeListItem*>(_tree->selectedItem());
+ TDevAppTreeListItem *item = dynamic_cast<TDevAppTreeListItem*>(_tree->selectedItem());
if (item && !item->desktopEntryPath().isEmpty())
add(item->desktopEntryPath());
checkButtons();
diff --git a/parts/tools/toolsconfig.h b/parts/tools/toolsconfig.h
index 074d5900..23081676 100644
--- a/parts/tools/toolsconfig.h
+++ b/parts/tools/toolsconfig.h
@@ -9,7 +9,7 @@
class TQListBox;
class TQPushButton;
-class KDevApplicationTree;
+class TDevApplicationTree;
class Entry
{
@@ -60,7 +60,7 @@ private slots:
private:
- KDevApplicationTree *_tree;
+ TDevApplicationTree *_tree;
TQListBox *_list;
TQPushButton *_toList, *_toTree;
diff --git a/parts/uimode/CMakeLists.txt b/parts/uimode/CMakeLists.txt
index 478a4103..0eaa5ff6 100644
--- a/parts/uimode/CMakeLists.txt
+++ b/parts/uimode/CMakeLists.txt
@@ -26,12 +26,12 @@ link_directories(
##### other data ################################
-install( FILES kdevuichooser.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevuichooser.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevuichooser (module) #################
+##### libtdevuichooser (module) #################
-tde_add_kpart( libkdevuichooser AUTOMOC
+tde_add_kpart( libtdevuichooser AUTOMOC
SOURCES
uichooser_part.cpp uichooser.ui uichooser_widget.cpp
LINK tdevelop-shared
diff --git a/parts/uimode/Makefile.am b/parts/uimode/Makefile.am
index 00792790..df7ddba9 100644
--- a/parts/uimode/Makefile.am
+++ b/parts/uimode/Makefile.am
@@ -1,13 +1,13 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevuichooser.la
-libkdevuichooser_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevuichooser_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevuichooser.la
+libtdevuichooser_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevuichooser_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevuichooser_la_SOURCES = uichooser_part.cpp uichooser.ui uichooser_widget.cpp
+libtdevuichooser_la_SOURCES = uichooser_part.cpp uichooser.ui uichooser_widget.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevuichooser.desktop
+service_DATA = tdevuichooser.desktop
diff --git a/parts/uimode/kdevuichooser.desktop b/parts/uimode/tdevuichooser.desktop
index afb21a50..65faa5be 100644
--- a/parts/uimode/kdevuichooser.desktop
+++ b/parts/uimode/tdevuichooser.desktop
@@ -80,7 +80,7 @@ GenericName[zh_CN]=用户界面选择
GenericName[zh_TW]=使用者介面選擇器
Icon=view_choose
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevuichooser
+X-TDE-Library=libtdevuichooser
X-TDevelop-Version=5
X-TDevelop-Scope=Core
X-TDevelop-Mode=AssistantMode
diff --git a/parts/uimode/uichooser_part.cpp b/parts/uimode/uichooser_part.cpp
index fdc9fa6a..5795d829 100644
--- a/parts/uimode/uichooser_part.cpp
+++ b/parts/uimode/uichooser_part.cpp
@@ -3,23 +3,23 @@
#include <tqvbox.h>
#include <kdialogbase.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevcore.h>
+#include <tdevcore.h>
#include <configwidgetproxy.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include "uichooser_widget.h"
#define UICHOOSERSETTINGSPAGE 1
-typedef KDevGenericFactory<UIChooserPart> UIChooserFactory;
-static const KDevPluginInfo data("kdevuichooser");
-K_EXPORT_COMPONENT_FACTORY( libkdevuichooser, UIChooserFactory( data ) )
+typedef TDevGenericFactory<UIChooserPart> UIChooserFactory;
+static const TDevPluginInfo data("tdevuichooser");
+K_EXPORT_COMPONENT_FACTORY( libtdevuichooser, UIChooserFactory( data ) )
UIChooserPart::UIChooserPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin( &data, parent, name ? name : "UIChooserPart")
+ : TDevPlugin( &data, parent, name ? name : "UIChooserPart")
{
setInstance(UIChooserFactory::instance());
diff --git a/parts/uimode/uichooser_part.h b/parts/uimode/uichooser_part.h
index ff822e1d..e86f9211 100644
--- a/parts/uimode/uichooser_part.h
+++ b/parts/uimode/uichooser_part.h
@@ -3,16 +3,16 @@
*/
-#ifndef __KDEVPART_UICHOOSER_H__
-#define __KDEVPART_UICHOOSER_H__
+#ifndef __TDEVPART_UICHOOSER_H__
+#define __TDEVPART_UICHOOSER_H__
class KDialogBase;
class ConfigWidgetProxy;
-#include <kdevplugin.h>
+#include <tdevplugin.h>
-class UIChooserPart : public KDevPlugin
+class UIChooserPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/uimode/uichooser_widget.cpp b/parts/uimode/uichooser_widget.cpp
index cb75ec02..d70d648d 100644
--- a/parts/uimode/uichooser_widget.cpp
+++ b/parts/uimode/uichooser_widget.cpp
@@ -24,7 +24,7 @@
#include <tdeversion.h>
#include "uichooser_part.h"
-#include "kdevmainwindow.h"
+#include "tdevmainwindow.h"
#include "uichooser_widget.h"
UIChooserWidget::UIChooserWidget( UIChooserPart * part, TQWidget *parent, const char *name)
diff --git a/parts/valgrind/CMakeLists.txt b/parts/valgrind/CMakeLists.txt
index 9c32760f..611aa4ec 100644
--- a/parts/valgrind/CMakeLists.txt
+++ b/parts/valgrind/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES kdevvalgrind.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_valgrind.rc DESTINATION ${DATA_INSTALL_DIR}/kdevvalgrind )
+install( FILES tdevvalgrind.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_valgrind.rc DESTINATION ${DATA_INSTALL_DIR}/tdevvalgrind )
-##### libkdevvalgrind (module) ##################
+##### libtdevvalgrind (module) ##################
-tde_add_kpart( libkdevvalgrind AUTOMOC
+tde_add_kpart( libtdevvalgrind AUTOMOC
SOURCES
dialog_widget.ui valgrind_part.cpp valgrind_widget.cpp
valgrind_dialog.cpp valgrinditem.cpp
diff --git a/parts/valgrind/Makefile.am b/parts/valgrind/Makefile.am
index e0cd6536..6e9e89c0 100644
--- a/parts/valgrind/Makefile.am
+++ b/parts/valgrind/Makefile.am
@@ -1,15 +1,15 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevvalgrind.la
-libkdevvalgrind_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevvalgrind_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevvalgrind.la
+libtdevvalgrind_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevvalgrind_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevvalgrind_la_SOURCES = dialog_widget.ui valgrind_part.cpp valgrind_widget.cpp valgrind_dialog.cpp valgrinditem.cpp
+libtdevvalgrind_la_SOURCES = dialog_widget.ui valgrind_part.cpp valgrind_widget.cpp valgrind_dialog.cpp valgrinditem.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevvalgrind.desktop
+service_DATA = tdevvalgrind.desktop
-rcdir = $(kde_datadir)/kdevvalgrind
-rc_DATA = kdevpart_valgrind.rc
+rcdir = $(kde_datadir)/tdevvalgrind
+rc_DATA = tdevpart_valgrind.rc
diff --git a/parts/valgrind/kdevpart_valgrind.rc b/parts/valgrind/tdevpart_valgrind.rc
index 440b62c2..440b62c2 100644
--- a/parts/valgrind/kdevpart_valgrind.rc
+++ b/parts/valgrind/tdevpart_valgrind.rc
diff --git a/parts/valgrind/kdevvalgrind.desktop b/parts/valgrind/tdevvalgrind.desktop
index e2142182..0c4fa769 100644
--- a/parts/valgrind/kdevvalgrind.desktop
+++ b/parts/valgrind/tdevvalgrind.desktop
@@ -69,6 +69,6 @@ GenericName[zh_TW]=Valgrind 前端介面
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Global
-X-TDE-Library=libkdevvalgrind
+X-TDE-Library=libtdevvalgrind
X-TDevelop-Version=5
X-TDevelop-Properties=CompiledDevelopment
diff --git a/parts/valgrind/valgrind_part.cpp b/parts/valgrind/valgrind_part.cpp
index 1b262175..88d9427c 100644
--- a/parts/valgrind/valgrind_part.cpp
+++ b/parts/valgrind/valgrind_part.cpp
@@ -6,31 +6,31 @@
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdeaction.h>
#include <kprocess.h>
#include <tdemessagebox.h>
#include <tdefiledialog.h>
#include <kdebug.h>
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
-#include "kdevproject.h"
-#include "kdevplugininfo.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
+#include "tdevproject.h"
+#include "tdevplugininfo.h"
#include "valgrind_widget.h"
#include "valgrind_dialog.h"
#include "valgrinditem.h"
-typedef KDevGenericFactory<ValgrindPart> ValgrindFactory;
-static const KDevPluginInfo data("kdevvalgrind");
-K_EXPORT_COMPONENT_FACTORY( libkdevvalgrind, ValgrindFactory( data ) )
+typedef TDevGenericFactory<ValgrindPart> ValgrindFactory;
+static const TDevPluginInfo data("tdevvalgrind");
+K_EXPORT_COMPONENT_FACTORY( libtdevvalgrind, ValgrindFactory( data ) )
ValgrindPart::ValgrindPart( TQObject *parent, const char *name, const TQStringList& )
- : KDevPlugin( &data, parent, name ? name : "ValgrindPart" )
+ : TDevPlugin( &data, parent, name ? name : "ValgrindPart" )
{
setInstance( ValgrindFactory::instance() );
- setXMLFile( "kdevpart_valgrind.rc" );
+ setXMLFile( "tdevpart_valgrind.rc" );
proc = new KShellProcess();
connect( proc, TQT_SIGNAL(receivedStdout( TDEProcess*, char*, int )),
@@ -39,8 +39,8 @@ ValgrindPart::ValgrindPart( TQObject *parent, const char *name, const TQStringLi
this, TQT_SLOT(receivedStderr( TDEProcess*, char*, int )) );
connect( proc, TQT_SIGNAL(processExited( TDEProcess* )),
this, TQT_SLOT(processExited( TDEProcess* )) );
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)),
+ this, TQT_SLOT(slotStopButtonClicked(TDevPlugin*)) );
connect( core(), TQT_SIGNAL(projectOpened()),
this, TQT_SLOT(projectOpened()) );
@@ -196,7 +196,7 @@ void ValgrindPart::slotKillValgrind()
proc->kill();
}
-void ValgrindPart::slotStopButtonClicked( KDevPlugin* which )
+void ValgrindPart::slotStopButtonClicked( TDevPlugin* which )
{
if ( which != 0 && which != this )
return;
diff --git a/parts/valgrind/valgrind_part.h b/parts/valgrind/valgrind_part.h
index 6a05737b..1982ea33 100644
--- a/parts/valgrind/valgrind_part.h
+++ b/parts/valgrind/valgrind_part.h
@@ -2,18 +2,18 @@
* Copyright (C) 2002 Harald Fernengel <harry@kdevelop.org>
*/
-#ifndef __KDEVPART_VALGRIND_H__
-#define __KDEVPART_VALGRIND_H__
+#ifndef __TDEVPART_VALGRIND_H__
+#define __TDEVPART_VALGRIND_H__
#include <tqguardedptr.h>
#include <tqstring.h>
#include <tqstringlist.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
class ValgrindWidget;
class TDEProcess;
-class ValgrindPart : public KDevPlugin
+class ValgrindPart : public TDevPlugin
{
Q_OBJECT
@@ -31,7 +31,7 @@ private slots:
void slotExecValgrind();
void slotExecCalltree();
void slotKillValgrind();
- void slotStopButtonClicked( KDevPlugin* which );
+ void slotStopButtonClicked( TDevPlugin* which );
void receivedStdout( TDEProcess*, char*, int );
void receivedStderr( TDEProcess*, char*, int );
void processExited( TDEProcess* );
diff --git a/parts/valgrind/valgrind_widget.cpp b/parts/valgrind/valgrind_widget.cpp
index 70484704..f32ab9b7 100644
--- a/parts/valgrind/valgrind_widget.cpp
+++ b/parts/valgrind/valgrind_widget.cpp
@@ -10,10 +10,10 @@
#include <tdelocale.h>
#include <kstatusbar.h>
-#include <kdevcore.h>
-#include <kdevpartcontroller.h>
-#include <kdevmainwindow.h>
-#include <kdevproject.h>
+#include <tdevcore.h>
+#include <tdevpartcontroller.h>
+#include <tdevmainwindow.h>
+#include <tdevproject.h>
#include "valgrind_part.h"
#include "valgrind_widget.h"
diff --git a/parts/vcsmanager/CMakeLists.txt b/parts/vcsmanager/CMakeLists.txt
index de236f81..a672b4ac 100644
--- a/parts/vcsmanager/CMakeLists.txt
+++ b/parts/vcsmanager/CMakeLists.txt
@@ -26,12 +26,12 @@ link_directories(
##### other data ################################
-install( FILES kdevvcsmanager.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevvcsmanager.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevvcsmanager (module) ################
+##### libtdevvcsmanager (module) ################
-tde_add_kpart( libkdevvcsmanager AUTOMOC
+tde_add_kpart( libtdevvcsmanager AUTOMOC
SOURCES
vcsmanagerpart.cpp vcsmanagerprojectconfigbase.ui
vcsmanagerprojectconfig.cpp
diff --git a/parts/vcsmanager/Makefile.am b/parts/vcsmanager/Makefile.am
index 5f7534ee..66897658 100644
--- a/parts/vcsmanager/Makefile.am
+++ b/parts/vcsmanager/Makefile.am
@@ -1,19 +1,19 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevvcsmanager.la
-libkdevvcsmanager_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevvcsmanager_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevvcsmanager.la
+libtdevvcsmanager_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevvcsmanager_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevvcsmanager_la_SOURCES = vcsmanagerpart.cpp \
+libtdevvcsmanager_la_SOURCES = vcsmanagerpart.cpp \
vcsmanagerprojectconfigbase.ui vcsmanagerprojectconfig.cpp
METASOURCES = AUTO
-appsharedir = $(kde_datadir)/kdevvcsmanager
+appsharedir = $(kde_datadir)/tdevvcsmanager
appshare_DATA =
servicedir = $(kde_servicesdir)
-service_DATA = kdevvcsmanager.desktop
+service_DATA = tdevvcsmanager.desktop
-rcdir = $(kde_datadir)/kdevvcsmanager
+rcdir = $(kde_datadir)/tdevvcsmanager
diff --git a/parts/vcsmanager/kdevvcsmanager.desktop b/parts/vcsmanager/tdevvcsmanager.desktop
index 35cdf2aa..91fe7c98 100644
--- a/parts/vcsmanager/kdevvcsmanager.desktop
+++ b/parts/vcsmanager/tdevvcsmanager.desktop
@@ -1,12 +1,12 @@
[Desktop Entry]
Type=Service
Exec=blubb
-Name=KDevVCSManager
+Name=TDevVCSManager
Name[da]=TDevelop VCS-håndtering
Name[nds]=TDevelop-VKS-Pleger
Name[sk]=KDev VCS manažér
Name[sv]=TDevelop VCS-hantering
-Name[tg]=РоҳбариKDevVCS
+Name[tg]=РоҳбариTDevVCS
Name[zh_TW]=TDevelop VCS 管理器
GenericName=VCSManager
GenericName[da]=VCS-håndtering
@@ -60,6 +60,6 @@ X-TDevelop-Plugin-Copyright=(C) by Jens Dagerbo
X-TDevelop-Args=
X-TDevelop-Scope=Core
-X-TDE-Library=libkdevvcsmanager
+X-TDE-Library=libtdevvcsmanager
X-TDevelop-Version=5
X-TDevelop-Properties=VCS
diff --git a/parts/vcsmanager/vcsmanagerpart.cpp b/parts/vcsmanager/vcsmanagerpart.cpp
index ec176c47..5f5ad639 100644
--- a/parts/vcsmanager/vcsmanagerpart.cpp
+++ b/parts/vcsmanager/vcsmanagerpart.cpp
@@ -29,32 +29,32 @@
#include <kdialogbase.h>
#include <kiconloader.h>
#include <tdemessagebox.h>
-#include <kdevplugininfo.h>
-#include <kdevgenericfactory.h>
+#include <tdevplugininfo.h>
+#include <tdevgenericfactory.h>
#include <kdebug.h>
-#include <kdevcore.h>
-#include <kdevmainwindow.h>
+#include <tdevcore.h>
+#include <tdevmainwindow.h>
#include <configwidgetproxy.h>
-#include <kdevplugincontroller.h>
+#include <tdevplugincontroller.h>
#include "domutil.h"
#include "vcsmanagerprojectconfig.h"
-typedef KDevGenericFactory<VCSManagerPart> VCSManagerFactory;
-KDevPluginInfo data("kdevvcsmanager");
-K_EXPORT_COMPONENT_FACTORY( libkdevvcsmanager, VCSManagerFactory( data ) )
+typedef TDevGenericFactory<VCSManagerPart> VCSManagerFactory;
+TDevPluginInfo data("tdevvcsmanager");
+K_EXPORT_COMPONENT_FACTORY( libtdevvcsmanager, VCSManagerFactory( data ) )
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
VCSManagerPart::VCSManagerPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
- : KDevPlugin(&data, parent, name ? name : "VCSManagerPart")
+ : TDevPlugin(&data, parent, name ? name : "VCSManagerPart")
{
kdDebug() << " ********** VCSManagerPart::VCSManagerPart() ************** " << endl;
setInstance(VCSManagerFactory::instance());
-// setXMLFile("kdevvcsmanager.rc");
+// setXMLFile("tdevvcsmanager.rc");
m_configProxy = new ConfigWidgetProxy(core());
m_configProxy->createProjectConfigPage(i18n("Version Control"), PROJECTDOC_OPTIONS, info()->icon());
diff --git a/parts/vcsmanager/vcsmanagerpart.h b/parts/vcsmanager/vcsmanagerpart.h
index 1fbccbff..aa52de94 100644
--- a/parts/vcsmanager/vcsmanagerpart.h
+++ b/parts/vcsmanager/vcsmanagerpart.h
@@ -18,10 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef KDEVVCSMANAGER_H
-#define KDEVVCSMANAGER_H
+#ifndef TDEVVCSMANAGER_H
+#define TDEVVCSMANAGER_H
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <tqguardedptr.h>
@@ -35,7 +35,7 @@ class VCSManagerWidget;
/**
Please read the README.dox file for more info about this part
*/
-class VCSManagerPart: public KDevPlugin
+class VCSManagerPart: public TDevPlugin
{
Q_OBJECT