From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesu/process.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdesu/process.cpp') diff --git a/kdesu/process.cpp b/kdesu/process.cpp index 06558ce04..9f23f36fd 100644 --- a/kdesu/process.cpp +++ b/kdesu/process.cpp @@ -5,7 +5,7 @@ * This file is part of the KDE project, module kdesu. * Copyright (C) 1999,2000 Geert Jansen * - * This file contains code from TEShell.C of the KDE konsole. + * This file tqcontains code from TEShell.C of the KDE konsole. * Copyright (c) 1997,1998 by Lars Doelle * * This is free software; you can use this library under the GNU Library @@ -179,7 +179,7 @@ TQCString PtyProcess::readLine(bool block) if (!m_Inbuf.isEmpty()) { - pos = m_Inbuf.find('\n'); + pos = m_Inbuf.tqfind('\n'); if (pos == -1) { ret = m_Inbuf; @@ -228,7 +228,7 @@ TQCString PtyProcess::readLine(bool block) buf[nbytes] = '\000'; m_Inbuf += buf; - pos = m_Inbuf.find('\n'); + pos = m_Inbuf.tqfind('\n'); if (pos == -1) { ret = m_Inbuf; @@ -371,7 +371,7 @@ int PtyProcess::exec(const TQCString &command, const QCStringList &args) // From now on, terminal output goes through the tty. TQCString path; - if (command.contains('/')) + if (command.tqcontains('/')) path = command; else { @@ -513,7 +513,7 @@ int PtyProcess::waitForChild() if (!m_Exit.isEmpty()) { // match exit string only at line starts - int pos = output.find(m_Exit); + int pos = output.tqfind(m_Exit); if ((pos >= 0) && ((pos == 0 && lineStart) || (output.at (pos - 1) == '\n'))) { kill(m_Pid, SIGTERM); -- cgit v1.2.1