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/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
8 files changed, 33 insertions, 33 deletions
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