18#include <QtCore/private/qglobal_p.h>
19#include <QtCore/qlockfile.h>
20#include <QtCore/qfile.h>
22#include <qplatformdefs.h>
26#include <qt_windows.h>
66 fd = _open_osfhandle(intptr_t(f->d_func()->fileHandle), 0);
68 fd = f->d_func()->fileHandle;
70 QT_LSEEK(fd, 0, SEEK_SET);
QLockFilePrivate(const QString &fn)
bool isApparentlyStale() const
static bool isProcessRunning(qint64 pid, const QString &appname)
std::chrono::milliseconds staleLockTime
static int getLockFileHandle(QLockFile *f)
QByteArray lockFileContents() const
Combined button and popup list for selecting options.
static QString machineName()
static bool getLockInfo_helper(const QString &fileName, LockFileInfo *info)