diff options
Diffstat (limited to 'languages/ruby/debugger/dbgpsdlg.cpp')
-rw-r--r-- | languages/ruby/debugger/dbgpsdlg.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/ruby/debugger/dbgpsdlg.cpp b/languages/ruby/debugger/dbgpsdlg.cpp index d5458c28..336a48b6 100644 --- a/languages/ruby/debugger/dbgpsdlg.cpp +++ b/languages/ruby/debugger/dbgpsdlg.cpp @@ -51,8 +51,8 @@ namespace RDBDebugger // For use with the internal debugger, but this dialog doesn't know anything // about why it's doing it. -Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name) - : KDialog(parent, name, true), // modal +Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *tqparent, const char *name) + : KDialog(tqparent, name, true), // modal psProc_(0), pids_(new TQListBox(this)), heading_(new TQLabel(" ", this)), @@ -64,8 +64,8 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name) heading_->setFont(KGlobalSettings::fixedFont()); heading_->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); - heading_->setMaximumHeight(heading_->sizeHint().height()); -// heading_->setMinimumSize(heading_->sizeHint()); + heading_->setMaximumHeight(heading_->tqsizeHint().height()); +// heading_->setMinimumSize(heading_->tqsizeHint()); topLayout->addWidget(heading_, 5); topLayout->addWidget(pids_, 5); @@ -75,7 +75,7 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name) TQPushButton *ok = buttonbox->addButton(KStdGuiItem::ok()); buttonbox->addStretch(); TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel()); - buttonbox->layout(); + buttonbox->tqlayout(); topLayout->addWidget(buttonbox); connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); @@ -149,14 +149,14 @@ void Dbg_PS_Dialog::slotProcessExited() pidLines_ += '\n'; - int start = pidLines_.find('\n', 0); // Skip the first line (header line) + int start = pidLines_.tqfind('\n', 0); // Skip the first line (header line) int pos; if (start != -1) heading_->setText(pidLines_.left(start)); - while ( (pos = pidLines_.find('\n', start)) != -1) { + while ( (pos = pidLines_.tqfind('\n', start)) != -1) { TQString item = pidLines_.mid(start, pos-start); if (!item.isEmpty()) { - if (item.find(pidCmd_) == -1) + if (item.tqfind(pidCmd_) == -1) pids_->insertItem(item); } |