summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger')
-rw-r--r--languages/cpp/debugger/DESIGN.txt2
-rw-r--r--languages/cpp/debugger/breakpoint.h2
-rw-r--r--languages/cpp/debugger/dbgcontroller.h2
-rw-r--r--languages/cpp/debugger/dbgpsdlg.cpp12
-rw-r--r--languages/cpp/debugger/dbgpsdlg.h2
-rw-r--r--languages/cpp/debugger/dbgtoolbar.cpp44
-rw-r--r--languages/cpp/debugger/dbgtoolbar.h4
-rw-r--r--languages/cpp/debugger/debuggerconfigwidget.h2
-rw-r--r--languages/cpp/debugger/debuggerconfigwidgetbase.ui9
-rw-r--r--languages/cpp/debugger/debuggerpart.cpp214
-rw-r--r--languages/cpp/debugger/debuggerpart.h2
-rw-r--r--languages/cpp/debugger/debuggertracingdialog.cpp8
-rw-r--r--languages/cpp/debugger/debuggertracingdialog.h2
-rw-r--r--languages/cpp/debugger/debuggertracingdialogbase.ui4
-rw-r--r--languages/cpp/debugger/disassemblewidget.h2
-rw-r--r--languages/cpp/debugger/framestackwidget.cpp8
-rw-r--r--languages/cpp/debugger/framestackwidget.h2
-rw-r--r--languages/cpp/debugger/gdbbreakpointwidget.cpp56
-rw-r--r--languages/cpp/debugger/gdbbreakpointwidget.h4
-rw-r--r--languages/cpp/debugger/gdbcommand.h16
-rw-r--r--languages/cpp/debugger/gdbcontroller.cpp24
-rw-r--r--languages/cpp/debugger/gdbcontroller.h4
-rw-r--r--languages/cpp/debugger/gdboutputwidget.cpp12
-rw-r--r--languages/cpp/debugger/gdboutputwidget.h4
-rw-r--r--languages/cpp/debugger/gdbtable.h2
-rw-r--r--languages/cpp/debugger/label_with_double_click.h2
-rw-r--r--languages/cpp/debugger/memviewdlg.cpp38
-rw-r--r--languages/cpp/debugger/memviewdlg.h4
-rw-r--r--languages/cpp/debugger/mi/miparser.cpp10
-rw-r--r--languages/cpp/debugger/stty.cpp2
-rw-r--r--languages/cpp/debugger/stty.h2
-rw-r--r--languages/cpp/debugger/variablewidget.cpp28
-rw-r--r--languages/cpp/debugger/variablewidget.h6
33 files changed, 263 insertions, 272 deletions
diff --git a/languages/cpp/debugger/DESIGN.txt b/languages/cpp/debugger/DESIGN.txt
index 627fd403..3f4b4786 100644
--- a/languages/cpp/debugger/DESIGN.txt
+++ b/languages/cpp/debugger/DESIGN.txt
@@ -30,7 +30,7 @@ necessary to clear already cached data for other threads.
== Command execution ==
The controller has a queue of commands to send to gdb. A command typically
-has a callback (pair of QObject* and a member pointer) to be called when
+has a callback (pair of TQObject* and a member pointer) to be called when
command is done.
When the queue is non-empty, and debugger is not busy executing the previous
diff --git a/languages/cpp/debugger/breakpoint.h b/languages/cpp/debugger/breakpoint.h
index a313a814..28e7f1dd 100644
--- a/languages/cpp/debugger/breakpoint.h
+++ b/languages/cpp/debugger/breakpoint.h
@@ -46,7 +46,7 @@ enum BP_TYPES
class Breakpoint : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
Breakpoint(bool temporary=false, bool enabled=true);
diff --git a/languages/cpp/debugger/dbgcontroller.h b/languages/cpp/debugger/dbgcontroller.h
index 022a6fcf..8b55896b 100644
--- a/languages/cpp/debugger/dbgcontroller.h
+++ b/languages/cpp/debugger/dbgcontroller.h
@@ -67,7 +67,7 @@ enum DBGStateFlags
/***************************************************************************/
class DbgController : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/debugger/dbgpsdlg.cpp b/languages/cpp/debugger/dbgpsdlg.cpp
index 718345a1..f6791209 100644
--- a/languages/cpp/debugger/dbgpsdlg.cpp
+++ b/languages/cpp/debugger/dbgpsdlg.cpp
@@ -73,21 +73,21 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name)
topLayout->addWidget(pids_);
pids_->setFont(TDEGlobalSettings::fixedFont());
- KButtonBox *buttonbox = new KButtonBox(this, Qt::Horizontal);
+ KButtonBox *buttonbox = new KButtonBox(this, TQt::Horizontal);
buttonbox->addStretch();
TQPushButton *ok = buttonbox->addButton(KStdGuiItem::ok());
TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel());
buttonbox->layout();
topLayout->addWidget(buttonbox);
- connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept()));
- connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()));
+ connect(ok, TQ_SIGNAL(clicked()), TQ_SLOT(accept()));
+ connect(cancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()));
// Default display to 40 chars wide, default height is okay
resize( ((TDEGlobalSettings::fixedFont()).pointSize())*40, height());
topLayout->activate();
- TQTimer::singleShot(0, this, TQT_SLOT(slotInit()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotInit()));
}
@@ -133,8 +133,8 @@ void Dbg_PS_Dialog::slotInit()
}
#endif
- connect( psProc_, TQT_SIGNAL(processExited(TDEProcess *)), TQT_SLOT(slotProcessExited()) );
- connect( psProc_, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQT_SLOT(slotReceivedOutput(TDEProcess *, char *, int)) );
+ connect( psProc_, TQ_SIGNAL(processExited(TDEProcess *)), TQ_SLOT(slotProcessExited()) );
+ connect( psProc_, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQ_SLOT(slotReceivedOutput(TDEProcess *, char *, int)) );
psProc_->start(TDEProcess::NotifyOnExit, TDEProcess::Stdout);
}
diff --git a/languages/cpp/debugger/dbgpsdlg.h b/languages/cpp/debugger/dbgpsdlg.h
index fd42fa2b..dc92245d 100644
--- a/languages/cpp/debugger/dbgpsdlg.h
+++ b/languages/cpp/debugger/dbgpsdlg.h
@@ -30,7 +30,7 @@ namespace GDBDebugger
class Dbg_PS_Dialog : public KDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/debugger/dbgtoolbar.cpp b/languages/cpp/debugger/dbgtoolbar.cpp
index 05b92d8a..f9143fc0 100644
--- a/languages/cpp/debugger/dbgtoolbar.cpp
+++ b/languages/cpp/debugger/dbgtoolbar.cpp
@@ -107,13 +107,13 @@ void DbgMoveHandle::mousePressEvent(TQMouseEvent *e)
if (moving_)
return;
- if (e->button() == Qt::RightButton) {
+ if (e->button() == TQt::RightButton) {
TDEPopupMenu *menu = new TDEPopupMenu(this);
menu->insertTitle(i18n("Debug Toolbar"));
menu->insertItem(i18n("Dock to Panel"),
- parent(), TQT_SLOT(slotDock()));
+ parent(), TQ_SLOT(slotDock()));
menu->insertItem(i18n("Dock to Panel && Iconify TDevelop"),
- parent(), TQT_SLOT(slotIconifyAndDock()));
+ parent(), TQ_SLOT(slotIconifyAndDock()));
menu->popup(e->globalPos());
} else {
moving_ = true;
@@ -229,22 +229,22 @@ DbgDocker::DbgDocker(TQWidget* parent, DbgToolBar* toolBar, const TQPixmap& pixm
void DbgDocker::mousePressEvent(TQMouseEvent *e)
{
- if (!TQT_TQRECT_OBJECT(rect()).contains( e->pos()))
+ if (!rect().contains( e->pos()))
return;
switch (e->button()) {
- case Qt::LeftButton:
+ case TQt::LeftButton:
{
// Not really a click, but it'll hold for the time being !!!
emit clicked();
break;
}
- case Qt::RightButton:
+ case TQt::RightButton:
{
TDEPopupMenu* menu = new TDEPopupMenu(this);
menu->insertTitle(i18n("Debug Toolbar"));
- menu->insertItem(i18n("Activate"), toolBar_, TQT_SLOT(slotUndock()));
- menu->insertItem(i18n("Activate (TDevelop gets focus)"), toolBar_, TQT_SLOT(slotActivateAndUndock()));
+ menu->insertItem(i18n("Activate"), toolBar_, TQ_SLOT(slotUndock()));
+ menu->insertItem(i18n("Activate (TDevelop gets focus)"), toolBar_, TQ_SLOT(slotActivateAndUndock()));
menu->popup(e->globalPos());
break;
}
@@ -270,9 +270,9 @@ DbgToolBar::DbgToolBar(DebuggerPart* part,
docker_(0),
dockWindow_(new KSystemTray(parent))
{
- winModule_ = new KWinModule(TQT_TQOBJECT(this));
+ winModule_ = new KWinModule(this);
docker_ = new DbgDocker(parent, this, BarIcon("dbgnext"));
- connect(docker_, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotStepOver()));
+ connect(docker_, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotStepOver()));
// Must have noFocus set so that we can see what window was active.
// see slotDbgKdevFocus() for more comments
@@ -285,7 +285,7 @@ DbgToolBar::DbgToolBar(DebuggerPart* part,
// KWin::setType(winId(), NET::Override); // So it has no decoration
KWin::setType(winId(), NET::Dock);
- setFocusPolicy(TQ_NoFocus);
+ setFocusPolicy(TQWidget::NoFocus);
setFrameStyle( TQFrame::Box | TQFrame::Plain );
setLineWidth(4);
setMidLineWidth(0);
@@ -310,17 +310,17 @@ DbgToolBar::DbgToolBar(DebuggerPart* part,
bKDevFocus_ = new DbgButton(BarIcon("tdevelop"), TQString(), this);
bPrevFocus_ = new DbgButton(BarIcon("dbgmemview"), TQString(), this);
- connect(bRun, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotRun()));
- connect(bInterrupt, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotPause()));
- connect(bNext, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotStepOver()));
- connect(bNexti, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotStepOverInstruction()));
- connect(bStep, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotStepInto()));
- connect(bStepi, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotStepIntoInstruction()));
- connect(bFinish, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotStepOut()));
- connect(bRunTo, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotRunToCursor()));
- connect(bView, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotMemoryView()));
- connect(bKDevFocus_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotKdevFocus()));
- connect(bPrevFocus_, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPrevFocus()));
+ connect(bRun, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotRun()));
+ connect(bInterrupt, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotPause()));
+ connect(bNext, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotStepOver()));
+ connect(bNexti, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotStepOverInstruction()));
+ connect(bStep, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotStepInto()));
+ connect(bStepi, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotStepIntoInstruction()));
+ connect(bFinish, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotStepOut()));
+ connect(bRunTo, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotRunToCursor()));
+ connect(bView, TQ_SIGNAL(clicked()), part_, TQ_SLOT(slotMemoryView()));
+ connect(bKDevFocus_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotKdevFocus()));
+ connect(bPrevFocus_, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPrevFocus()));
TQToolTip::add( bRun, i18n("Continue with application execution, may start the application") );
TQToolTip::add( bInterrupt, i18n("Interrupt the application execution") );
diff --git a/languages/cpp/debugger/dbgtoolbar.h b/languages/cpp/debugger/dbgtoolbar.h
index 3616c831..717643b4 100644
--- a/languages/cpp/debugger/dbgtoolbar.h
+++ b/languages/cpp/debugger/dbgtoolbar.h
@@ -32,7 +32,7 @@ class DebuggerPart;
class DbgDocker : public KSystemTray
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -50,7 +50,7 @@ private:
class DbgToolBar : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/debugger/debuggerconfigwidget.h b/languages/cpp/debugger/debuggerconfigwidget.h
index 3a52da93..1fa060a8 100644
--- a/languages/cpp/debugger/debuggerconfigwidget.h
+++ b/languages/cpp/debugger/debuggerconfigwidget.h
@@ -25,7 +25,7 @@ class DebuggerPart;
class DebuggerConfigWidget : public DebuggerConfigWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/debugger/debuggerconfigwidgetbase.ui b/languages/cpp/debugger/debuggerconfigwidgetbase.ui
index 9d6dcbf1..b3d0ae5e 100644
--- a/languages/cpp/debugger/debuggerconfigwidgetbase.ui
+++ b/languages/cpp/debugger/debuggerconfigwidgetbase.ui
@@ -156,9 +156,6 @@ If you are not "dlopen"ing libs then leave this unchecked.</string>
<property name="text">
<string>Enable separate terminal for application &amp;IO</string>
</property>
- <property name="accel">
- <string>Alt+I</string>
- </property>
<property name="whatsThis" stdset="0">
<string>This allows you to enter terminal input when your
application contains terminal input code (e.g. cin, fgets, etc.).
@@ -173,9 +170,6 @@ Otherwise leave it unchecked.</string>
<property name="text">
<string>E&amp;nable floating toolbar</string>
</property>
- <property name="accel">
- <string>Alt+N</string>
- </property>
<property name="whatsThis" stdset="0">
<string>Use the floating toolbar. This toolbar always stays
on top of all windows so that if the app covers TDevelop
@@ -192,9 +186,6 @@ This toolbar is in addition to the toolbar in TDevelop.</string>
<property name="text">
<string>Display static &amp;members</string>
</property>
- <property name="accel">
- <string>Alt+M</string>
- </property>
<property name="whatsThis" stdset="0">
<string>Displaying static members makes GDB slower in
producing data within TDE and TQt.
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 ))
{
diff --git a/languages/cpp/debugger/debuggerpart.h b/languages/cpp/debugger/debuggerpart.h
index 50479249..04efcb9a 100644
--- a/languages/cpp/debugger/debuggerpart.h
+++ b/languages/cpp/debugger/debuggerpart.h
@@ -46,7 +46,7 @@ class ViewerWidget;
class DebuggerPart : public KDevPlugin, virtual public DebuggerDCOPInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/debugger/debuggertracingdialog.cpp b/languages/cpp/debugger/debuggertracingdialog.cpp
index 90657b29..6d1122ee 100644
--- a/languages/cpp/debugger/debuggertracingdialog.cpp
+++ b/languages/cpp/debugger/debuggertracingdialog.cpp
@@ -19,11 +19,11 @@ namespace GDBDebugger
{
expressions->setButtons(KEditListBox::Add | KEditListBox::Remove);
- connect(enable, TQT_SIGNAL(stateChanged(int)),
- this, TQT_SLOT(enableOrDisable(int)));
+ connect(enable, TQ_SIGNAL(stateChanged(int)),
+ this, TQ_SLOT(enableOrDisable(int)));
- connect(enableCustomFormat, TQT_SIGNAL(stateChanged(int)),
- this, TQT_SLOT(enableOrDisableCustomFormat(int)));
+ connect(enableCustomFormat, TQ_SIGNAL(stateChanged(int)),
+ this, TQ_SLOT(enableOrDisableCustomFormat(int)));
enable->setChecked(bp_->tracingEnabled());
expressions->setItems(bp_->tracedExpressions());
diff --git a/languages/cpp/debugger/debuggertracingdialog.h b/languages/cpp/debugger/debuggertracingdialog.h
index d09a6a31..fa66c7f2 100644
--- a/languages/cpp/debugger/debuggertracingdialog.h
+++ b/languages/cpp/debugger/debuggertracingdialog.h
@@ -22,7 +22,7 @@ namespace GDBDebugger
class DebuggerTracingDialog : public DebuggerTracingDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
DebuggerTracingDialog(Breakpoint* bp,
diff --git a/languages/cpp/debugger/debuggertracingdialogbase.ui b/languages/cpp/debugger/debuggertracingdialogbase.ui
index b6e01791..4f42b213 100644
--- a/languages/cpp/debugger/debuggertracingdialogbase.ui
+++ b/languages/cpp/debugger/debuggertracingdialogbase.ui
@@ -130,9 +130,9 @@ If custom format string is not enabled, names and values of all expressions will
<slot>reject()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>enableOrDisable()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/languages/cpp/debugger/disassemblewidget.h b/languages/cpp/debugger/disassemblewidget.h
index 54729aa4..5b085c0a 100644
--- a/languages/cpp/debugger/disassemblewidget.h
+++ b/languages/cpp/debugger/disassemblewidget.h
@@ -32,7 +32,7 @@ class GDBController;
class DisassembleWidget : public TQTextEdit
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/debugger/framestackwidget.cpp b/languages/cpp/debugger/framestackwidget.cpp
index 423fae89..e81bf590 100644
--- a/languages/cpp/debugger/framestackwidget.cpp
+++ b/languages/cpp/debugger/framestackwidget.cpp
@@ -57,11 +57,11 @@ FramestackWidget::FramestackWidget(GDBController* controller,
// FIXME: maybe, all debugger components should derive from
// a base class that does this connect.
- 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)));
- connect( this, TQT_SIGNAL(clicked(TQListViewItem*)),
- this, TQT_SLOT(slotSelectionChanged(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(clicked(TQListViewItem*)),
+ this, TQ_SLOT(slotSelectionChanged(TQListViewItem*)) );
}
diff --git a/languages/cpp/debugger/framestackwidget.h b/languages/cpp/debugger/framestackwidget.h
index ca79c2f6..ed570245 100644
--- a/languages/cpp/debugger/framestackwidget.h
+++ b/languages/cpp/debugger/framestackwidget.h
@@ -90,7 +90,7 @@ private:
*/
class FramestackWidget : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/debugger/gdbbreakpointwidget.cpp b/languages/cpp/debugger/gdbbreakpointwidget.cpp
index 47904817..c8064711 100644
--- a/languages/cpp/debugger/gdbbreakpointwidget.cpp
+++ b/languages/cpp/debugger/gdbbreakpointwidget.cpp
@@ -145,8 +145,8 @@ void BreakpointTableRow::appendEmptyRow()
ComplexEditCell* act = new ComplexEditCell(table());
table()->setItem(row, Tracing, act);
- TQObject::connect(act, TQT_SIGNAL(edit(TQTableItem*)),
- table()->parent(), TQT_SLOT(editTracing(TQTableItem*)));
+ TQObject::connect(act, TQ_SIGNAL(edit(TQTableItem*)),
+ table()->parent(), TQ_SLOT(editTracing(TQTableItem*)));
}
/***************************************************************************/
@@ -251,39 +251,39 @@ controller_(controller)
m_table->show();
- connect( newBreakpoint, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotAddBlankBreakpoint(int)) );
+ connect( newBreakpoint, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotAddBlankBreakpoint(int)) );
- connect( m_table, TQT_SIGNAL(contextMenuRequested(int, int, const TQPoint &)),
- this, TQT_SLOT(slotContextMenuShow(int, int, const TQPoint & )) );
- connect( m_ctxMenu, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotContextMenuSelect(int)) );
+ connect( m_table, TQ_SIGNAL(contextMenuRequested(int, int, const TQPoint &)),
+ this, TQ_SLOT(slotContextMenuShow(int, int, const TQPoint & )) );
+ connect( m_ctxMenu, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotContextMenuSelect(int)) );
- connect( m_table, TQT_SIGNAL(doubleClicked(int, int, int, const TQPoint &)),
- this, TQT_SLOT(slotRowDoubleClicked(int, int, int, const TQPoint &)));
+ connect( m_table, TQ_SIGNAL(doubleClicked(int, int, int, const TQPoint &)),
+ this, TQ_SLOT(slotRowDoubleClicked(int, int, int, const TQPoint &)));
- connect( m_table, TQT_SIGNAL(valueChanged(int, int)),
- this, TQT_SLOT(slotNewValue(int, int)));
+ connect( m_table, TQ_SIGNAL(valueChanged(int, int)),
+ this, TQ_SLOT(slotNewValue(int, int)));
- connect( m_table, TQT_SIGNAL(returnPressed()),
- this, TQT_SLOT(slotEditBreakpoint()));
-// connect( m_table, TQT_SIGNAL(f2Pressed()),
-// this, TQT_SLOT(slotEditBreakpoint()));
- connect( m_table, TQT_SIGNAL(deletePressed()),
- this, TQT_SLOT(slotRemoveBreakpoint()));
+ connect( m_table, TQ_SIGNAL(returnPressed()),
+ this, TQ_SLOT(slotEditBreakpoint()));
+// connect( m_table, TQ_SIGNAL(f2Pressed()),
+// this, TQ_SLOT(slotEditBreakpoint()));
+ connect( m_table, TQ_SIGNAL(deletePressed()),
+ this, TQ_SLOT(slotRemoveBreakpoint()));
// This slot doesn't exist anymore
-// connect( m_table, TQT_SIGNAL(insertPressed()),
-// this, TQT_SLOT(slotAddBlankBreakpoint()));
+// connect( m_table, TQ_SIGNAL(insertPressed()),
+// this, TQ_SLOT(slotAddBlankBreakpoint()));
// FIXME: maybe, all debugger components should derive from
// a base class that does this connect.
- 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)));
connect(controller,
- TQT_SIGNAL(watchpointHit(int, const TQString&, const TQString&)),
+ TQ_SIGNAL(watchpointHit(int, const TQString&, const TQString&)),
this,
- TQT_SLOT(slotWatchpointHit(int, const TQString&, const TQString&)));
+ TQ_SLOT(slotWatchpointHit(int, const TQString&, const TQString&)));
}
/***************************************************************************/
@@ -453,8 +453,8 @@ BreakpointTableRow* GDBBreakpointWidget::addBreakpoint(Breakpoint *bp)
BreakpointTableRow* btr =
new BreakpointTableRow( m_table, TQTableItem::WhenCurrent, bp );
- connect(bp, TQT_SIGNAL(modified(Breakpoint*)),
- this, TQT_SLOT(slotBreakpointModified(Breakpoint*)));
+ connect(bp, TQ_SIGNAL(modified(Breakpoint*)),
+ this, TQ_SLOT(slotBreakpointModified(Breakpoint*)));
sendToGdb(*bp);
@@ -686,7 +686,7 @@ void GDBBreakpointWidget::slotRemoveAllBreakpoints()
void GDBBreakpointWidget::slotRowDoubleClicked(int row, int col, int btn, const TQPoint &)
{
- if ( btn == Qt::LeftButton )
+ if ( btn == TQt::LeftButton )
{
// kdDebug(9012) << "in slotRowSelected row=" << row << endl;
BreakpointTableRow* btr = (BreakpointTableRow *) m_table->item(row, Control);
@@ -1238,7 +1238,7 @@ TQWidget* ComplexEditCell::createEditor() const
// than 20.
b->setFixedWidth( 20 );
- connect(b, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEdit()));
+ connect(b, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEdit()));
return box;
}
diff --git a/languages/cpp/debugger/gdbbreakpointwidget.h b/languages/cpp/debugger/gdbbreakpointwidget.h
index c121e38e..3e3ce94d 100644
--- a/languages/cpp/debugger/gdbbreakpointwidget.h
+++ b/languages/cpp/debugger/gdbbreakpointwidget.h
@@ -43,7 +43,7 @@ class GDBController;
class GDBBreakpointWidget : public TQHBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -138,7 +138,7 @@ class BreakpointTableRow;
*/
class ComplexEditCell : public TQObject, public TQTableItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/debugger/gdbcommand.h b/languages/cpp/debugger/gdbcommand.h
index 7000235a..946bc3aa 100644
--- a/languages/cpp/debugger/gdbcommand.h
+++ b/languages/cpp/debugger/gdbcommand.h
@@ -91,8 +91,8 @@ public:
private:
TQString command_;
- TQGuardedPtr<TQT_BASE_OBJECT_NAME> handler_this;
- typedef void (TQT_BASE_OBJECT_NAME::* handler_t)(const GDBMI::ResultRecord&);
+ TQGuardedPtr<TQObject> handler_this;
+ typedef void (TQObject::* handler_t)(const GDBMI::ResultRecord&);
handler_t handler_method;
TQValueVector<TQString> lines;
bool run;
@@ -153,8 +153,8 @@ public: // GDBCommand overrides
bool invokeHandler(const GDBMI::ResultRecord& r);
private:
- TQGuardedPtr<TQT_BASE_OBJECT_NAME> cli_handler_this;
- typedef void (TQT_BASE_OBJECT_NAME::* cli_handler_t)(const TQValueVector<TQString>&);
+ TQGuardedPtr<TQObject> cli_handler_this;
+ typedef void (TQObject::* cli_handler_t)(const TQValueVector<TQString>&);
cli_handler_t cli_handler_method;
};
@@ -165,7 +165,7 @@ private:
class SentinelCommand : public GDBCommand
{
public:
- typedef void (TQT_BASE_OBJECT_NAME::*handler_method_t)();
+ typedef void (TQObject::*handler_method_t)();
template<class Handler>
SentinelCommand(Handler* handler_this,
@@ -186,7 +186,7 @@ public:
}
private:
- TQGuardedPtr<TQT_BASE_OBJECT_NAME> handler_this;
+ TQGuardedPtr<TQObject> handler_this;
handler_method_t handler_method;
};
@@ -207,7 +207,7 @@ private:
class ExpressionValueCommand : public TQObject, public GDBCommand
{
public:
- typedef void (TQT_BASE_OBJECT_NAME::*handler_method_t)(const TQString&);
+ typedef void (TQObject::*handler_method_t)(const TQString&);
template<class Handler>
ExpressionValueCommand(
@@ -226,7 +226,7 @@ public:
}
private:
- TQGuardedPtr<TQT_BASE_OBJECT_NAME> handler_this;
+ TQGuardedPtr<TQObject> handler_this;
handler_method_t handler_method;
};
diff --git a/languages/cpp/debugger/gdbcontroller.cpp b/languages/cpp/debugger/gdbcontroller.cpp
index bca8b98d..be796329 100644
--- a/languages/cpp/debugger/gdbcontroller.cpp
+++ b/languages/cpp/debugger/gdbcontroller.cpp
@@ -798,17 +798,17 @@ bool GDBController::start(const TQString& shell, const DomUtil::PairList& run_en
dbgProcess_ = new TDEProcess;
- connect( dbgProcess_, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotDbgStdout(TDEProcess *, char *, int)) );
+ connect( dbgProcess_, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotDbgStdout(TDEProcess *, char *, int)) );
- connect( dbgProcess_, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotDbgStderr(TDEProcess *, char *, int)) );
+ connect( dbgProcess_, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotDbgStderr(TDEProcess *, char *, int)) );
- connect( dbgProcess_, TQT_SIGNAL(wroteStdin(TDEProcess *)),
- this, TQT_SLOT(slotDbgWroteStdin(TDEProcess *)) );
+ connect( dbgProcess_, TQ_SIGNAL(wroteStdin(TDEProcess *)),
+ this, TQ_SLOT(slotDbgWroteStdin(TDEProcess *)) );
- connect( dbgProcess_, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotDbgProcessExited(TDEProcess*)) );
+ connect( dbgProcess_, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotDbgProcessExited(TDEProcess*)) );
application_ = application;
@@ -1101,8 +1101,8 @@ void GDBController::slotRun()
tty_ = new STTY(config_dbgTerminal_, Settings::terminalEmulatorName( *kapp->config() ));
if (!config_dbgTerminal_)
{
- connect( tty_, TQT_SIGNAL(OutOutput(const char*)), TQT_SIGNAL(ttyStdout(const char*)) );
- connect( tty_, TQT_SIGNAL(ErrOutput(const char*)), TQT_SIGNAL(ttyStderr(const char*)) );
+ connect( tty_, TQ_SIGNAL(OutOutput(const char*)), TQ_SIGNAL(ttyStdout(const char*)) );
+ connect( tty_, TQ_SIGNAL(ErrOutput(const char*)), TQ_SIGNAL(ttyStderr(const char*)) );
}
TQString tty(tty_->getSlave());
@@ -1459,9 +1459,9 @@ void GDBController::slotDbgStdout(TDEProcess *, char *buf, int buflen)
FileSymbol file;
file.contents = reply;
- std::auto_ptr<GDBMI::Record> r(mi_parser_.parse(&file));
+ std::unique_ptr<GDBMI::Record> r(mi_parser_.parse(&file));
- if (r.get() == 0)
+ if (!r)
{
// FIXME: Issue an error!
kdDebug(9012) << "Invalid MI message: " << reply << "\n";
diff --git a/languages/cpp/debugger/gdbcontroller.h b/languages/cpp/debugger/gdbcontroller.h
index cf5d2eb6..f0f6389b 100644
--- a/languages/cpp/debugger/gdbcontroller.h
+++ b/languages/cpp/debugger/gdbcontroller.h
@@ -51,7 +51,7 @@ class STTY;
class GDBController : public DbgController
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -330,7 +330,7 @@ private:
// After highting current line we need to do something more,
// like announcing write watchpoints, and so need to have
// access to the stop packet. So store it here.
- std::auto_ptr<GDBMI::ResultRecord> last_stop_result;
+ std::unique_ptr<GDBMI::ResultRecord> last_stop_result;
// Gdb 6.4 (and 6.3) does not support "character" format with MI,
// so the only way it can work is via the "print" command. As gdb
diff --git a/languages/cpp/debugger/gdboutputwidget.cpp b/languages/cpp/debugger/gdboutputwidget.cpp
index deabf2c8..74ce3dc1 100644
--- a/languages/cpp/debugger/gdboutputwidget.cpp
+++ b/languages/cpp/debugger/gdboutputwidget.cpp
@@ -78,11 +78,11 @@ GDBOutputWidget::GDBOutputWidget( TQWidget *parent, const char *name) :
slotDbgStatus( "", s_dbgNotStarted);
- connect( m_userGDBCmdEditor, TQT_SIGNAL(returnPressed()), TQT_SLOT(slotGDBCmd()) );
- connect( m_Interrupt, TQT_SIGNAL(clicked()), TQT_SIGNAL(breakInto()));
+ connect( m_userGDBCmdEditor, TQ_SIGNAL(returnPressed()), TQ_SLOT(slotGDBCmd()) );
+ connect( m_Interrupt, TQ_SIGNAL(clicked()), TQ_SIGNAL(breakInto()));
- connect( &updateTimer_, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(flushPending()));
+ connect( &updateTimer_, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(flushPending()));
}
/***************************************************************************/
@@ -325,7 +325,7 @@ TQPopupMenu* OutputText::createPopupMenu(const TQPoint&)
int id = popup->insertItem(i18n("Show Internal Commands"),
this,
- TQT_SLOT(toggleShowInternalCommands()));
+ TQ_SLOT(toggleShowInternalCommands()));
popup->setItemChecked(id, parent_->showInternalCommands_);
popup->setWhatsThis(
@@ -338,7 +338,7 @@ TQPopupMenu* OutputText::createPopupMenu(const TQPoint&)
popup->insertItem(i18n("Copy All"),
this,
- TQT_SLOT(copyAll()));
+ TQ_SLOT(copyAll()));
return popup;
diff --git a/languages/cpp/debugger/gdboutputwidget.h b/languages/cpp/debugger/gdboutputwidget.h
index e7442b31..490ab93a 100644
--- a/languages/cpp/debugger/gdboutputwidget.h
+++ b/languages/cpp/debugger/gdboutputwidget.h
@@ -34,7 +34,7 @@ namespace GDBDebugger
class GDBOutputWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -116,7 +116,7 @@ private:
*/
class OutputText : public TQTextEdit
{
- Q_OBJECT
+ TQ_OBJECT
public:
OutputText(GDBOutputWidget* parent)
diff --git a/languages/cpp/debugger/gdbtable.h b/languages/cpp/debugger/gdbtable.h
index 4b6cfece..9186622c 100644
--- a/languages/cpp/debugger/gdbtable.h
+++ b/languages/cpp/debugger/gdbtable.h
@@ -16,7 +16,7 @@ namespace GDBDebugger {
class GDBTable : public TQTable
{
-Q_OBJECT
+TQ_OBJECT
public:
GDBTable(TQWidget *parent = 0, const char *name = 0);
diff --git a/languages/cpp/debugger/label_with_double_click.h b/languages/cpp/debugger/label_with_double_click.h
index 409c80a3..8209f15a 100644
--- a/languages/cpp/debugger/label_with_double_click.h
+++ b/languages/cpp/debugger/label_with_double_click.h
@@ -6,7 +6,7 @@
class LabelWithDoubleClick : public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
LabelWithDoubleClick(const TQString& s, TQWidget* parent);
diff --git a/languages/cpp/debugger/memviewdlg.cpp b/languages/cpp/debugger/memviewdlg.cpp
index 616b374f..86f7e61c 100644
--- a/languages/cpp/debugger/memviewdlg.cpp
+++ b/languages/cpp/debugger/memviewdlg.cpp
@@ -116,11 +116,11 @@ namespace GDBDebugger
l->addSpacing(2);
- connect(startAddressLineEdit, TQT_SIGNAL(returnPressed()),
- okButton, TQT_SLOT(animateClick()));
+ connect(startAddressLineEdit, TQ_SIGNAL(returnPressed()),
+ okButton, TQ_SLOT(animateClick()));
- connect(amountLineEdit, TQT_SIGNAL(returnPressed()),
- okButton, TQT_SLOT(animateClick()));
+ connect(amountLineEdit, TQ_SIGNAL(returnPressed()),
+ okButton, TQ_SLOT(animateClick()));
}
};
@@ -162,8 +162,8 @@ namespace GDBDebugger
{
ok_ = true;
- connect(real_widget, TQT_SIGNAL(bufferChanged(int, int)),
- this, TQT_SLOT(memoryEdited(int, int)));
+ connect(real_widget, TQ_SIGNAL(bufferChanged(int, int)),
+ this, TQ_SLOT(memoryEdited(int, int)));
khexedit2_real_widget = real_widget;
@@ -197,22 +197,22 @@ namespace GDBDebugger
rangeSelector_ = new MemoryRangeSelector(this);
l->addWidget(rangeSelector_);
- connect(rangeSelector_->okButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotChangeMemoryRange()));
+ connect(rangeSelector_->okButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotChangeMemoryRange()));
- connect(rangeSelector_->cancelButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotHideRangeDialog()));
+ connect(rangeSelector_->cancelButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotHideRangeDialog()));
connect(rangeSelector_->startAddressLineEdit,
- TQT_SIGNAL(textChanged(const TQString&)),
+ TQ_SIGNAL(textChanged(const TQString&)),
this,
- TQT_SLOT(slotEnableOrDisable()));
+ TQ_SLOT(slotEnableOrDisable()));
connect(rangeSelector_->amountLineEdit,
- TQT_SIGNAL(textChanged(const TQString&)),
+ TQ_SIGNAL(textChanged(const TQString&)),
this,
- TQT_SLOT(slotEnableOrDisable()));
+ TQ_SLOT(slotEnableOrDisable()));
l->addWidget(khexedit2_widget);
@@ -436,11 +436,11 @@ namespace GDBDebugger
toolBox_->setCurrentItem(widget);
memoryViews_.push_back(widget);
- connect(widget, TQT_SIGNAL(captionChanged(const TQString&)),
- this, TQT_SLOT(slotChildCaptionChanged(const TQString&)));
+ connect(widget, TQ_SIGNAL(captionChanged(const TQString&)),
+ this, TQ_SLOT(slotChildCaptionChanged(const TQString&)));
- connect(widget, TQT_SIGNAL(destroyed(TQObject*)),
- this, TQT_SLOT(slotChildDestroyed(TQObject*)));
+ connect(widget, TQ_SIGNAL(destroyed(TQObject*)),
+ this, TQ_SLOT(slotChildDestroyed(TQObject*)));
}
void ViewerWidget::slotDebuggerState(const TQString&, int state)
@@ -466,7 +466,7 @@ namespace GDBDebugger
TQValueVector<MemoryView*>::iterator i, e;
for(i = memoryViews_.begin(), e = memoryViews_.end(); i != e; ++i)
{
- if (TQT_BASE_OBJECT(*i) == TQT_BASE_OBJECT(child))
+ if (*i == child)
{
memoryViews_.erase(i);
break;
diff --git a/languages/cpp/debugger/memviewdlg.h b/languages/cpp/debugger/memviewdlg.h
index b277a35b..37f0b0fc 100644
--- a/languages/cpp/debugger/memviewdlg.h
+++ b/languages/cpp/debugger/memviewdlg.h
@@ -33,7 +33,7 @@ namespace GDBDebugger
class ViewerWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ViewerWidget(GDBController* controller,
@@ -64,7 +64,7 @@ namespace GDBDebugger
class MemoryView : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
MemoryView(GDBController* controller,
diff --git a/languages/cpp/debugger/mi/miparser.cpp b/languages/cpp/debugger/mi/miparser.cpp
index e078c04c..e950f2f3 100644
--- a/languages/cpp/debugger/mi/miparser.cpp
+++ b/languages/cpp/debugger/mi/miparser.cpp
@@ -97,7 +97,7 @@ bool MIParser::parsePrompt(Record *&record)
bool MIParser::parseStreamRecord(Record *&record)
{
- std::auto_ptr<StreamRecord> stream(new StreamRecord);
+ std::unique_ptr<StreamRecord> stream(new StreamRecord);
switch (lex->lookAhead()) {
case '~':
@@ -128,7 +128,7 @@ bool MIParser::parseResultRecord(Record *&record)
TQString reason = lex->currentTokenText();
lex->nextToken();
- std::auto_ptr<ResultRecord> res(new ResultRecord);
+ std::unique_ptr<ResultRecord> res(new ResultRecord);
res->reason = reason;
if (lex->lookAhead() != ',') {
@@ -151,7 +151,7 @@ bool MIParser::parseResult(Result *&result)
TQString variable = lex->currentTokenText();
lex->nextToken();
- std::auto_ptr<Result> res(new Result);
+ std::unique_ptr<Result> res(new Result);
res->variable = variable;
if (lex->lookAhead() != '=')
@@ -207,7 +207,7 @@ bool MIParser::parseList(Value *&value)
{
ADVANCE('[');
- std::auto_ptr<ListValue> lst(new ListValue);
+ std::unique_ptr<ListValue> lst(new ListValue);
// Note: can't use parseCSV here because of nested
// "is this Value or Result" guessing. Too lazy to factor
@@ -248,7 +248,7 @@ bool MIParser::parseList(Value *&value)
bool MIParser::parseCSV(TupleValue** value,
char start, char end)
{
- std::auto_ptr<TupleValue> tuple(new TupleValue);
+ std::unique_ptr<TupleValue> tuple(new TupleValue);
if (!parseCSV(*tuple, start, end))
return false;
diff --git a/languages/cpp/debugger/stty.cpp b/languages/cpp/debugger/stty.cpp
index 6960ad6d..9d95ad0d 100644
--- a/languages/cpp/debugger/stty.cpp
+++ b/languages/cpp/debugger/stty.cpp
@@ -132,7 +132,7 @@ STTY::STTY(bool ext, const TQString &termAppName)
if (fout >= 0) {
ttySlave = TQString(tty_slave);
out = new TQSocketNotifier(fout, TQSocketNotifier::Read, this);
- connect( out, TQT_SIGNAL(activated(int)), this, TQT_SLOT(OutReceived(int)) );
+ connect( out, TQ_SIGNAL(activated(int)), this, TQ_SLOT(OutReceived(int)) );
}
}
}
diff --git a/languages/cpp/debugger/stty.h b/languages/cpp/debugger/stty.h
index 8c4cd2a4..818cd7fa 100644
--- a/languages/cpp/debugger/stty.h
+++ b/languages/cpp/debugger/stty.h
@@ -35,7 +35,7 @@ namespace GDBDebugger
class STTY : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/debugger/variablewidget.cpp b/languages/cpp/debugger/variablewidget.cpp
index 5750d243..e46db5dc 100644
--- a/languages/cpp/debugger/variablewidget.cpp
+++ b/languages/cpp/debugger/variablewidget.cpp
@@ -104,14 +104,14 @@ VariableWidget::VariableWidget(GDBController* controller,
topLayout->addItem(buttons);
- connect( addButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddWatchVariable()) );
- connect( evalButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotEvaluateExpression()) );
+ connect( addButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddWatchVariable()) );
+ connect( evalButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotEvaluateExpression()) );
- connect( watchVarEditor_, TQT_SIGNAL(returnPressed()),
- TQT_SLOT(slotEvaluateExpression()) );
+ connect( watchVarEditor_, TQ_SIGNAL(returnPressed()),
+ TQ_SLOT(slotEvaluateExpression()) );
- connect(controller, TQT_SIGNAL(event(GDBController::event_t)),
- varTree_, TQT_SLOT(slotEvent(GDBController::event_t)));
+ connect(controller, TQ_SIGNAL(event(GDBController::event_t)),
+ varTree_, TQ_SLOT(slotEvent(GDBController::event_t)));
// Setup help items.
@@ -223,10 +223,10 @@ VariableTree::VariableTree(VariableWidget *parent,
addColumn(i18n("Value"));
// setResizeMode(AllColumns);
- connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*)) );
- connect( this, TQT_SIGNAL(itemRenamed( TQListViewItem*, int, const TQString&)),
- this, TQT_SLOT(slotItemRenamed( TQListViewItem*, int, const TQString&)));
+ connect( this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(itemRenamed( TQListViewItem*, int, const TQString&)),
+ this, TQ_SLOT(slotItemRenamed( TQListViewItem*, int, const TQString&)));
}
// **************************************************************************
@@ -1085,9 +1085,9 @@ VarItem::VarItem(TrimmableItem *parent,
baseClassMember_(false),
alive_(true)
{
- connect(this, TQT_SIGNAL(varobjNameChange(const TQString&, const TQString&)),
+ connect(this, TQ_SIGNAL(varobjNameChange(const TQString&, const TQString&)),
varTree(),
- TQT_SLOT(slotVarobjNameChanged(const TQString&, const TQString&)));
+ TQ_SLOT(slotVarobjNameChanged(const TQString&, const TQString&)));
// User might have entered format together with expression: like
@@ -1130,9 +1130,9 @@ VarItem::VarItem(TrimmableItem *parent, const GDBMI::Value& varobj,
baseClassMember_(baseClassMember),
alive_(true)
{
- connect(this, TQT_SIGNAL(varobjNameChange(const TQString&, const TQString&)),
+ connect(this, TQ_SIGNAL(varobjNameChange(const TQString&, const TQString&)),
varTree(),
- TQT_SLOT(slotVarobjNameChanged(const TQString&, const TQString&)));
+ TQ_SLOT(slotVarobjNameChanged(const TQString&, const TQString&)));
expression_ = varobj["exp"].literal();
varobjName_ = varobj["name"].literal();
diff --git a/languages/cpp/debugger/variablewidget.h b/languages/cpp/debugger/variablewidget.h
index bf1116d3..902faad9 100644
--- a/languages/cpp/debugger/variablewidget.h
+++ b/languages/cpp/debugger/variablewidget.h
@@ -51,7 +51,7 @@ enum DataType { typeUnknown, typeValue, typePointer, typeReference,
class VariableWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -85,7 +85,7 @@ private:
class VariableTree : public TDEListView, public TQToolTip
{
- Q_OBJECT
+ TQ_OBJECT
public:
VariableTree(VariableWidget *parent,
@@ -227,7 +227,7 @@ protected:
class VarItem : public TQObject,
public TrimmableItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum format_t { natural, hexadecimal, decimal, character, binary };