diff --git a/src/Part.cpp b/src/Part.cpp index db4877d2..e70b7e37 100644 --- a/src/Part.cpp +++ b/src/Part.cpp @@ -293,7 +293,7 @@ bool Part::openUrl( const KUrl & _url ) if ( _url.isLocalFile() /*&& b_openUrls*/ ) { KDE_struct_stat buff; - KDE_stat( QFile::encodeName( _url.path() ), &buff ); + KDE::stat( QFile::encodeName( _url.path() ), &buff ); QString text = ( S_ISDIR( buff.st_mode ) ? _url.path() : _url.directory() ); showShellInDir( text ); } else { diff --git a/src/ProcessInfo.cpp b/src/ProcessInfo.cpp index fbd8f20a..7d29ce26 100644 --- a/src/ProcessInfo.cpp +++ b/src/ProcessInfo.cpp @@ -817,7 +817,7 @@ private: QByteArray deviceName = fullDeviceName.toLatin1(); const char* ttyName = deviceName.data(); - if (KDE_stat(ttyName, &statInfo) != 0) + if (KDE::stat(ttyName, &statInfo) != 0) return false; // Find all processes attached to ttyName diff --git a/src/Pty.cpp b/src/Pty.cpp index 36a885fe..fbea6489 100644 --- a/src/Pty.cpp +++ b/src/Pty.cpp @@ -221,11 +221,11 @@ int Pty::start(const QString& program, void Pty::setWriteable(bool writeable) { KDE_struct_stat sbuf; - KDE_stat(pty()->ttyName(), &sbuf); + KDE::stat(pty()->ttyName(), &sbuf); if (writeable) - chmod(pty()->ttyName(), sbuf.st_mode | S_IWGRP); + KDE::chmod(pty()->ttyName(), sbuf.st_mode | S_IWGRP); else - chmod(pty()->ttyName(), sbuf.st_mode & ~(S_IWGRP|S_IWOTH)); + KDE::chmod(pty()->ttyName(), sbuf.st_mode & ~(S_IWGRP|S_IWOTH)); } Pty::Pty(int masterFd, QObject* parent)