summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger/debuggerpart.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /languages/ruby/debugger/debuggerpart.cpp
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'languages/ruby/debugger/debuggerpart.cpp')
-rw-r--r--languages/ruby/debugger/debuggerpart.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/languages/ruby/debugger/debuggerpart.cpp b/languages/ruby/debugger/debuggerpart.cpp
index 3daefeff..70611d28 100644
--- a/languages/ruby/debugger/debuggerpart.cpp
+++ b/languages/ruby/debugger/debuggerpart.cpp
@@ -156,10 +156,10 @@ RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQ
this, TQT_SLOT(slotGotoSource(const TQString&, int)) );
// Now setup the actions
- KAction *action;
+ TDEAction *action;
-// action = new KAction(i18n("&Start"), "1rightarrow", CTRL+SHIFT+Key_F9,
- action = new KAction(i18n("&Start"), "dbgrun", CTRL+SHIFT+Key_F9,
+// action = new TDEAction(i18n("&Start"), "1rightarrow", CTRL+SHIFT+Key_F9,
+ action = new TDEAction(i18n("&Start"), "dbgrun", CTRL+SHIFT+Key_F9,
this, TQT_SLOT(slotRun()),
actionCollection(), "debug_run");
action->setToolTip( i18n("Start in debugger") );
@@ -170,26 +170,26 @@ RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQ
"while it is running, in order to get information "
"about variables, frame stack, and so on.") );
- action = new KAction(i18n("Sto&p"), "stop", 0,
+ action = new TDEAction(i18n("Sto&p"), "stop", 0,
this, TQT_SLOT(slotStop()),
actionCollection(), "debug_stop");
action->setToolTip( i18n("Stop debugger") );
action->setWhatsThis(i18n("<b>Stop debugger</b><p>Kills the executable and exits the debugger."));
- action = new KAction(i18n("Interrupt"), "player_pause", 0,
+ action = new TDEAction(i18n("Interrupt"), "player_pause", 0,
this, TQT_SLOT(slotPause()),
actionCollection(), "debug_pause");
action->setToolTip( i18n("Interrupt application") );
action->setWhatsThis(i18n("<b>Interrupt application</b><p>Interrupts the debugged process or current RDB command."));
- action = new KAction(i18n("Run to &Cursor"), "dbgrunto", 0,
+ action = new TDEAction(i18n("Run to &Cursor"), "dbgrunto", 0,
this, TQT_SLOT(slotRunToCursor()),
actionCollection(), "debug_runtocursor");
action->setToolTip( i18n("Run to cursor") );
action->setWhatsThis(i18n("<b>Run to cursor</b><p>Continues execution until the cursor position is reached."));
- action = new KAction(i18n("Step &Over"), "dbgnext", 0,
+ action = new TDEAction(i18n("Step &Over"), "dbgnext", 0,
this, TQT_SLOT(slotStepOver()),
actionCollection(), "debug_stepover");
action->setToolTip( i18n("Step over the next line") );
@@ -200,7 +200,7 @@ RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQ
"following the method call.") );
- action = new KAction(i18n("Step &Into"), "dbgstep", 0,
+ action = new TDEAction(i18n("Step &Into"), "dbgstep", 0,
this, TQT_SLOT(slotStepInto()),
actionCollection(), "debug_stepinto");
action->setToolTip( i18n("Step into the next statement") );
@@ -211,7 +211,7 @@ RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQ
- action = new KAction(i18n("Step O&ut"), "dbgstepout", 0,
+ action = new TDEAction(i18n("Step O&ut"), "dbgstepout", 0,
this, TQT_SLOT(slotStepOut()),
actionCollection(), "debug_stepout");
action->setToolTip( i18n("Steps out of the current method") );
@@ -223,7 +223,7 @@ RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQ
"the topleveltoggleWatchpoint) then this operation has no effect.") );
- action = new KAction(i18n("Toggle Breakpoint"), 0, 0,
+ action = new TDEAction(i18n("Toggle Breakpoint"), 0, 0,
this, TQT_SLOT(toggleBreakpoint()),
actionCollection(), "debug_toggle_breakpoint");
action->setToolTip(i18n("Toggle breakpoint"));
@@ -488,7 +488,7 @@ bool RubyDebuggerPart::startDebugger()
stateChanged( TQString("active") );
- KActionCollection *ac = actionCollection();
+ TDEActionCollection *ac = actionCollection();
ac->action("debug_run")->setText( i18n("&Continue") );
// ac->action("debug_run")->setIcon( "dbgrun" );
ac->action("debug_run")->setToolTip( i18n("Continues the application execution") );
@@ -566,7 +566,7 @@ void RubyDebuggerPart::slotStopDebugger()
mainWindow()->setViewAvailable(framestackWidget, false);
mainWindow()->setViewAvailable(rdbOutputWidget, false);
- KActionCollection *ac = actionCollection();
+ TDEActionCollection *ac = actionCollection();
ac->action("debug_run")->setText( i18n("&Start") );
// ac->action("debug_run")->setIcon( "1rightarrow" );
ac->action("debug_run")->setToolTip( i18n("Runs the program in the debugger") );
@@ -599,7 +599,7 @@ void RubyDebuggerPart::slotRun()
appFrontend()->clearView();
startDebugger();
} else {
- KActionCollection *ac = actionCollection();
+ TDEActionCollection *ac = actionCollection();
ac->action("debug_run")->setText( i18n("&Continue") );
ac->action("debug_run")->setToolTip( i18n("Continues the application execution") );
ac->action("debug_run")->setWhatsThis( i18n("Continue application execution\n\n"
@@ -701,7 +701,7 @@ void RubyDebuggerPart::slotStatus(const TQString &msg, int state)
{
stateIndicator = "E";
stateChanged( TQString("stopped") );
- KActionCollection *ac = actionCollection();
+ TDEActionCollection *ac = actionCollection();
ac->action("debug_run")->setText( i18n("Restart") );
// ac->action("debug_run")->setIcon( "1rightarrow" );
ac->action("debug_run")->setToolTip( i18n("Restart the program in the debugger") );
@@ -744,7 +744,7 @@ void RubyDebuggerPart::slotGotoSource(const TQString &fileName, int lineNum)
void RubyDebuggerPart::slotActivePartChanged( KParts::Part* part )
{
- KAction* action = actionCollection()->action("debug_toggle_breakpoint");
+ TDEAction* action = actionCollection()->action("debug_toggle_breakpoint");
if(!action)
return;