Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qlockfile.cpp File Reference

(508629522d8c6580161a2fd9bfd2fe26f6c4c034)

#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>
+ Include dependency graph for qlockfile.cpp:

Go to the source code of this file.

Functions

static bool getLockInfo_helper (const QString &fileName, LockFileInfo *info)
 
static QString machineName ()
 

Function Documentation

◆ getLockInfo_helper()

static bool getLockInfo_helper ( const QString & fileName,
LockFileInfo * info )
static

Definition at line 386 of file qlockfile.cpp.

References fileName, QString::fromUtf8(), info, ok, QIODeviceBase::ReadOnly, and QIODeviceBase::Text.

Referenced by QLockFile::getLockInfo(), and QLockFilePrivate::isApparentlyStale().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ machineName()

static QString machineName ( )
static

Definition at line 32 of file qlockfile.cpp.

References QSysInfo::machineHostName(), and qEnvironmentVariable().

Referenced by QLockFilePrivate::isApparentlyStale(), and QLockFilePrivate::lockFileContents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: