summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger/dbgpsdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:01 -0600
commitb9e542d0c805e9adee3a67e44532d5321032e21e (patch)
treee82d85b9035cc2ca322911e8a6e38a3bd8b1d431 /languages/ruby/debugger/dbgpsdlg.cpp
parent7a392a04059bd904dab4c78910a6d34aa0b37798 (diff)
downloadtdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.tar.gz
tdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'languages/ruby/debugger/dbgpsdlg.cpp')
-rw-r--r--languages/ruby/debugger/dbgpsdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/ruby/debugger/dbgpsdlg.cpp b/languages/ruby/debugger/dbgpsdlg.cpp
index 5787ba2d..e5fb76d0 100644
--- a/languages/ruby/debugger/dbgpsdlg.cpp
+++ b/languages/ruby/debugger/dbgpsdlg.cpp
@@ -62,14 +62,14 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name)
TQBoxLayout *topLayout = new TQVBoxLayout(this, 5);
- heading_->setFont(KGlobalSettings::fixedFont());
+ heading_->setFont(TDEGlobalSettings::fixedFont());
heading_->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
heading_->setMaximumHeight(heading_->sizeHint().height());
// heading_->setMinimumSize(heading_->sizeHint());
topLayout->addWidget(heading_, 5);
topLayout->addWidget(pids_, 5);
- pids_->setFont(KGlobalSettings::fixedFont());
+ pids_->setFont(TDEGlobalSettings::fixedFont());
KButtonBox *buttonbox = new KButtonBox(this, Qt::Horizontal, 5);
TQPushButton *ok = buttonbox->addButton(KStdGuiItem::ok());
@@ -106,12 +106,12 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name)
}
#endif
- connect( psProc_, TQT_SIGNAL(processExited(KProcess *)), TQT_SLOT(slotProcessExited()) );
- connect( psProc_, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)), TQT_SLOT(slotReceivedOutput(KProcess *, char *, int)) );
- psProc_->start(KProcess::NotifyOnExit, KProcess::Stdout);
+ connect( psProc_, TQT_SIGNAL(processExited(TDEProcess *)), TQT_SLOT(slotProcessExited()) );
+ connect( psProc_, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQT_SLOT(slotReceivedOutput(TDEProcess *, char *, int)) );
+ psProc_->start(TDEProcess::NotifyOnExit, TDEProcess::Stdout);
// Default display to 40 chars wide, default height is okay
- resize( ((KGlobalSettings::fixedFont()).pointSize())*40, height());
+ resize( ((TDEGlobalSettings::fixedFont()).pointSize())*40, height());
topLayout->activate();
}
@@ -135,7 +135,7 @@ int Dbg_PS_Dialog::pidSelected()
/***************************************************************************/
-void Dbg_PS_Dialog::slotReceivedOutput(KProcess */*proc*/, char *buffer, int buflen)
+void Dbg_PS_Dialog::slotReceivedOutput(TDEProcess */*proc*/, char *buffer, int buflen)
{
pidLines_ += TQString::fromLocal8Bit(buffer, buflen+1);
}