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.cpp214
1 files changed, 107 insertions, 107 deletions
diff --git a/languages/cpp/debugger/debuggerpart.cpp b/languages/cpp/debugger/debuggerpart.cpp
index 6621cbf8..e2efd7b0 100644
--- a/languages/cpp/debugger/debuggerpart.cpp
+++ b/languages/cpp/debugger/debuggerpart.cpp
@@ -166,12 +166,12 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
mainWindow()->setViewAvailable(gdbOutputWidget, false);
// gdbBreakpointWidget -> this
- connect( gdbBreakpointWidget, TQT_SIGNAL(refreshBPState(const Breakpoint&)),
- this, TQT_SLOT(slotRefreshBPState(const Breakpoint&)));
- connect( gdbBreakpointWidget, TQT_SIGNAL(publishBPState(const Breakpoint&)),
- this, TQT_SLOT(slotRefreshBPState(const Breakpoint&)));
- connect( gdbBreakpointWidget, TQT_SIGNAL(gotoSourcePosition(const TQString&, int)),
- this, TQT_SLOT(slotGotoSource(const TQString&, int)) );
+ connect( gdbBreakpointWidget, TQ_SIGNAL(refreshBPState(const Breakpoint&)),
+ this, TQ_SLOT(slotRefreshBPState(const Breakpoint&)));
+ connect( gdbBreakpointWidget, TQ_SIGNAL(publishBPState(const Breakpoint&)),
+ this, TQ_SLOT(slotRefreshBPState(const Breakpoint&)));
+ connect( gdbBreakpointWidget, TQ_SIGNAL(gotoSourcePosition(const TQString&, int)),
+ this, TQ_SLOT(slotGotoSource(const TQString&, int)) );
viewerWidget = new ViewerWidget( controller, 0, "viewerWidget");
@@ -179,15 +179,15 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
i18n("Debug views"),
i18n("Special debugger views"));
mainWindow()->setViewAvailable(viewerWidget, false);
- connect(viewerWidget, TQT_SIGNAL(setViewShown(bool)),
- this, TQT_SLOT(slotShowView(bool)));
+ connect(viewerWidget, TQ_SIGNAL(setViewShown(bool)),
+ this, TQ_SLOT(slotShowView(bool)));
// Now setup the actions
TDEAction *action;
// action = new TDEAction(i18n("&Start"), "1rightarrow", CTRL+SHIFT+Key_F9,
action = new TDEAction(i18n("&Start"), "dbgrun", Key_F9,
- this, TQT_SLOT(slotRun()),
+ this, TQ_SLOT(slotRun()),
actionCollection(), "debug_run");
action->setToolTip( i18n("Start in debugger") );
action->setWhatsThis( i18n("<b>Start in debugger</b><p>"
@@ -198,7 +198,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
"about variables, frame stack, and so on.") );
action = new TDEAction(i18n("&Restart"), "dbgrestart", 0,
- this, TQT_SLOT(slotRestart()),
+ this, TQ_SLOT(slotRestart()),
actionCollection(), "debug_restart");
action->setToolTip( i18n("Restart program") );
action->setWhatsThis( i18n("<b>Restarts application</b><p>"
@@ -208,33 +208,33 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
action = new TDEAction(i18n("Sto&p"), "process-stop", 0,
- this, TQT_SLOT(slotStop()),
+ this, TQ_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 TDEAction(i18n("Interrupt"), "media-playback-pause", 0,
- this, TQT_SLOT(slotPause()),
+ this, TQ_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 TDEAction(i18n("Run to &Cursor"), "dbgrunto", 0,
- this, TQT_SLOT(slotRunToCursor()),
+ this, TQ_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 TDEAction(i18n("Set E&xecution Position to Cursor"), "dbgjumpto", 0,
- this, TQT_SLOT(slotJumpToCursor()),
+ this, TQ_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 TDEAction(i18n("Step &Over"), "dbgnext", Key_F10,
- this, TQT_SLOT(slotStepOver()),
+ this, TQ_SLOT(slotStepOver()),
actionCollection(), "debug_stepover");
action->setToolTip( i18n("Step over the next line") );
action->setWhatsThis( i18n("<b>Step over</b><p>"
@@ -245,14 +245,14 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
action = new TDEAction(i18n("Step over Ins&truction"), "dbgnextinst", 0,
- this, TQT_SLOT(slotStepOverInstruction()),
+ this, TQ_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 TDEAction(i18n("Step &Into"), "dbgstep", Key_F11,
- this, TQT_SLOT(slotStepInto()),
+ this, TQ_SLOT(slotStepInto()),
actionCollection(), "debug_stepinto");
action->setToolTip( i18n("Step into the next statement") );
action->setWhatsThis( i18n("<b>Step into</b><p>"
@@ -262,14 +262,14 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
action = new TDEAction(i18n("Step into I&nstruction"), "dbgstepinst", 0,
- this, TQT_SLOT(slotStepIntoInstruction()),
+ this, TQ_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 TDEAction(i18n("Step O&ut"), "dbgstepout", Key_F12,
- this, TQT_SLOT(slotStepOut()),
+ this, TQ_SLOT(slotStepOut()),
actionCollection(), "debug_stepout");
action->setToolTip( i18n("Steps out of the current function") );
action->setWhatsThis( i18n("<b>Step out</b><p>"
@@ -281,7 +281,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
action = new TDEAction(i18n("Viewers"), "dbgmemview", 0,
- this, TQT_SLOT(slotMemoryView()),
+ this, TQ_SLOT(slotMemoryView()),
actionCollection(), "debug_memview");
action->setToolTip( i18n("Debugger viewers") );
action->setWhatsThis(i18n("<b>Debugger viewers</b><p>Various information about application being executed. There are 4 views available:<br>"
@@ -292,7 +292,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
action = new TDEAction(i18n("Examine Core File..."), "application-x-core", 0,
- this, TQT_SLOT(slotExamineCore()),
+ this, TQ_SLOT(slotExamineCore()),
actionCollection(), "debug_core");
action->setToolTip( i18n("Examine core file") );
action->setWhatsThis( i18n("<b>Examine core file</b><p>"
@@ -304,72 +304,72 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
action = new TDEAction(i18n("Attach to Process"), "connect_creating", 0,
- this, TQT_SLOT(slotAttachProcess()),
+ this, TQ_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 TDEAction(i18n("Toggle Breakpoint"), 0, 0,
- this, TQT_SLOT(toggleBreakpoint()),
+ this, TQ_SLOT(toggleBreakpoint()),
actionCollection(), "debug_toggle_breakpoint");
action->setToolTip(i18n("Toggle breakpoint"));
action->setWhatsThis(i18n("<b>Toggle breakpoint</b><p>Toggles the breakpoint at the current line in editor."));
- connect( mainWindow()->main()->guiFactory(), TQT_SIGNAL(clientAdded(KXMLGUIClient*)),
- this, TQT_SLOT(guiClientAdded(KXMLGUIClient*)) );
+ connect( mainWindow()->main()->guiFactory(), TQ_SIGNAL(clientAdded(KXMLGUIClient*)),
+ this, TQ_SLOT(guiClientAdded(KXMLGUIClient*)) );
- connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)),
- this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)),
+ this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
- connect( partController(), TQT_SIGNAL(loadedFile(const KURL &)),
- gdbBreakpointWidget, TQT_SLOT(slotRefreshBP(const KURL &)) );
- connect( debugger(), TQT_SIGNAL(toggledBreakpoint(const TQString &, int)),
- gdbBreakpointWidget, TQT_SLOT(slotToggleBreakpoint(const TQString &, int)) );
- connect( debugger(), TQT_SIGNAL(editedBreakpoint(const TQString &, int)),
- gdbBreakpointWidget, TQT_SLOT(slotEditBreakpoint(const TQString &, int)) );
- connect( debugger(), TQT_SIGNAL(toggledBreakpointEnabled(const TQString &, int)),
- gdbBreakpointWidget, TQT_SLOT(slotToggleBreakpointEnabled(const TQString &, int)) );
+ connect( partController(), TQ_SIGNAL(loadedFile(const KURL &)),
+ gdbBreakpointWidget, TQ_SLOT(slotRefreshBP(const KURL &)) );
+ connect( debugger(), TQ_SIGNAL(toggledBreakpoint(const TQString &, int)),
+ gdbBreakpointWidget, TQ_SLOT(slotToggleBreakpoint(const TQString &, int)) );
+ connect( debugger(), TQ_SIGNAL(editedBreakpoint(const TQString &, int)),
+ gdbBreakpointWidget, TQ_SLOT(slotEditBreakpoint(const TQString &, int)) );
+ connect( debugger(), TQ_SIGNAL(toggledBreakpointEnabled(const TQString &, int)),
+ gdbBreakpointWidget, TQ_SLOT(slotToggleBreakpointEnabled(const TQString &, int)) );
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(slotStop(KDevPlugin*)) );
- connect( core(), TQT_SIGNAL(projectClosed()),
- this, TQT_SLOT(projectClosed()) );
+ connect( core(), TQ_SIGNAL(stopButtonClicked(KDevPlugin*)),
+ this, TQ_SLOT(slotStop(KDevPlugin*)) );
+ connect( core(), TQ_SIGNAL(projectClosed()),
+ this, TQ_SLOT(projectClosed()) );
- connect( partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)),
- this, TQT_SLOT(slotActivePartChanged(KParts::Part*)) );
+ connect( partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)),
+ this, TQ_SLOT(slotActivePartChanged(KParts::Part*)) );
procLineMaker = new ProcessLineMaker();
- connect( procLineMaker, TQT_SIGNAL(receivedStdoutLine(const TQCString&)),
- appFrontend(), TQT_SLOT(insertStdoutLine(const TQCString&)) );
- connect( procLineMaker, TQT_SIGNAL(receivedStderrLine(const TQCString&)),
- appFrontend(), TQT_SLOT(insertStderrLine(const TQCString&)) );
+ connect( procLineMaker, TQ_SIGNAL(receivedStdoutLine(const TQCString&)),
+ appFrontend(), TQ_SLOT(insertStdoutLine(const TQCString&)) );
+ connect( procLineMaker, TQ_SIGNAL(receivedStderrLine(const TQCString&)),
+ appFrontend(), TQ_SLOT(insertStderrLine(const TQCString&)) );
- connect( procLineMaker, TQT_SIGNAL(receivedPartialStdoutLine(const TQCString&)),
- appFrontend(), TQT_SLOT(addPartialStdoutLine(const TQCString&)));
- connect( procLineMaker, TQT_SIGNAL(receivedPartialStderrLine(const TQCString&)),
- appFrontend(), TQT_SLOT(addPartialStderrLine(const TQCString&)));
+ connect( procLineMaker, TQ_SIGNAL(receivedPartialStdoutLine(const TQCString&)),
+ appFrontend(), TQ_SLOT(addPartialStdoutLine(const TQCString&)));
+ connect( procLineMaker, TQ_SIGNAL(receivedPartialStderrLine(const TQCString&)),
+ appFrontend(), TQ_SLOT(addPartialStderrLine(const TQCString&)));
// The output from tracepoints goes to "application" window, because
// we don't have any better alternative, and using yet another window
// is undesirable. Besides, this makes tracepoint look even more similar
// to printf debugging.
- connect( gdbBreakpointWidget, TQT_SIGNAL(tracingOutput(const char*)),
- procLineMaker, TQT_SLOT(slotReceivedStdout(const char*)));
+ connect( gdbBreakpointWidget, TQ_SIGNAL(tracingOutput(const char*)),
+ procLineMaker, TQ_SLOT(slotReceivedStdout(const char*)));
- connect(partController(), TQT_SIGNAL(savedFile(const KURL &)),
- this, TQT_SLOT(slotFileSaved()));
+ connect(partController(), TQ_SIGNAL(savedFile(const KURL &)),
+ this, TQ_SLOT(slotFileSaved()));
if (project())
- connect(project(), TQT_SIGNAL(projectCompiled()),
- this, TQT_SLOT(slotProjectCompiled()));
+ connect(project(), TQ_SIGNAL(projectCompiled()),
+ this, TQ_SLOT(slotProjectCompiled()));
setupController();
- TQTimer::singleShot(0, this, TQT_SLOT(setupDcop()));
+ TQTimer::singleShot(0, this, TQ_SLOT(setupDcop()));
}
void DebuggerPart::setupDcop()
@@ -379,7 +379,7 @@ void DebuggerPart::setupDcop()
if ((*it).find("drkonqi-") == 0)
slotDCOPApplicationRegistered(*it);
- connect(kapp->dcopClient(), TQT_SIGNAL(applicationRegistered(const TQCString&)), TQT_SLOT(slotDCOPApplicationRegistered(const TQCString&)));
+ connect(kapp->dcopClient(), TQ_SIGNAL(applicationRegistered(const TQCString&)), TQ_SLOT(slotDCOPApplicationRegistered(const TQCString&)));
kapp->dcopClient()->setNotifications(true);
}
@@ -415,7 +415,7 @@ ASYNC DebuggerPart::slotDebugExternalProcess()
if (attachProcess(pid) && m_drkonqi.isEmpty()) {
m_drkonqi = kapp->dcopClient()->senderId();
- TQTimer::singleShot(15000, this, TQT_SLOT(slotCloseDrKonqi()));
+ TQTimer::singleShot(15000, this, TQ_SLOT(slotCloseDrKonqi()));
mainWindow()->raiseView(framestackWidget);
}
@@ -497,7 +497,7 @@ void DebuggerPart::contextMenu(TQPopupMenu *popup, const Context *context)
if (act)
{
int id = popup->insertItem( act->iconSet(), i18n("Run to &Cursor"),
- this, TQT_SLOT(slotRunToCursor()),
+ this, TQ_SLOT(slotRunToCursor()),
0, -1, index);
popup->setWhatsThis(id, act->whatsThis());
@@ -507,7 +507,7 @@ void DebuggerPart::contextMenu(TQPopupMenu *popup, const Context *context)
if (econtext->url().isLocalFile())
{
int id = popup->insertItem( i18n("Toggle Breakpoint"),
- this, TQT_SLOT(toggleBreakpoint()),
+ this, TQ_SLOT(toggleBreakpoint()),
0, -1, index);
index += running;
popup->setWhatsThis(id, i18n("<b>Toggle breakpoint</b><p>Toggles breakpoint at the current line."));
@@ -516,12 +516,12 @@ void DebuggerPart::contextMenu(TQPopupMenu *popup, const Context *context)
{
TQString squeezed = KStringHandler::csqueeze(m_contextIdent, 30);
int id = popup->insertItem( i18n("Evaluate: %1").arg(squeezed),
- this, TQT_SLOT(contextEvaluate()),
+ this, TQ_SLOT(contextEvaluate()),
0, -1, index);
index += running;
popup->setWhatsThis(id, i18n("<b>Evaluate expression</b><p>Shows the value of the expression under the cursor."));
int id2 = popup->insertItem( i18n("Watch: %1").arg(squeezed),
- this, TQT_SLOT(contextWatch()),
+ this, TQ_SLOT(contextWatch()),
0, -1, index);
index += running;
popup->setWhatsThis(id2, i18n("<b>Watch expression</b><p>Adds an expression under the cursor to the Variables/Watch list."));
@@ -562,8 +562,8 @@ void DebuggerPart::projectConfigWidget(KDialogBase *dlg)
{
TQVBox *vbox = dlg->addVBoxPage(i18n("Debugger"), i18n("Debugger"), BarIcon( info()->icon(), TDEIcon::SizeMedium) );
DebuggerConfigWidget *w = new DebuggerConfigWidget(this, vbox, "debugger config widget");
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
- connect( dlg, TQT_SIGNAL(finished()), controller, TQT_SLOT(configure()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(finished()), controller, TQ_SLOT(configure()) );
}
@@ -572,57 +572,57 @@ void DebuggerPart::setupController()
VariableTree *variableTree = variableWidget->varTree();
// variableTree -> gdbBreakpointWidget
- connect( variableTree, TQT_SIGNAL(toggleWatchpoint(const TQString &)),
- gdbBreakpointWidget, TQT_SLOT(slotToggleWatchpoint(const TQString &)));
+ connect( variableTree, TQ_SIGNAL(toggleWatchpoint(const TQString &)),
+ gdbBreakpointWidget, TQ_SLOT(slotToggleWatchpoint(const TQString &)));
// gdbOutputWidget -> controller
- connect( gdbOutputWidget, TQT_SIGNAL(userGDBCmd(const TQString &)),
- controller, TQT_SLOT(slotUserGDBCmd(const TQString&)));
- connect( gdbOutputWidget, TQT_SIGNAL(breakInto()),
- controller, TQT_SLOT(slotBreakInto()));
+ connect( gdbOutputWidget, TQ_SIGNAL(userGDBCmd(const TQString &)),
+ controller, TQ_SLOT(slotUserGDBCmd(const TQString&)));
+ connect( gdbOutputWidget, TQ_SIGNAL(breakInto()),
+ controller, TQ_SLOT(slotBreakInto()));
- connect( controller, TQT_SIGNAL(breakpointHit(int)),
- gdbBreakpointWidget, TQT_SLOT(slotBreakpointHit(int)));
+ connect( controller, TQ_SIGNAL(breakpointHit(int)),
+ gdbBreakpointWidget, TQ_SLOT(slotBreakpointHit(int)));
// controller -> disassembleWidget
- connect( controller, TQT_SIGNAL(showStepInSource(const TQString&, int, const TQString&)),
- disassembleWidget, TQT_SLOT(slotShowStepInSource(const TQString&, int, const TQString&)));
+ connect( controller, TQ_SIGNAL(showStepInSource(const TQString&, int, const TQString&)),
+ disassembleWidget, TQ_SLOT(slotShowStepInSource(const TQString&, int, const TQString&)));
// controller -> this
- connect( controller, TQT_SIGNAL(dbgStatus(const TQString&, int)),
- this, TQT_SLOT(slotStatus(const TQString&, int)));
- connect( controller, TQT_SIGNAL(showStepInSource(const TQString&, int, const TQString&)),
- this, TQT_SLOT(slotShowStep(const TQString&, int)));
- connect( controller, TQT_SIGNAL(debuggerAbnormalExit()),
- this, TQT_SLOT(slotDebuggerAbnormalExit()));
+ connect( controller, TQ_SIGNAL(dbgStatus(const TQString&, int)),
+ this, TQ_SLOT(slotStatus(const TQString&, int)));
+ connect( controller, TQ_SIGNAL(showStepInSource(const TQString&, int, const TQString&)),
+ this, TQ_SLOT(slotShowStep(const TQString&, int)));
+ connect( controller, TQ_SIGNAL(debuggerAbnormalExit()),
+ this, TQ_SLOT(slotDebuggerAbnormalExit()));
- connect(controller, TQT_SIGNAL(event(GDBController::event_t)),
- this, TQT_SLOT(slotEvent(GDBController::event_t)));
+ connect(controller, TQ_SIGNAL(event(GDBController::event_t)),
+ this, TQ_SLOT(slotEvent(GDBController::event_t)));
// controller -> procLineMaker
- connect( controller, TQT_SIGNAL(ttyStdout(const char*)),
- procLineMaker, TQT_SLOT(slotReceivedStdout(const char*)));
- connect( controller, TQT_SIGNAL(ttyStderr(const char*)),
- procLineMaker, TQT_SLOT(slotReceivedStderr(const char*)));
+ connect( controller, TQ_SIGNAL(ttyStdout(const char*)),
+ procLineMaker, TQ_SLOT(slotReceivedStdout(const char*)));
+ connect( controller, TQ_SIGNAL(ttyStderr(const char*)),
+ procLineMaker, TQ_SLOT(slotReceivedStderr(const char*)));
// controller -> gdbOutputWidget
- connect( controller, TQT_SIGNAL(gdbInternalCommandStdout(const char*)),
- gdbOutputWidget, TQT_SLOT(slotInternalCommandStdout(const char*)) );
- connect( controller, TQT_SIGNAL(gdbUserCommandStdout(const char*)),
- gdbOutputWidget, TQT_SLOT(slotUserCommandStdout(const char*)) );
+ connect( controller, TQ_SIGNAL(gdbInternalCommandStdout(const char*)),
+ gdbOutputWidget, TQ_SLOT(slotInternalCommandStdout(const char*)) );
+ connect( controller, TQ_SIGNAL(gdbUserCommandStdout(const char*)),
+ gdbOutputWidget, TQ_SLOT(slotUserCommandStdout(const char*)) );
- connect( controller, TQT_SIGNAL(gdbStderr(const char*)),
- gdbOutputWidget, TQT_SLOT(slotReceivedStderr(const char*)) );
- connect( controller, TQT_SIGNAL(dbgStatus(const TQString&, int)),
- gdbOutputWidget, TQT_SLOT(slotDbgStatus(const TQString&, int)));
+ connect( controller, TQ_SIGNAL(gdbStderr(const char*)),
+ gdbOutputWidget, TQ_SLOT(slotReceivedStderr(const char*)) );
+ connect( controller, TQ_SIGNAL(dbgStatus(const TQString&, int)),
+ gdbOutputWidget, TQ_SLOT(slotDbgStatus(const TQString&, int)));
// controller -> viewerWidget
- connect( controller, TQT_SIGNAL(dbgStatus(const TQString&, int)),
- viewerWidget, TQT_SLOT(slotDebuggerState(const TQString&, int)));
+ connect( controller, TQ_SIGNAL(dbgStatus(const TQString&, int)),
+ viewerWidget, TQ_SLOT(slotDebuggerState(const TQString&, int)));
- connect(statusBarIndicator, TQT_SIGNAL(doubleClicked()),
- controller, TQT_SLOT(explainDebuggerStatus()));
+ connect(statusBarIndicator, TQ_SIGNAL(doubleClicked()),
+ controller, TQ_SLOT(explainDebuggerStatus()));
}
@@ -857,18 +857,18 @@ void DebuggerPart::slotRun()
if (rebuild)
{
- disconnect(TQT_SIGNAL(buildProject()));
+ disconnect(TQ_SIGNAL(buildProject()));
// 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
// modified files.
- if (connect(this, TQT_SIGNAL(buildProject()),
- project(), TQT_SLOT(slotBuild())))
+ if (connect(this, TQ_SIGNAL(buildProject()),
+ project(), TQ_SLOT(slotBuild())))
{
- connect(project(), TQT_SIGNAL(projectCompiled()),
- this, TQT_SLOT(slotRun_part2()));
+ connect(project(), TQ_SIGNAL(projectCompiled()),
+ this, TQ_SLOT(slotRun_part2()));
emit buildProject();
rebuild = true;
@@ -894,8 +894,8 @@ void DebuggerPart::slotRun_part2()
{
needRebuild_ = false;
- disconnect(project(), TQT_SIGNAL(projectCompiled()),
- this, TQT_SLOT(slotRun_part2()));
+ disconnect(project(), TQ_SIGNAL(projectCompiled()),
+ this, TQ_SLOT(slotRun_part2()));
if (controller->stateIsOn( s_dbgNotStarted ))
{