diff options
Diffstat (limited to 'languages/cpp/debugger/disassemblewidget.cpp')
-rw-r--r-- | languages/cpp/debugger/disassemblewidget.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/languages/cpp/debugger/disassemblewidget.cpp b/languages/cpp/debugger/disassemblewidget.cpp index 759393f5..562aa1ae 100644 --- a/languages/cpp/debugger/disassemblewidget.cpp +++ b/languages/cpp/debugger/disassemblewidget.cpp @@ -22,9 +22,9 @@ #include <ktextedit.h> #include <kglobalsettings.h> -#include <qdict.h> -#include <qheader.h> -#include <qtextedit.h> +#include <tqdict.h> +#include <tqheader.h> +#include <tqtextedit.h> #include <stdlib.h> @@ -35,8 +35,8 @@ namespace GDBDebugger /***************************************************************************/ /***************************************************************************/ -DisassembleWidget::DisassembleWidget(GDBController* controller, QWidget *parent, const char *name) - : QTextEdit(parent, name), controller_(controller), +DisassembleWidget::DisassembleWidget(GDBController* controller, TQWidget *parent, const char *name) + : TQTextEdit(parent, name), controller_(controller), active_(false), lower_(0), upper_(0), @@ -92,8 +92,8 @@ void DisassembleWidget::slotActivate(bool activate) /***************************************************************************/ -void DisassembleWidget::slotShowStepInSource( const QString &, int, - const QString ¤tAddress) +void DisassembleWidget::slotShowStepInSource( const TQString &, int, + const TQString ¤tAddress) { kdDebug(9012) << "DisasssembleWidget::slotShowStepInSource()" << endl; @@ -116,7 +116,7 @@ void DisassembleWidget::getNextDisplay() { Q_ASSERT(!currentAddress_.isNull()); - QString cmd = QString("-data-disassemble -s $pc -e \"$pc + 128\" -- 0"); + TQString cmd = TQString("-data-disassemble -s $pc -e \"$pc + 128\" -- 0"); controller_->addCommandToFront( new GDBCommand( cmd, this, &DisassembleWidget::memoryRead ) ); } @@ -127,7 +127,7 @@ void DisassembleWidget::getNextDisplay() void DisassembleWidget::memoryRead(const GDBMI::ResultRecord& r) { const GDBMI::Value& content = r["asm_insns"]; - QString rawdata; + TQString rawdata; clear(); @@ -135,12 +135,12 @@ void DisassembleWidget::memoryRead(const GDBMI::ResultRecord& r) { const GDBMI::Value& line = content[i]; - QString addr = line["address"].literal(); - QString fct = line["func-name"].literal(); - QString offs = line["offset"].literal(); - QString inst = line["inst"].literal(); + TQString addr = line["address"].literal(); + TQString fct = line["func-name"].literal(); + TQString offs = line["offset"].literal(); + TQString inst = line["inst"].literal(); - rawdata += QString(addr + " " + fct+"+"+offs + " " + inst + "\n"); + rawdata += TQString(addr + " " + fct+"+"+offs + " " + inst + "\n"); if (i == 0) { lower_ = strtoul(addr.latin1(), 0, 0); @@ -155,13 +155,13 @@ void DisassembleWidget::memoryRead(const GDBMI::ResultRecord& r) } -void DisassembleWidget::showEvent(QShowEvent*) +void DisassembleWidget::showEvent(TQShowEvent*) { slotActivate(true); } -void DisassembleWidget::hideEvent(QHideEvent*) +void DisassembleWidget::hideEvent(TQHideEvent*) { slotActivate(false); } |