From 6392f5a9dfce2bf83617d49bb7f332181ec6004e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 May 2014 15:37:31 +0900 Subject: Revert "Finish renaming tdevelop components" This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73. --- languages/cpp/debugger/debuggerpart.cpp | 40 ++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'languages/cpp/debugger/debuggerpart.cpp') diff --git a/languages/cpp/debugger/debuggerpart.cpp b/languages/cpp/debugger/debuggerpart.cpp index f2379ccb..3cae3762 100644 --- a/languages/cpp/debugger/debuggerpart.cpp +++ b/languages/cpp/debugger/debuggerpart.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,12 +37,12 @@ #include #include -#include "tdevcore.h" -#include "tdevproject.h" -#include "tdevmainwindow.h" -#include "tdevappfrontend.h" -#include "tdevpartcontroller.h" -#include "tdevdebugger.h" +#include "kdevcore.h" +#include "kdevproject.h" +#include "kdevmainwindow.h" +#include "kdevappfrontend.h" +#include "kdevpartcontroller.h" +#include "kdevdebugger.h" #include "domutil.h" #include "variablewidget.h" #include "gdbbreakpointwidget.h" @@ -61,7 +61,7 @@ #include -#include +#include #include @@ -71,13 +71,13 @@ namespace GDBDebugger { -static const TDevPluginInfo data("tdevdebugger"); +static const KDevPluginInfo data("kdevdebugger"); -typedef TDevGenericFactory DebuggerFactory; -K_EXPORT_COMPONENT_FACTORY( libtdevdebugger, DebuggerFactory( data ) ) +typedef KDevGenericFactory DebuggerFactory; +K_EXPORT_COMPONENT_FACTORY( libkdevdebugger, DebuggerFactory( data ) ) DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringList & ) : - TDevPlugin( &data, parent, name ? name : "DebuggerPart" ), + KDevPlugin( &data, parent, name ? name : "DebuggerPart" ), controller(0), previousDebuggerState_(s_dbgNotStarted), justRestarted_(false), needRebuild_(true), running_(false) @@ -85,7 +85,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi setObjId("DebuggerInterface"); setInstance(DebuggerFactory::instance()); - setXMLFile("tdevdebugger.rc"); + setXMLFile("kdevdebugger.rc"); m_debugger = new Debugger( partController() ); @@ -333,8 +333,8 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); - connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)), - this, TQT_SLOT(slotStop(TDevPlugin*)) ); + connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)), + this, TQT_SLOT(slotStop(KDevPlugin*)) ); connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) ); @@ -858,7 +858,7 @@ void DebuggerPart::slotRun() if (rebuild) { disconnect(TQT_SIGNAL(buildProject())); - // The TDevProject has no method to build the project, + // The KDevProject has no method to build the project, // so try connecting to a slot has is present to all // existing project managers. // Note: this assumes that 'slotBuild' will save @@ -984,7 +984,7 @@ bool DebuggerPart::attachProcess(int pid) } -void DebuggerPart::slotStop(TDevPlugin* which) +void DebuggerPart::slotStop(KDevPlugin* which) { if( which != 0 && which != this ) return; @@ -1259,12 +1259,12 @@ bool DebuggerPart::haveModifiedFiles() } -TDevAppFrontend * GDBDebugger::DebuggerPart::appFrontend( ) +KDevAppFrontend * GDBDebugger::DebuggerPart::appFrontend( ) { - return extension("TDevelop/AppFrontend"); + return extension("TDevelop/AppFrontend"); } -TDevDebugger * GDBDebugger::DebuggerPart::debugger() +KDevDebugger * GDBDebugger::DebuggerPart::debugger() { return m_debugger; } -- cgit v1.2.3