summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/dbgpsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/dbgpsdlg.cpp')
-rw-r--r--languages/cpp/debugger/dbgpsdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/cpp/debugger/dbgpsdlg.cpp b/languages/cpp/debugger/dbgpsdlg.cpp
index e96d7395..e08a1cec 100644
--- a/languages/cpp/debugger/dbgpsdlg.cpp
+++ b/languages/cpp/debugger/dbgpsdlg.cpp
@@ -50,8 +50,8 @@ namespace GDBDebugger
// 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 KListView(this)),
pidLines_(TQString())
@@ -77,7 +77,7 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name)
buttonbox->addStretch();
TQPushButton *ok = buttonbox->addButton(KStdGuiItem::ok());
TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel());
- buttonbox->layout();
+ buttonbox->tqlayout();
topLayout->addWidget(buttonbox);
connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept()));
@@ -155,14 +155,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;
static TQRegExp ps_output_line("^\\s*(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(.+)");
- while ( (pos = pidLines_.find('\n', start)) != -1) {
+ while ( (pos = pidLines_.tqfind('\n', start)) != -1) {
TQString item = pidLines_.mid(start, pos-start);
- if (!item.isEmpty() && item.find(pidCmd_) == -1)
+ if (!item.isEmpty() && item.tqfind(pidCmd_) == -1)
{
if(ps_output_line.search(item) == -1)
{
@@ -172,7 +172,7 @@ void Dbg_PS_Dialog::slotProcessExited()
// to 'arg'.
i18n("<b>Could not parse output from the <tt>ps</tt> command.</b>"
"<p>The following line could not be parsed:"
- "<b><tt>%1</tt>").arg(item),
+ "<b><tt>%1</tt>").tqarg(item),
i18n("Internal error"), "gdb_error" );
break;
}