![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <QDir>#include <QString>#include <QtGlobal>Go to the source code of this file.
Functions | |
| QString | scopedLocalServerName (const QString &prefix) |
| Builds a QLocalServer/QLocalSocket name scoped to the current user. | |
|
inline |
Builds a QLocalServer/QLocalSocket name scoped to the current user.
On Linux the default local socket namespace is system-wide, so an unscoped name would let one user's process talk to — or hijack — another user's session.
| prefix | application specific socket name prefix |