summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/gdboutputwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/gdboutputwidget.cpp')
-rw-r--r--languages/cpp/debugger/gdboutputwidget.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/languages/cpp/debugger/gdboutputwidget.cpp b/languages/cpp/debugger/gdboutputwidget.cpp
index 836886bb..7877a92c 100644
--- a/languages/cpp/debugger/gdboutputwidget.cpp
+++ b/languages/cpp/debugger/gdboutputwidget.cpp
@@ -39,8 +39,8 @@ namespace GDBDebugger
/***************************************************************************/
-GDBOutputWidget::GDBOutputWidget( TQWidget *parent, const char *name) :
- TQWidget(parent, name),
+GDBOutputWidget::GDBOutputWidget( TQWidget *tqparent, const char *name) :
+ TQWidget(tqparent, name),
m_userGDBCmdEditor(0),
m_Interrupt(0),
m_gdbView(0),
@@ -62,7 +62,7 @@ GDBOutputWidget::GDBOutputWidget( TQWidget *parent, const char *name) :
userGDBCmdEntry->setStretchFactor(m_userGDBCmdEditor, 1);
m_Interrupt = new TQToolButton( this, "add breakpoint" );
- m_Interrupt->setSizePolicy ( TQSizePolicy ( (TQSizePolicy::SizeType)0,
+ m_Interrupt->tqsetSizePolicy ( TQSizePolicy ( (TQSizePolicy::SizeType)0,
( TQSizePolicy::SizeType)0,
0,
0,
@@ -76,7 +76,7 @@ GDBOutputWidget::GDBOutputWidget( TQWidget *parent, const char *name) :
topLayout->addWidget(m_gdbView, 10);
topLayout->addLayout(userGDBCmdEntry);
- slotDbgStatus( "", s_dbgNotStarted);
+ slotDbgtqStatus( "", s_dbgNotStarted);
connect( m_userGDBCmdEditor, TQT_SIGNAL(returnPressed()), TQT_SLOT(slotGDBCmd()) );
connect( m_Interrupt, TQT_SIGNAL(clicked()), TQT_SIGNAL(breakInto()));
@@ -257,7 +257,7 @@ void GDBOutputWidget::flushPending()
/***************************************************************************/
-void GDBOutputWidget::slotDbgStatus(const TQString &, int statusFlag)
+void GDBOutputWidget::slotDbgtqStatus(const TQString &, int statusFlag)
{
if (statusFlag & s_dbgNotStarted)
{
@@ -291,8 +291,8 @@ void GDBOutputWidget::focusInEvent(TQFocusEvent */*e*/)
TQString GDBOutputWidget::html_escape(const TQString& s)
{
TQString r(s);
- r.replace("<", "&lt;");
- r.replace(">", "&gt;");
+ r.tqreplace("<", "&lt;");
+ r.tqreplace(">", "&gt;");
return r;
}
@@ -327,8 +327,8 @@ TQPopupMenu* OutputText::createPopupMenu(const TQPoint&)
this,
TQT_SLOT(toggleShowInternalCommands()));
- popup->setItemChecked(id, parent_->showInternalCommands_);
- popup->setWhatsThis(
+ popup->setItemChecked(id, tqparent_->showInternalCommands_);
+ popup->tqsetWhatsThis(
id,
i18n(
"Controls if commands issued internally by KDevelop "
@@ -348,21 +348,21 @@ void OutputText::copyAll()
{
/* See comments for allCommandRaw_ for explanations of
this complex logic, as opposed to calling text(). */
- TQStringList& raw = parent_->showInternalCommands_ ?
- parent_->allCommandsRaw_ : parent_->userCommandsRaw_;
+ TQStringList& raw = tqparent_->showInternalCommands_ ?
+ tqparent_->allCommandsRaw_ : tqparent_->userCommandsRaw_;
TQString text;
for (unsigned i = 0; i < raw.size(); ++i)
text += raw[i];
// Make sure the text is pastable both with Ctrl-C and with
// middle click.
- TQApplication::clipboard()->setText(text, QClipboard::Clipboard);
- TQApplication::clipboard()->setText(text, QClipboard::Selection);
+ TQApplication::tqclipboard()->setText(text, TQClipboard::Clipboard);
+ TQApplication::tqclipboard()->setText(text, TQClipboard::Selection);
}
void OutputText::toggleShowInternalCommands()
{
- parent_->setShowInternalCommands(!parent_->showInternalCommands_);
+ tqparent_->setShowInternalCommands(!tqparent_->showInternalCommands_);
}