diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
commit | 6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch) | |
tree | ab69e390f7962b7e7dda1a3a64f035c61c751cf4 /parts/valgrind | |
parent | aba2788b428dc53243407902e9ccbb20b97a69fd (diff) | |
download | tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip |
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'parts/valgrind')
-rw-r--r-- | parts/valgrind/CMakeLists.txt | 8 | ||||
-rw-r--r-- | parts/valgrind/Makefile.am | 14 | ||||
-rw-r--r-- | parts/valgrind/kdevpart_valgrind.rc (renamed from parts/valgrind/tdevpart_valgrind.rc) | 0 | ||||
-rw-r--r-- | parts/valgrind/kdevvalgrind.desktop (renamed from parts/valgrind/tdevvalgrind.desktop) | 2 | ||||
-rw-r--r-- | parts/valgrind/valgrind_part.cpp | 26 | ||||
-rw-r--r-- | parts/valgrind/valgrind_part.h | 10 | ||||
-rw-r--r-- | parts/valgrind/valgrind_widget.cpp | 8 |
7 files changed, 34 insertions, 34 deletions
diff --git a/parts/valgrind/CMakeLists.txt b/parts/valgrind/CMakeLists.txt index 611aa4ec..9c32760f 100644 --- a/parts/valgrind/CMakeLists.txt +++ b/parts/valgrind/CMakeLists.txt @@ -26,13 +26,13 @@ link_directories( ##### other data ################################ -install( FILES tdevvalgrind.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES tdevpart_valgrind.rc DESTINATION ${DATA_INSTALL_DIR}/tdevvalgrind ) +install( FILES kdevvalgrind.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_valgrind.rc DESTINATION ${DATA_INSTALL_DIR}/kdevvalgrind ) -##### libtdevvalgrind (module) ################## +##### libkdevvalgrind (module) ################## -tde_add_kpart( libtdevvalgrind AUTOMOC +tde_add_kpart( libkdevvalgrind 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 6e9e89c0..e0cd6536 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 = libtdevvalgrind.la -libtdevvalgrind_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libtdevvalgrind_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libkdevvalgrind.la +libkdevvalgrind_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libkdevvalgrind_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libtdevvalgrind_la_SOURCES = dialog_widget.ui valgrind_part.cpp valgrind_widget.cpp valgrind_dialog.cpp valgrinditem.cpp +libkdevvalgrind_la_SOURCES = dialog_widget.ui valgrind_part.cpp valgrind_widget.cpp valgrind_dialog.cpp valgrinditem.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = tdevvalgrind.desktop +service_DATA = kdevvalgrind.desktop -rcdir = $(kde_datadir)/tdevvalgrind -rc_DATA = tdevpart_valgrind.rc +rcdir = $(kde_datadir)/kdevvalgrind +rc_DATA = kdevpart_valgrind.rc diff --git a/parts/valgrind/tdevpart_valgrind.rc b/parts/valgrind/kdevpart_valgrind.rc index 440b62c2..440b62c2 100644 --- a/parts/valgrind/tdevpart_valgrind.rc +++ b/parts/valgrind/kdevpart_valgrind.rc diff --git a/parts/valgrind/tdevvalgrind.desktop b/parts/valgrind/kdevvalgrind.desktop index 0c4fa769..e2142182 100644 --- a/parts/valgrind/tdevvalgrind.desktop +++ b/parts/valgrind/kdevvalgrind.desktop @@ -69,6 +69,6 @@ GenericName[zh_TW]=Valgrind 前端介面 Icon=tdevelop ServiceTypes=TDevelop/Plugin X-TDevelop-Scope=Global -X-TDE-Library=libtdevvalgrind +X-TDE-Library=libkdevvalgrind X-TDevelop-Version=5 X-TDevelop-Properties=CompiledDevelopment diff --git a/parts/valgrind/valgrind_part.cpp b/parts/valgrind/valgrind_part.cpp index 88d9427c..1b262175 100644 --- a/parts/valgrind/valgrind_part.cpp +++ b/parts/valgrind/valgrind_part.cpp @@ -6,31 +6,31 @@ #include <kiconloader.h> #include <tdelocale.h> -#include <tdevgenericfactory.h> +#include <kdevgenericfactory.h> #include <tdeaction.h> #include <kprocess.h> #include <tdemessagebox.h> #include <tdefiledialog.h> #include <kdebug.h> -#include "tdevcore.h" -#include "tdevmainwindow.h" -#include "tdevproject.h" -#include "tdevplugininfo.h" +#include "kdevcore.h" +#include "kdevmainwindow.h" +#include "kdevproject.h" +#include "kdevplugininfo.h" #include "valgrind_widget.h" #include "valgrind_dialog.h" #include "valgrinditem.h" -typedef TDevGenericFactory<ValgrindPart> ValgrindFactory; -static const TDevPluginInfo data("tdevvalgrind"); -K_EXPORT_COMPONENT_FACTORY( libtdevvalgrind, ValgrindFactory( data ) ) +typedef KDevGenericFactory<ValgrindPart> ValgrindFactory; +static const KDevPluginInfo data("kdevvalgrind"); +K_EXPORT_COMPONENT_FACTORY( libkdevvalgrind, ValgrindFactory( data ) ) ValgrindPart::ValgrindPart( TQObject *parent, const char *name, const TQStringList& ) - : TDevPlugin( &data, parent, name ? name : "ValgrindPart" ) + : KDevPlugin( &data, parent, name ? name : "ValgrindPart" ) { setInstance( ValgrindFactory::instance() ); - setXMLFile( "tdevpart_valgrind.rc" ); + setXMLFile( "kdevpart_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(TDevPlugin*)), - this, TQT_SLOT(slotStopButtonClicked(TDevPlugin*)) ); + connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)), + this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) ); connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) ); @@ -196,7 +196,7 @@ void ValgrindPart::slotKillValgrind() proc->kill(); } -void ValgrindPart::slotStopButtonClicked( TDevPlugin* which ) +void ValgrindPart::slotStopButtonClicked( KDevPlugin* which ) { if ( which != 0 && which != this ) return; diff --git a/parts/valgrind/valgrind_part.h b/parts/valgrind/valgrind_part.h index 1982ea33..6a05737b 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 __TDEVPART_VALGRIND_H__ -#define __TDEVPART_VALGRIND_H__ +#ifndef __KDEVPART_VALGRIND_H__ +#define __KDEVPART_VALGRIND_H__ #include <tqguardedptr.h> #include <tqstring.h> #include <tqstringlist.h> -#include <tdevplugin.h> +#include <kdevplugin.h> class ValgrindWidget; class TDEProcess; -class ValgrindPart : public TDevPlugin +class ValgrindPart : public KDevPlugin { Q_OBJECT @@ -31,7 +31,7 @@ private slots: void slotExecValgrind(); void slotExecCalltree(); void slotKillValgrind(); - void slotStopButtonClicked( TDevPlugin* which ); + void slotStopButtonClicked( KDevPlugin* 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 f32ab9b7..70484704 100644 --- a/parts/valgrind/valgrind_widget.cpp +++ b/parts/valgrind/valgrind_widget.cpp @@ -10,10 +10,10 @@ #include <tdelocale.h> #include <kstatusbar.h> -#include <tdevcore.h> -#include <tdevpartcontroller.h> -#include <tdevmainwindow.h> -#include <tdevproject.h> +#include <kdevcore.h> +#include <kdevpartcontroller.h> +#include <kdevmainwindow.h> +#include <kdevproject.h> #include "valgrind_part.h" #include "valgrind_widget.h" |