summaryrefslogtreecommitdiffstats
path: root/kdecore/kpty.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/kpty.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kpty.cpp')
-rw-r--r--kdecore/kpty.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdecore/kpty.cpp b/kdecore/kpty.cpp
index af83e9eab..b6c3782c4 100644
--- a/kdecore/kpty.cpp
+++ b/kdecore/kpty.cpp
@@ -183,7 +183,7 @@ struct KPtyPrivate {
int slaveFd;
struct winsize winSize;
- QCString ttyName;
+ TQCString ttyName;
};
/////////////////////////////
@@ -217,7 +217,7 @@ bool KPty::setPty(int pty_master)
bool KPty::_attachPty(int pty_master)
{
- QCString ptyName;
+ TQCString ptyName;
kdWarning(175)
<< "_attachPty() " << pty_master << endl;
@@ -309,7 +309,7 @@ bool KPty::open()
if (d->masterFd >= 0)
return true;
- QCString ptyName;
+ TQCString ptyName;
// Find a master pty that we can open ////////////////////////////////
@@ -571,7 +571,7 @@ int KPty::slaveFd() const
bool KPty::chownpty(bool grant)
{
KProcess proc;
- proc << locate("exe", BASE_CHOWN) << (grant?"--grant":"--revoke") << QString::number(d->masterFd);
+ proc << locate("exe", BASE_CHOWN) << (grant?"--grant":"--revoke") << TQString::number(d->masterFd);
return proc.start(KProcess::Block) && proc.normalExit() && !proc.exitStatus();
}