KCoreAddons
klistopenfilesjob_unix.cpp
40 lsofProcess.start(QStringLiteral("lsof"), {QStringLiteral("-t"), QStringLiteral("+d"), path.path()});
58 const QVector<QStringRef> pidList = out.splitRef(QRegularExpression(QStringLiteral("\\s+")), Qt::SkipEmptyParts);
ExitStatus
ProcessError
QString tr(const char *sourceText, const char *disambiguation, int n)
void errorOccurred(QProcess::ProcessError error)
QString fromLocal8Bit(const char *str, int size)
void finished(int exitCode)
Provides information about processes that have open files in a given path or subdirectory of path...
Definition: klistopenfilesjob.h:37
SkipEmptyParts
KProcessList::KProcessInfoList processInfoList() const
Returns the list of processes with open files for the requested path.
Definition: klistopenfilesjob_unix.cpp:98
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jan 21 2021 23:04:45 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jan 21 2021 23:04:45 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.