From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/ruby/debugger/stty.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'languages/ruby/debugger/stty.cpp') diff --git a/languages/ruby/debugger/stty.cpp b/languages/ruby/debugger/stty.cpp index bfdb5bd3..7381ae2a 100644 --- a/languages/ruby/debugger/stty.cpp +++ b/languages/ruby/debugger/stty.cpp @@ -104,7 +104,7 @@ static int chownpty(int fd, int grant) // { // signal from other child, behave like catchChild. // // guess this gives quite some control chaos... - // Shell* sh = shells.find(rc); + // Shell* sh = shells.tqfind(rc); // if (sh) { shells.remove(rc); sh->doneShell(w); } // goto retry; // } @@ -305,7 +305,7 @@ bool STTY::findExternalTTY(const TQString &termApp) const char* prog = appName.latin1(); TQString script = TQString("tty>") + TQString(fifo) + TQString(";" // fifo name - "trap \"\" INT QUIT TSTP;" // ignore various signals + "trap \"\" INT TQUIT TSTP;" // ignore various signals "exec<&-;exec>&-;" // close stdin and stdout "while :;do sleep 3600;done"); const char* scriptStr = script.latin1(); @@ -330,11 +330,11 @@ bool STTY::findExternalTTY(const TQString &termApp) ::exit(1); } - // parent process + // tqparent process if (pid <= 0) ::exit(1); - // Open the communication between us (the parent) and the + // Open the communication between us (the tqparent) and the // child (the process running on a tty console) fifo_fd = ::open(fifo, O_RDONLY); if (fifo_fd < 0) -- cgit v1.2.1