summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ruby/debugger')
-rw-r--r--languages/ruby/debugger/CMakeLists.txt12
-rw-r--r--languages/ruby/debugger/Makefile.am16
-rw-r--r--languages/ruby/debugger/debuggerpart.cpp38
-rw-r--r--languages/ruby/debugger/debuggerpart.h18
-rw-r--r--languages/ruby/debugger/tdevrbdebugger.desktop (renamed from languages/ruby/debugger/kdevrbdebugger.desktop)2
-rw-r--r--languages/ruby/debugger/tdevrbdebugger.rc (renamed from languages/ruby/debugger/kdevrbdebugger.rc)0
6 files changed, 43 insertions, 43 deletions
diff --git a/languages/ruby/debugger/CMakeLists.txt b/languages/ruby/debugger/CMakeLists.txt
index 8290afd7..7fb74000 100644
--- a/languages/ruby/debugger/CMakeLists.txt
+++ b/languages/ruby/debugger/CMakeLists.txt
@@ -29,20 +29,20 @@ link_directories(
##### other data ################################
tde_install_icons( )
-install( FILES kdevrbdebugger.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES debuggee.rb DESTINATION ${DATA_INSTALL_DIR}/kdevrbdebugger )
-install( FILES kdevrbdebugger.rc DESTINATION ${DATA_INSTALL_DIR}/kdevrbdebugger )
+install( FILES tdevrbdebugger.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES debuggee.rb DESTINATION ${DATA_INSTALL_DIR}/tdevrbdebugger )
+install( FILES tdevrbdebugger.rc DESTINATION ${DATA_INSTALL_DIR}/tdevrbdebugger )
-##### libkdevrbdebugger (module) ################
+##### libtdevrbdebugger (module) ################
-tde_add_kpart( libkdevrbdebugger AUTOMOC
+tde_add_kpart( libtdevrbdebugger AUTOMOC
SOURCES
debuggerpart.cpp dbgcontroller.cpp rdbcontroller.cpp
dbgcommand.cpp rdbcommand.cpp rdbparser.cpp stty.cpp
breakpoint.cpp variablewidget.cpp rdbbreakpointwidget.cpp
framestackwidget.cpp dbgpsdlg.cpp dbgtoolbar.cpp
rdboutputwidget.cpp rdbtable.cpp
- LINK lang_debugger-shared kdevwidgets-shared tdevelop-shared
+ LINK lang_debugger-shared tdevwidgets-shared tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/languages/ruby/debugger/Makefile.am b/languages/ruby/debugger/Makefile.am
index 88e03f03..0bbe445b 100644
--- a/languages/ruby/debugger/Makefile.am
+++ b/languages/ruby/debugger/Makefile.am
@@ -4,22 +4,22 @@ INCLUDES = -I$(top_srcdir)/languages/lib/debugger \
-I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util \
-I$(top_srcdir)/lib/widgets $(all_includes)
-kde_module_LTLIBRARIES = libkdevrbdebugger.la
-libkdevrbdebugger_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevrbdebugger_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libkdevwidgets.la $(LIB_TDEHTML) \
+kde_module_LTLIBRARIES = libtdevrbdebugger.la
+libtdevrbdebugger_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevrbdebugger_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libtdevwidgets.la $(LIB_TDEHTML) \
$(top_builddir)/languages/lib/debugger/liblang_debugger.la
-libkdevrbdebugger_la_SOURCES = debuggerpart.cpp dbgcontroller.cpp rdbcontroller.cpp dbgcommand.cpp rdbcommand.cpp rdbparser.cpp stty.cpp breakpoint.cpp variablewidget.cpp rdbbreakpointwidget.cpp framestackwidget.cpp dbgpsdlg.cpp dbgtoolbar.cpp rdboutputwidget.cpp rdbtable.cpp
+libtdevrbdebugger_la_SOURCES = debuggerpart.cpp dbgcontroller.cpp rdbcontroller.cpp dbgcommand.cpp rdbcommand.cpp rdbparser.cpp stty.cpp breakpoint.cpp variablewidget.cpp rdbbreakpointwidget.cpp framestackwidget.cpp dbgpsdlg.cpp dbgtoolbar.cpp rdboutputwidget.cpp rdbtable.cpp
METASOURCES = AUTO
KDE_ICON = AUTO
rubysrc_DATA = debuggee.rb
-rubysrcdir = $(kde_datadir)/kdevrbdebugger
+rubysrcdir = $(kde_datadir)/tdevrbdebugger
servicedir = $(kde_servicesdir)
-service_DATA = kdevrbdebugger.desktop
+service_DATA = tdevrbdebugger.desktop
-rcdir = $(kde_datadir)/kdevrbdebugger
-rc_DATA = kdevrbdebugger.rc
+rcdir = $(kde_datadir)/tdevrbdebugger
+rc_DATA = tdevrbdebugger.rc
noinst_HEADERS = rdbtable.h
diff --git a/languages/ruby/debugger/debuggerpart.cpp b/languages/ruby/debugger/debuggerpart.cpp
index 35e6a2d2..9d0c9767 100644
--- a/languages/ruby/debugger/debuggerpart.cpp
+++ b/languages/ruby/debugger/debuggerpart.cpp
@@ -26,7 +26,7 @@
#include <tdeaction.h>
#include <kdebug.h>
#include <tdefiledialog.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdemainwindow.h>
@@ -40,12 +40,12 @@
#include <kstringhandler.h>
#include <kstandarddirs.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
-#include "kdevappfrontend.h"
-#include "kdevpartcontroller.h"
-#include "kdevdebugger.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
+#include "tdevappfrontend.h"
+#include "tdevpartcontroller.h"
+#include "tdevdebugger.h"
#include "domutil.h"
#include "variablewidget.h"
#include "rdbbreakpointwidget.h"
@@ -61,25 +61,25 @@
#include <iostream>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include <debugger.h>
namespace RDBDebugger
{
-static const KDevPluginInfo data("kdevrbdebugger");
+static const TDevPluginInfo data("tdevrbdebugger");
-typedef KDevGenericFactory<RubyDebuggerPart> RubyDebuggerFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevrbdebugger, RubyDebuggerFactory( data ) )
+typedef TDevGenericFactory<RubyDebuggerPart> RubyDebuggerFactory;
+K_EXPORT_COMPONENT_FACTORY( libtdevrbdebugger, RubyDebuggerFactory( data ) )
RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQStringList & ) :
- KDevPlugin( &data, parent, name ? name : "RubyDebuggerPart" ),
+ TDevPlugin( &data, parent, name ? name : "RubyDebuggerPart" ),
controller(0)
{
// setObjId("RubyDebuggerInterface");
setInstance(RubyDebuggerFactory::instance());
- setXMLFile("kdevrbdebugger.rc");
+ setXMLFile("tdevrbdebugger.rc");
m_debugger = new Debugger( partController() );
@@ -245,8 +245,8 @@ RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQ
connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(slotStop(KDevPlugin*)) );
+ connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)),
+ this, TQT_SLOT(slotStop(TDevPlugin*)) );
connect( core(), TQT_SIGNAL(projectClosed()),
this, TQT_SLOT(projectClosed()) );
@@ -616,7 +616,7 @@ void RubyDebuggerPart::slotRun()
-void RubyDebuggerPart::slotStop(KDevPlugin* which)
+void RubyDebuggerPart::slotStop(TDevPlugin* which)
{
if( which != 0 && which != this )
return;
@@ -772,12 +772,12 @@ void RubyDebuggerPart::savePartialProjectSession(TQDomElement* el)
}
-KDevAppFrontend * RDBDebugger::RubyDebuggerPart::appFrontend( )
+TDevAppFrontend * RDBDebugger::RubyDebuggerPart::appFrontend( )
{
- return extension<KDevAppFrontend>("TDevelop/AppFrontend");
+ return extension<TDevAppFrontend>("TDevelop/AppFrontend");
}
-KDevDebugger * RDBDebugger::RubyDebuggerPart::debugger()
+TDevDebugger * RDBDebugger::RubyDebuggerPart::debugger()
{
return m_debugger;
}
diff --git a/languages/ruby/debugger/debuggerpart.h b/languages/ruby/debugger/debuggerpart.h
index 498a159e..9b554a8f 100644
--- a/languages/ruby/debugger/debuggerpart.h
+++ b/languages/ruby/debugger/debuggerpart.h
@@ -21,8 +21,8 @@
#define _DEBUGGERPART_H_
#include <tqguardedptr.h>
-#include "kdevplugin.h"
-#include "kdevcore.h"
+#include "tdevplugin.h"
+#include "tdevcore.h"
namespace KParts { class Part; }
@@ -31,8 +31,8 @@ class TQPopupMenu;
class KDialogBase;
class ProcessWidget;
class ProcessLineMaker;
-class KDevAppFrontend;
-class KDevDebugger;
+class TDevAppFrontend;
+class TDevDebugger;
namespace RDBDebugger
{
@@ -45,7 +45,7 @@ class DbgToolBar;
class VariableWidget;
class RDBOutputWidget;
-class RubyDebuggerPart : public KDevPlugin
+class RubyDebuggerPart : public TDevPlugin
{
Q_OBJECT
@@ -68,7 +68,7 @@ private slots:
void slotRun();
void slotStopDebugger();
- void slotStop(KDevPlugin* which = 0);
+ void slotStop(TDevPlugin* which = 0);
void slotPause();
void slotRunToCursor();
void slotStepOver();
@@ -84,8 +84,8 @@ signals:
void rubyInspect(const TQString&);
private:
- KDevAppFrontend *appFrontend();
- KDevDebugger *debugger();
+ TDevAppFrontend *appFrontend();
+ TDevDebugger *debugger();
bool startDebugger();
void setupController();
@@ -103,7 +103,7 @@ private:
TQString m_contextIdent;
TQCString m_drkonqi;
- KDevDebugger *m_debugger;
+ TDevDebugger *m_debugger;
};
}
diff --git a/languages/ruby/debugger/kdevrbdebugger.desktop b/languages/ruby/debugger/tdevrbdebugger.desktop
index 714b51a3..8b333642 100644
--- a/languages/ruby/debugger/kdevrbdebugger.desktop
+++ b/languages/ruby/debugger/tdevrbdebugger.desktop
@@ -66,7 +66,7 @@ GenericName[zh_CN]=Ruby 调试器前端
GenericName[zh_TW]=Ruby 除錯器前端介面
Icon=
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevrbdebugger
+X-TDE-Library=libtdevrbdebugger
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-ProgrammingLanguages=Ruby
diff --git a/languages/ruby/debugger/kdevrbdebugger.rc b/languages/ruby/debugger/tdevrbdebugger.rc
index c7e3b336..c7e3b336 100644
--- a/languages/ruby/debugger/kdevrbdebugger.rc
+++ b/languages/ruby/debugger/tdevrbdebugger.rc