Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
globals.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4
#
include
"globals.h"
5
6
const
QString
&
settingsPrefix
()
7
{
8
static
QString prefix = QString(QLatin1String(
"%1.%2/"
))
9
.arg((QT_VERSION >> 16) & 0xff)
10
.arg((QT_VERSION >> 8) & 0xff);
11
return
prefix;
12
}
13
14
QString
settingPath
(
const
char
*path)
15
{
16
return
settingsPrefix() + QLatin1String(path);
17
}
settingPath
QString settingPath(const char *path)
Definition
globals.cpp:14
settingsPrefix
const QString & settingsPrefix()
Definition
globals.cpp:6
qttools
src
linguist
linguist
globals.cpp
Generated on Sat Sep 21 2024 00:50:43 for Qt by
1.12.0