diff options
Diffstat (limited to 'parts/filelist')
-rw-r--r-- | parts/filelist/CMakeLists.txt | 8 | ||||
-rw-r--r-- | parts/filelist/Makefile.am | 14 | ||||
-rw-r--r-- | parts/filelist/filelist_item.h | 2 | ||||
-rw-r--r-- | parts/filelist/filelist_widget.cpp | 4 | ||||
-rw-r--r-- | parts/filelist/filelist_widget.h | 4 | ||||
-rw-r--r-- | parts/filelist/projectviewpart.cpp | 22 | ||||
-rw-r--r-- | parts/filelist/projectviewpart.h | 10 | ||||
-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 |
9 files changed, 33 insertions, 33 deletions
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 |