summaryrefslogtreecommitdiffstats
path: root/parts/filelist
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /parts/filelist
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'parts/filelist')
-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/kdevfilelist.desktop (renamed from parts/filelist/tdevfilelist.desktop)2
-rw-r--r--parts/filelist/kdevfilelist.rc (renamed from parts/filelist/tdevfilelist.rc)0
-rw-r--r--parts/filelist/projectviewpart.cpp22
-rw-r--r--parts/filelist/projectviewpart.h10
9 files changed, 33 insertions, 33 deletions
diff --git a/parts/filelist/CMakeLists.txt b/parts/filelist/CMakeLists.txt
index 7feb3ae1..ac227b5e 100644
--- a/parts/filelist/CMakeLists.txt
+++ b/parts/filelist/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES tdevfilelist.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES tdevfilelist.rc DESTINATION ${DATA_INSTALL_DIR}/tdevfilelist )
+install( FILES kdevfilelist.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevfilelist.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfilelist )
-##### libtdevfilelist (module) ##################
+##### libkdevfilelist (module) ##################
-tde_add_kpart( libtdevfilelist AUTOMOC
+tde_add_kpart( libkdevfilelist AUTOMOC
SOURCES
filelist_widget.cpp filelist_item.cpp
projectviewprojectconfigbase.ui
diff --git a/parts/filelist/Makefile.am b/parts/filelist/Makefile.am
index 8652a240..83e36d19 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 = libtdevfilelist.la
-libtdevfilelist_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libtdevfilelist_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libkdevfilelist.la
+libkdevfilelist_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libkdevfilelist_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libtdevfilelist_la_SOURCES = filelist_widget.cpp filelist_item.cpp \
+libkdevfilelist_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 = tdevfilelist.desktop
+service_DATA = kdevfilelist.desktop
-rcdir = $(kde_datadir)/tdevfilelist
+rcdir = $(kde_datadir)/kdevfilelist
noinst_HEADERS = filelist_item.h filelist_widget.h projectviewprojectconfig.h \
projectviewpart.h toolbarguibuilder.h projectviewconfig.h fileinfo.h
-rc_DATA = tdevfilelist.rc
+rc_DATA = kdevfilelist.rc
diff --git a/parts/filelist/filelist_item.h b/parts/filelist/filelist_item.h
index 2d9322c9..6b88b09e 100644
--- a/parts/filelist/filelist_item.h
+++ b/parts/filelist/filelist_item.h
@@ -18,7 +18,7 @@
#include <kurl.h>
-#include <tdevpartcontroller.h>
+#include <kdevpartcontroller.h>
class FileListItem : public TQListViewItem
{
diff --git a/parts/filelist/filelist_widget.cpp b/parts/filelist/filelist_widget.cpp
index 4b0b2b48..2e415dcd 100644
--- a/parts/filelist/filelist_widget.cpp
+++ b/parts/filelist/filelist_widget.cpp
@@ -21,8 +21,8 @@
#include <tdelocale.h>
#include <tdepopupmenu.h>
-#include <tdevcore.h>
-#include <tdevpartcontroller.h>
+#include <kdevcore.h>
+#include <kdevpartcontroller.h>
#include "projectviewpart.h"
#include "filelist_widget.h"
diff --git a/parts/filelist/filelist_widget.h b/parts/filelist/filelist_widget.h
index f1b4de97..b582a309 100644
--- a/parts/filelist/filelist_widget.h
+++ b/parts/filelist/filelist_widget.h
@@ -17,7 +17,7 @@
#include <tdelistview.h>
#include <kurl.h>
-#include <tdevpartcontroller.h> // for DocumentState
+#include <kdevpartcontroller.h> // for DocumentState
#include <tqstring.h>
#include <tqtooltip.h>
@@ -25,7 +25,7 @@
#include "projectviewpart.h"
-class TDevProject;
+class KDevProject;
class FileListItem;
namespace KParts { class Part; }
diff --git a/parts/filelist/tdevfilelist.desktop b/parts/filelist/kdevfilelist.desktop
index 17a20ad6..da37f14b 100644
--- a/parts/filelist/tdevfilelist.desktop
+++ b/parts/filelist/kdevfilelist.desktop
@@ -71,6 +71,6 @@ GenericName[zh_TW]=檔案列表
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Global
-X-TDE-Library=libtdevfilelist
+X-TDE-Library=libkdevfilelist
X-TDevelop-Version=5
X-TDevelop-Properties=OpenFileNavigation
diff --git a/parts/filelist/tdevfilelist.rc b/parts/filelist/kdevfilelist.rc
index 5ab5de7c..5ab5de7c 100644
--- a/parts/filelist/tdevfilelist.rc
+++ b/parts/filelist/kdevfilelist.rc
diff --git a/parts/filelist/projectviewpart.cpp b/parts/filelist/projectviewpart.cpp
index 76f0c102..517d2f98 100644
--- a/parts/filelist/projectviewpart.cpp
+++ b/parts/filelist/projectviewpart.cpp
@@ -51,28 +51,28 @@
#include <tdeconfig.h>
#include <tdeapplication.h>
-#include <tdevplugininfo.h>
-#include <tdevgenericfactory.h>
-#include <tdevpartcontroller.h>
-#include <tdevproject.h>
-#include <tdevcore.h>
-#include <tdevmainwindow.h>
+#include <kdevplugininfo.h>
+#include <kdevgenericfactory.h>
+#include <kdevpartcontroller.h>
+#include <kdevproject.h>
+#include <kdevcore.h>
+#include <kdevmainwindow.h>
#include <configwidgetproxy.h>
-typedef TDevGenericFactory<ProjectviewPart> projectviewFactory;
-TDevPluginInfo data("tdevfilelist");
-K_EXPORT_COMPONENT_FACTORY(libtdevfilelist, projectviewFactory(data))
+typedef KDevGenericFactory<ProjectviewPart> projectviewFactory;
+KDevPluginInfo data("kdevfilelist");
+K_EXPORT_COMPONENT_FACTORY(libkdevfilelist, projectviewFactory(data))
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
ProjectviewPart::ProjectviewPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
- : TDevPlugin(&data, parent, name ? name : "FileListPart")
+ : KDevPlugin(&data, parent, name ? name : "FileListPart")
{
setInstance(projectviewFactory::instance());
- setXMLFile("tdevfilelist.rc");
+ setXMLFile("kdevfilelist.rc");
setupActions();
m_configProxy = new ConfigWidgetProxy(core());
diff --git a/parts/filelist/projectviewpart.h b/parts/filelist/projectviewpart.h
index 72c6efcd..392a9cdf 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 TDEVPROJECTVIEW_H
-#define TDEVPROJECTVIEW_H
+#ifndef KDEVPROJECTVIEW_H
+#define KDEVPROJECTVIEW_H
#include "fileinfo.h"
@@ -27,7 +27,7 @@
#include <tqmap.h>
#include <tqguardedptr.h>
-#include <tdevplugin.h>
+#include <kdevplugin.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 TDevPlugin
+class ProjectviewPart: public KDevPlugin
{
Q_OBJECT
@@ -66,7 +66,7 @@ public:
ProjectviewPart(TQObject *parent, const char *name, const TQStringList &args);
~ProjectviewPart();
- // reimplemented from TDevPlugin
+ // reimplemented from KDevPlugin
void restorePartialProjectSession(const TQDomElement * el);
void savePartialProjectSession(TQDomElement * el);