summaryrefslogtreecommitdiffstats
path: root/parts/valgrind
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/valgrind
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'parts/valgrind')
-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
7 files changed, 34 insertions, 34 deletions
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"