summaryrefslogtreecommitdiffstats
path: root/parts/replace
diff options
context:
space:
mode:
Diffstat (limited to 'parts/replace')
-rw-r--r--parts/replace/CMakeLists.txt8
-rw-r--r--parts/replace/Makefile.am14
-rw-r--r--parts/replace/kdevpart_replace.rc (renamed from parts/replace/tdevpart_replace.rc)0
-rw-r--r--parts/replace/kdevreplace.desktop (renamed from parts/replace/tdevreplace.desktop)2
-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
8 files changed, 33 insertions, 33 deletions
diff --git a/parts/replace/CMakeLists.txt b/parts/replace/CMakeLists.txt
index b32da714..4779e553 100644
--- a/parts/replace/CMakeLists.txt
+++ b/parts/replace/CMakeLists.txt
@@ -26,13 +26,13 @@ link_directories(
##### other data ################################
-install( FILES tdevreplace.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES tdevpart_replace.rc DESTINATION ${DATA_INSTALL_DIR}/tdevreplace )
+install( FILES kdevreplace.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevpart_replace.rc DESTINATION ${DATA_INSTALL_DIR}/kdevreplace )
-##### libtdevreplace (module) ###################
+##### libkdevreplace (module) ###################
-tde_add_kpart( libtdevreplace AUTOMOC
+tde_add_kpart( libkdevreplace 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 36d8e64f..8d75f0e8 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 = 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
+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
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = tdevreplace.desktop
+service_DATA = kdevreplace.desktop
-rcdir = $(kde_datadir)/tdevreplace
-rc_DATA = tdevpart_replace.rc
+rcdir = $(kde_datadir)/kdevreplace
+rc_DATA = kdevpart_replace.rc
diff --git a/parts/replace/tdevpart_replace.rc b/parts/replace/kdevpart_replace.rc
index e3818308..e3818308 100644
--- a/parts/replace/tdevpart_replace.rc
+++ b/parts/replace/kdevpart_replace.rc
diff --git a/parts/replace/tdevreplace.desktop b/parts/replace/kdevreplace.desktop
index cd05c65c..d2490c05 100644
--- a/parts/replace/tdevreplace.desktop
+++ b/parts/replace/kdevreplace.desktop
@@ -75,6 +75,6 @@ GenericName[zh_TW]=取代元件
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDevelop-Scope=Global
-X-TDE-Library=libtdevreplace
+X-TDE-Library=libkdevreplace
X-TDevelop-Version=5
X-TDevelop-Properties=FileReplace
diff --git a/parts/replace/replace_part.cpp b/parts/replace/replace_part.cpp
index 40bfb1ea..447548ef 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 <tdevgenericfactory.h>
-#include <tdevplugininfo.h>
+#include <kdevgenericfactory.h>
+#include <kdevplugininfo.h>
#include <kdebug.h>
#include <kstringhandler.h>
-#include <tdevcore.h>
-#include <tdevmainwindow.h>
+#include <kdevcore.h>
+#include <kdevmainwindow.h>
#include "replace_widget.h"
-static const TDevPluginInfo data("tdevreplace");
+static const KDevPluginInfo data("kdevreplace");
-typedef TDevGenericFactory<ReplacePart> ReplaceFactory;
-K_EXPORT_COMPONENT_FACTORY(libtdevreplace, ReplaceFactory(data))
+typedef KDevGenericFactory<ReplacePart> ReplaceFactory;
+K_EXPORT_COMPONENT_FACTORY(libkdevreplace, ReplaceFactory(data))
ReplacePart::ReplacePart(TQObject *parent, const char *name, const TQStringList& )
- : TDevPlugin( &data, parent, name ? name : "ReplacePart" )
+ : KDevPlugin( &data, parent, name ? name : "ReplacePart" )
{
setInstance(ReplaceFactory::instance());
- setXMLFile("tdevpart_replace.rc");
+ setXMLFile("kdevpart_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 f0316eb0..fbd0f2f7 100644
--- a/parts/replace/replace_part.h
+++ b/parts/replace/replace_part.h
@@ -9,12 +9,12 @@
* *
***************************************************************************/
-#ifndef __TDEVPART_REPLACE_H__
-#define __TDEVPART_REPLACE_H__
+#ifndef __KDEVPART_REPLACE_H__
+#define __KDEVPART_REPLACE_H__
#include <tqguardedptr.h>
-#include <tdevplugin.h>
+#include <kdevplugin.h>
#include <tqpopupmenu.h>
@@ -22,7 +22,7 @@ class ReplaceWidget;
class TDEAction;
class Context;
-class ReplacePart : public TDevPlugin
+class ReplacePart : public KDevPlugin
{
Q_OBJECT
diff --git a/parts/replace/replace_widget.cpp b/parts/replace/replace_widget.cpp
index 34dd3afd..6b1bcbda 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 <tdevpartcontroller.h>
-#include <tdevcore.h>
-#include <tdevmainwindow.h>
-#include <tdevproject.h>
-#include <tdevpartcontroller.h>
+#include <kdevpartcontroller.h>
+#include <kdevcore.h>
+#include <kdevmainwindow.h>
+#include <kdevproject.h>
+#include <kdevpartcontroller.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( TDevPlugin * ) ), TQT_SLOT( stopButtonClicked( TDevPlugin * ) ) );
+ connect( m_part->core(), TQT_SIGNAL( stopButtonClicked( KDevPlugin * ) ), TQT_SLOT( stopButtonClicked( KDevPlugin * ) ) );
}
//BEGIN Slots
@@ -184,7 +184,7 @@ void ReplaceWidget::editDocument( TQString const & file, int line )
m_part->partController()->editDocument( KURL( file ), line );
}
-void ReplaceWidget::stopButtonClicked( TDevPlugin * which )
+void ReplaceWidget::stopButtonClicked( KDevPlugin * which )
{
if ( which != 0 && which != m_part )
return;
diff --git a/parts/replace/replace_widget.h b/parts/replace/replace_widget.h
index 64ca50e2..c9063928 100644
--- a/parts/replace/replace_widget.h
+++ b/parts/replace/replace_widget.h
@@ -36,7 +36,7 @@ public:
public slots:
void showDialog();
- void stopButtonClicked( TDevPlugin * );
+ void stopButtonClicked( KDevPlugin * );
protected:
virtual void focusInEvent(TQFocusEvent *e);