summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/debuggerpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/debuggerpart.cpp')
-rw-r--r--languages/cpp/debugger/debuggerpart.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/languages/cpp/debugger/debuggerpart.cpp b/languages/cpp/debugger/debuggerpart.cpp
index c18d581d..29280d4e 100644
--- a/languages/cpp/debugger/debuggerpart.cpp
+++ b/languages/cpp/debugger/debuggerpart.cpp
@@ -183,10 +183,10 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
this, TQT_SLOT(slotShowView(bool)));
// Now setup the actions
- KAction *action;
+ TDEAction *action;
-// action = new KAction(i18n("&Start"), "1rightarrow", CTRL+SHIFT+Key_F9,
- action = new KAction(i18n("&Start"), "dbgrun", Key_F9,
+// action = new TDEAction(i18n("&Start"), "1rightarrow", CTRL+SHIFT+Key_F9,
+ action = new TDEAction(i18n("&Start"), "dbgrun", Key_F9,
this, TQT_SLOT(slotRun()),
actionCollection(), "debug_run");
action->setToolTip( i18n("Start in debugger") );
@@ -197,7 +197,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
"while it is running, in order to get information "
"about variables, frame stack, and so on.") );
- action = new KAction(i18n("&Restart"), "dbgrestart", 0,
+ action = new TDEAction(i18n("&Restart"), "dbgrestart", 0,
this, TQT_SLOT(slotRestart()),
actionCollection(), "debug_restart");
action->setToolTip( i18n("Restart program") );
@@ -207,33 +207,33 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
action->setEnabled(false);
- 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 GDB 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("Set E&xecution Position to Cursor"), "dbgjumpto", 0,
+ action = new TDEAction(i18n("Set E&xecution Position to Cursor"), "dbgjumpto", 0,
this, TQT_SLOT(slotJumpToCursor()),
actionCollection(), "debug_jumptocursor");
action->setToolTip( i18n("Jump to cursor") );
action->setWhatsThis(i18n("<b>Set Execution Position </b><p>Set the execution pointer to the current cursor position."));
- action = new KAction(i18n("Step &Over"), "dbgnext", Key_F10,
+ action = new TDEAction(i18n("Step &Over"), "dbgnext", Key_F10,
this, TQT_SLOT(slotStepOver()),
actionCollection(), "debug_stepover");
action->setToolTip( i18n("Step over the next line") );
@@ -244,14 +244,14 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
"following the function call.") );
- action = new KAction(i18n("Step over Ins&truction"), "dbgnextinst", 0,
+ action = new TDEAction(i18n("Step over Ins&truction"), "dbgnextinst", 0,
this, TQT_SLOT(slotStepOverInstruction()),
actionCollection(), "debug_stepoverinst");
action->setToolTip( i18n("Step over instruction") );
action->setWhatsThis(i18n("<b>Step over instruction</b><p>Steps over the next assembly instruction."));
- action = new KAction(i18n("Step &Into"), "dbgstep", Key_F11,
+ action = new TDEAction(i18n("Step &Into"), "dbgstep", Key_F11,
this, TQT_SLOT(slotStepInto()),
actionCollection(), "debug_stepinto");
action->setToolTip( i18n("Step into the next statement") );
@@ -261,14 +261,14 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
"the function has been entered.") );
- action = new KAction(i18n("Step into I&nstruction"), "dbgstepinst", 0,
+ action = new TDEAction(i18n("Step into I&nstruction"), "dbgstepinst", 0,
this, TQT_SLOT(slotStepIntoInstruction()),
actionCollection(), "debug_stepintoinst");
action->setToolTip( i18n("Step into instruction") );
action->setWhatsThis(i18n("<b>Step into instruction</b><p>Steps into the next assembly instruction."));
- action = new KAction(i18n("Step O&ut"), "dbgstepout", Key_F12,
+ action = new TDEAction(i18n("Step O&ut"), "dbgstepout", Key_F12,
this, TQT_SLOT(slotStepOut()),
actionCollection(), "debug_stepout");
action->setToolTip( i18n("Steps out of the current function") );
@@ -280,7 +280,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
"main()) then this operation has no effect.") );
- action = new KAction(i18n("Viewers"), "dbgmemview", 0,
+ action = new TDEAction(i18n("Viewers"), "dbgmemview", 0,
this, TQT_SLOT(slotMemoryView()),
actionCollection(), "debug_memview");
action->setToolTip( i18n("Debugger viewers") );
@@ -291,7 +291,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
"<b>Libraries</b>"));
- action = new KAction(i18n("Examine Core File..."), "core", 0,
+ action = new TDEAction(i18n("Examine Core File..."), "core", 0,
this, TQT_SLOT(slotExamineCore()),
actionCollection(), "debug_core");
action->setToolTip( i18n("Examine core file") );
@@ -303,13 +303,13 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
"allowing you to do a post-mortem analysis.") );
- action = new KAction(i18n("Attach to Process"), "connect_creating", 0,
+ action = new TDEAction(i18n("Attach to Process"), "connect_creating", 0,
this, TQT_SLOT(slotAttachProcess()),
actionCollection(), "debug_attach");
action->setToolTip( i18n("Attach to process") );
action->setWhatsThis(i18n("<b>Attach to process</b><p>Attaches the debugger to a running process."));
- 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"));
@@ -492,7 +492,7 @@ void DebuggerPart::contextMenu(TQPopupMenu *popup, const Context *context)
if (running)
{
// Too bad we can't add TQAction to popup menu in TQt3.
- KAction* act = actionCollection()->action("debug_runtocursor");
+ TDEAction* act = actionCollection()->action("debug_runtocursor");
Q_ASSERT(act);
if (act)
{
@@ -672,7 +672,7 @@ bool DebuggerPart::startDebugger()
stateChanged( TQString("active") );
- KActionCollection *ac = actionCollection();
+ TDEActionCollection *ac = actionCollection();
ac->action("debug_run")->setText( i18n("&Continue") );
ac->action("debug_run")->setToolTip(
@@ -737,7 +737,7 @@ void DebuggerPart::slotStopDebugger()
mainWindow()->setViewAvailable(disassembleWidget, false);
mainWindow()->setViewAvailable(gdbOutputWidget, 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") );
@@ -912,7 +912,7 @@ void DebuggerPart::slotRun_part2()
}
else if (controller->stateIsOn( s_appNotStarted ) )
{
- 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"
@@ -1135,7 +1135,7 @@ void DebuggerPart::slotStatus(const TQString &msg, int state)
if (state & s_appNotStarted)
{
- KActionCollection *ac = actionCollection();
+ TDEActionCollection *ac = actionCollection();
ac->action("debug_run")->setText( i18n("To start something","Start") );
ac->action("debug_run")->setToolTip( i18n("Restart the program in the debugger") );
ac->action("debug_run")->setWhatsThis( i18n("Restart in debugger\n\n"
@@ -1215,7 +1215,7 @@ void DebuggerPart::slotGotoSource(const TQString &fileName, int lineNum)
void DebuggerPart::slotActivePartChanged( KParts::Part* part )
{
- KAction* action = actionCollection()->action("debug_toggle_breakpoint");
+ TDEAction* action = actionCollection()->action("debug_toggle_breakpoint");
if(!action)
return;