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/kdevrbdebugger.desktop (renamed from languages/ruby/debugger/tdevrbdebugger.desktop)2
-rw-r--r--languages/ruby/debugger/kdevrbdebugger.rc (renamed from languages/ruby/debugger/tdevrbdebugger.rc)0
6 files changed, 43 insertions, 43 deletions
diff --git a/languages/ruby/debugger/CMakeLists.txt b/languages/ruby/debugger/CMakeLists.txt
index 7fb74000..8290afd7 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 tdevrbdebugger.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES debuggee.rb DESTINATION ${DATA_INSTALL_DIR}/tdevrbdebugger )
-install( FILES tdevrbdebugger.rc DESTINATION ${DATA_INSTALL_DIR}/tdevrbdebugger )
+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 )
-##### libtdevrbdebugger (module) ################
+##### libkdevrbdebugger (module) ################
-tde_add_kpart( libtdevrbdebugger AUTOMOC
+tde_add_kpart( libkdevrbdebugger 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 tdevwidgets-shared tdevelop-shared
+ LINK lang_debugger-shared kdevwidgets-shared tdevelop-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/languages/ruby/debugger/Makefile.am b/languages/ruby/debugger/Makefile.am
index 0bbe445b..88e03f03 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 = 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) \
+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) \
$(top_builddir)/languages/lib/debugger/liblang_debugger.la
-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
+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
METASOURCES = AUTO
KDE_ICON = AUTO
rubysrc_DATA = debuggee.rb
-rubysrcdir = $(kde_datadir)/tdevrbdebugger
+rubysrcdir = $(kde_datadir)/kdevrbdebugger
servicedir = $(kde_servicesdir)
-service_DATA = tdevrbdebugger.desktop
+service_DATA = kdevrbdebugger.desktop
-rcdir = $(kde_datadir)/tdevrbdebugger
-rc_DATA = tdevrbdebugger.rc
+rcdir = $(kde_datadir)/kdevrbdebugger
+rc_DATA = kdevrbdebugger.rc
noinst_HEADERS = rdbtable.h
diff --git a/languages/ruby/debugger/debuggerpart.cpp b/languages/ruby/debugger/debuggerpart.cpp
index 9d0c9767..35e6a2d2 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 <tdevgenericfactory.h>
+#include <kdevgenericfactory.h>
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdemainwindow.h>
@@ -40,12 +40,12 @@
#include <kstringhandler.h>
#include <kstandarddirs.h>
-#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 "rdbbreakpointwidget.h"
@@ -61,25 +61,25 @@
#include <iostream>
-#include <tdevplugininfo.h>
+#include <kdevplugininfo.h>
#include <debugger.h>
namespace RDBDebugger
{
-static const TDevPluginInfo data("tdevrbdebugger");
+static const KDevPluginInfo data("kdevrbdebugger");
-typedef TDevGenericFactory<RubyDebuggerPart> RubyDebuggerFactory;
-K_EXPORT_COMPONENT_FACTORY( libtdevrbdebugger, RubyDebuggerFactory( data ) )
+typedef KDevGenericFactory<RubyDebuggerPart> RubyDebuggerFactory;
+K_EXPORT_COMPONENT_FACTORY( libkdevrbdebugger, RubyDebuggerFactory( data ) )
RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQStringList & ) :
- TDevPlugin( &data, parent, name ? name : "RubyDebuggerPart" ),
+ KDevPlugin( &data, parent, name ? name : "RubyDebuggerPart" ),
controller(0)
{
// setObjId("RubyDebuggerInterface");
setInstance(RubyDebuggerFactory::instance());
- setXMLFile("tdevrbdebugger.rc");
+ setXMLFile("kdevrbdebugger.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(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()) );
@@ -616,7 +616,7 @@ void RubyDebuggerPart::slotRun()
-void RubyDebuggerPart::slotStop(TDevPlugin* which)
+void RubyDebuggerPart::slotStop(KDevPlugin* which)
{
if( which != 0 && which != this )
return;
@@ -772,12 +772,12 @@ void RubyDebuggerPart::savePartialProjectSession(TQDomElement* el)
}
-TDevAppFrontend * RDBDebugger::RubyDebuggerPart::appFrontend( )
+KDevAppFrontend * RDBDebugger::RubyDebuggerPart::appFrontend( )
{
- return extension<TDevAppFrontend>("TDevelop/AppFrontend");
+ return extension<KDevAppFrontend>("TDevelop/AppFrontend");
}
-TDevDebugger * RDBDebugger::RubyDebuggerPart::debugger()
+KDevDebugger * RDBDebugger::RubyDebuggerPart::debugger()
{
return m_debugger;
}
diff --git a/languages/ruby/debugger/debuggerpart.h b/languages/ruby/debugger/debuggerpart.h
index 9b554a8f..498a159e 100644
--- a/languages/ruby/debugger/debuggerpart.h
+++ b/languages/ruby/debugger/debuggerpart.h
@@ -21,8 +21,8 @@
#define _DEBUGGERPART_H_
#include <tqguardedptr.h>
-#include "tdevplugin.h"
-#include "tdevcore.h"
+#include "kdevplugin.h"
+#include "kdevcore.h"
namespace KParts { class Part; }
@@ -31,8 +31,8 @@ class TQPopupMenu;
class KDialogBase;
class ProcessWidget;
class ProcessLineMaker;
-class TDevAppFrontend;
-class TDevDebugger;
+class KDevAppFrontend;
+class KDevDebugger;
namespace RDBDebugger
{
@@ -45,7 +45,7 @@ class DbgToolBar;
class VariableWidget;
class RDBOutputWidget;
-class RubyDebuggerPart : public TDevPlugin
+class RubyDebuggerPart : public KDevPlugin
{
Q_OBJECT
@@ -68,7 +68,7 @@ private slots:
void slotRun();
void slotStopDebugger();
- void slotStop(TDevPlugin* which = 0);
+ void slotStop(KDevPlugin* which = 0);
void slotPause();
void slotRunToCursor();
void slotStepOver();
@@ -84,8 +84,8 @@ signals:
void rubyInspect(const TQString&);
private:
- TDevAppFrontend *appFrontend();
- TDevDebugger *debugger();
+ KDevAppFrontend *appFrontend();
+ KDevDebugger *debugger();
bool startDebugger();
void setupController();
@@ -103,7 +103,7 @@ private:
TQString m_contextIdent;
TQCString m_drkonqi;
- TDevDebugger *m_debugger;
+ KDevDebugger *m_debugger;
};
}
diff --git a/languages/ruby/debugger/tdevrbdebugger.desktop b/languages/ruby/debugger/kdevrbdebugger.desktop
index 8b333642..714b51a3 100644
--- a/languages/ruby/debugger/tdevrbdebugger.desktop
+++ b/languages/ruby/debugger/kdevrbdebugger.desktop
@@ -66,7 +66,7 @@ GenericName[zh_CN]=Ruby 调试器前端
GenericName[zh_TW]=Ruby 除錯器前端介面
Icon=
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libtdevrbdebugger
+X-TDE-Library=libkdevrbdebugger
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-ProgrammingLanguages=Ruby
diff --git a/languages/ruby/debugger/tdevrbdebugger.rc b/languages/ruby/debugger/kdevrbdebugger.rc
index c7e3b336..c7e3b336 100644
--- a/languages/ruby/debugger/tdevrbdebugger.rc
+++ b/languages/ruby/debugger/kdevrbdebugger.rc