Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qttranslation.h
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QTTRANSLATION_H
6
#
define
QTTRANSLATION_H
7
8
#
include
<
QtCore
/
qtconfigmacros
.
h
>
// QT_NO_TRANSLATION should be defined here as well
9
#
include
<
QtCore
/
qtcoreexports
.
h
>
10
11
#
if
0
12
#
pragma
qt_class
(
QtTranslation
)
13
#
pragma
qt_sync_stop_processing
14
#
endif
15
16
QT_BEGIN_NAMESPACE
17
18
class
QString;
19
20
#
define
QT_TR_NOOP
(
x
)
x
21
#
define
QT_TR_NOOP_UTF8
(
x
)
x
22
#
define
QT_TRANSLATE_NOOP
(
scope
,
x
)
x
23
#
define
QT_TRANSLATE_NOOP_UTF8
(
scope
,
x
)
x
24
#
define
QT_TRANSLATE_NOOP3
(
scope
,
x
,
comment
)
{
x
,
comment
}
25
#
define
QT_TRANSLATE_NOOP3_UTF8
(
scope
,
x
,
comment
)
{
x
,
comment
}
26
27
#
ifndef
QT_NO_TRANSLATION
28
29
#
define
QT_TR_N_NOOP
(
x
)
x
30
#
define
QT_TRANSLATE_N_NOOP
(
scope
,
x
)
x
31
#
define
QT_TRANSLATE_N_NOOP3
(
scope
,
x
,
comment
)
{
x
,
comment
}
32
33
// Defined in qcoreapplication.cpp
34
Q_CORE_EXPORT
QString
qtTrId(
const
char
*id,
int
n = -1);
35
36
#
define
QT_TRID_NOOP
(
id
)
id
37
#
define
QT_TRID_N_NOOP
(
id
)
id
38
39
#
endif
// QT_NO_TRANSLATION
40
41
QT_END_NAMESPACE
42
43
#
endif
/* QTTRANSLATION_H */
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:177
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
TR_SESSION_NO_START
const char TR_SESSION_NO_START[]
Definition
uistrings.cpp:39
TR_NOT_READ_IODEVICE
const char TR_NOT_READ_IODEVICE[]
Definition
uistrings.cpp:42
DEV_DISCOVERY
QT_BEGIN_NAMESPACE const char DEV_DISCOVERY[]
Definition
uistrings.cpp:13
LEC_UNKNOWN_ERROR
const char LEC_UNKNOWN_ERROR[]
Definition
uistrings.cpp:53
DD_POWERED_OFF
const char DD_POWERED_OFF[]
Definition
uistrings.cpp:14
LEC_RDEV_NO_FOUND
const char LEC_RDEV_NO_FOUND[]
Definition
uistrings.cpp:50
DD_NOTSUPPORTED
const char DD_NOTSUPPORTED[]
Definition
uistrings.cpp:17
SOC_CONNECT_IN_PROGRESS
const char SOC_CONNECT_IN_PROGRESS[]
Definition
uistrings.cpp:32
DD_IO
const char DD_IO[]
Definition
uistrings.cpp:16
SOC_NOREAD
const char SOC_NOREAD[]
Definition
uistrings.cpp:35
TR_CONNECT_FAILED
const char TR_CONNECT_FAILED[]
Definition
uistrings.cpp:40
TR_INVALID_DEVICE
const char TR_INVALID_DEVICE[]
Definition
uistrings.cpp:44
SD_MINIMAL_FAILED
const char SD_MINIMAL_FAILED[]
Definition
uistrings.cpp:26
DD_NOT_STOPPED
const char DD_NOT_STOPPED[]
Definition
uistrings.cpp:22
LEC_MISSING_PERMISSION
const char LEC_MISSING_PERMISSION[]
Definition
uistrings.cpp:54
DD_UNKNOWN_ERROR
const char DD_UNKNOWN_ERROR[]
Definition
uistrings.cpp:18
TR_FILE_NOT_EXIST
const char TR_FILE_NOT_EXIST[]
Definition
uistrings.cpp:41
SD_INVALID_ADDRESS
const char SD_INVALID_ADDRESS[]
Definition
uistrings.cpp:27
LEC_IO_ERROR
const char LEC_IO_ERROR[]
Definition
uistrings.cpp:52
SOCKET
const char SOCKET[]
Definition
uistrings.cpp:29
SOC_INVAL_DATASIZE
const char SOC_INVAL_DATASIZE[]
Definition
uistrings.cpp:34
DD_NOT_STARTED
const char DD_NOT_STARTED[]
Definition
uistrings.cpp:20
SOC_NETWORK_ERROR
const char SOC_NETWORK_ERROR[]
Definition
uistrings.cpp:30
TR_SERVICE_NO_FOUND
const char TR_SERVICE_NO_FOUND[]
Definition
uistrings.cpp:47
DD_NOT_STARTED_LE
const char DD_NOT_STARTED_LE[]
Definition
uistrings.cpp:21
TRANSFER_REPLY
const char TRANSFER_REPLY[]
Definition
uistrings.cpp:37
TR_IN_PROGRESS
const char TR_IN_PROGRESS[]
Definition
uistrings.cpp:46
DD_MISSING_PERMISSION
const char DD_MISSING_PERMISSION[]
Definition
uistrings.cpp:19
SD_LOCAL_DEV_OFF
const char SD_LOCAL_DEV_OFF[]
Definition
uistrings.cpp:25
SERVICE_DISCOVERY
const char SERVICE_DISCOVERY[]
Definition
uistrings.cpp:24
TR_OP_CANCEL
const char TR_OP_CANCEL[]
Definition
uistrings.cpp:45
DD_INVALID_ADAPTER
const char DD_INVALID_ADAPTER[]
Definition
uistrings.cpp:15
LE_CONTROLLER
const char LE_CONTROLLER[]
Definition
uistrings.cpp:49
SOC_SERVICE_NOT_FOUND
const char SOC_SERVICE_NOT_FOUND[]
Definition
uistrings.cpp:33
SOC_NOWRITE
const char SOC_NOWRITE[]
Definition
uistrings.cpp:31
LEC_NO_LOCAL_DEV
const char LEC_NO_LOCAL_DEV[]
Definition
uistrings.cpp:51
TR_SESSION_FAILED
const char TR_SESSION_FAILED[]
Definition
uistrings.cpp:43
TR_INVAL_TARGET
const char TR_INVAL_TARGET[]
Definition
uistrings.cpp:38
QT_TRANSLATE_NOOP
#define QT_TRANSLATE_NOOP(scope, x)
Definition
qttranslation.h:22
qtbase
src
corelib
global
qttranslation.h
Generated on
for Qt by
1.18.0