![]() |
Qt 6.x
The Qt SDK
|
#include "qlockfile.h"
#include "qlockfile_p.h"
#include <QtCore/qthread.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdeadlinetimer.h>
#include <QtCore/qdatetime.h>
#include <QtCore/qfileinfo.h>
Go to the source code of this file.
Functions | |
static bool | getLockInfo_helper (const QString &fileName, LockFileInfo *info) |
static QString | machineName () |
|
static |
Definition at line 386 of file qlockfile.cpp.
References QByteArray::chop(), fileName, QString::fromUtf8(), info, QByteArray::isEmpty(), ok, QIODeviceBase::ReadOnly, QIODeviceBase::Text, and QByteArray::toLongLong().
Referenced by QLockFile::getLockInfo(), and QLockFilePrivate::isApparentlyStale().
|
static |
Definition at line 32 of file qlockfile.cpp.
References QSysInfo::machineHostName(), and qEnvironmentVariable().
Referenced by QLockFilePrivate::isApparentlyStale(), and QLockFilePrivate::lockFileContents().