Definition at line 65 of file qcoloroutput.cpp.
◆ ColorOutputPrivate()
QPatternist::ColorOutputPrivate::ColorOutputPrivate |
( |
| ) |
|
|
inline |
Definition at line 68 of file qcoloroutput.cpp.
bool open(OpenMode flags)
Opens the file using OpenMode mode, returning true if successful; otherwise false.
bool isColoringPossible() const
Returns true if it's suitable to send colored output to stderr.
◆ escapeCode()
static QString QPatternist::ColorOutputPrivate::escapeCode |
( |
const QString & |
in | ) |
|
|
inlinestatic |
Definition at line 91 of file qcoloroutput.cpp.
Referenced by QPatternist::ColorOutput::colorify().
The QString class provides a Unicode character string.
The QChar class provides a 16-bit Unicode character.
QString & append(QChar c)
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
◆ isColoringPossible()
bool QPatternist::ColorOutputPrivate::isColoringPossible |
( |
| ) |
const |
|
inlineprivate |
Returns true if it's suitable to send colored output to stderr
.
Definition at line 107 of file qcoloroutput.cpp.
Referenced by ColorOutputPrivate().
109 # if defined(Q_OS_WIN32) || defined(Q_OS_WINCE) int handle() const
Returns the file handle of the file.
◆ write()
void QPatternist::ColorOutputPrivate::write |
( |
const QString & |
msg | ) |
|
|
inline |
◆ backgrounds
const char *const ColorOutputPrivate::backgrounds |
|
static |
◆ coloringEnabled
bool QPatternist::ColorOutputPrivate::coloringEnabled |
◆ colorMapping
◆ currentColorID
int QPatternist::ColorOutputPrivate::currentColorID |
◆ foregrounds
const char *const ColorOutputPrivate::foregrounds |
|
static |
Initial value:=
{
"0;30",
"0;34",
"0;32",
"0;36",
"0;31",
"0;35",
"0;33",
"0;37",
"1;30",
"1;34",
"1;32",
"1;36",
"1;31",
"1;35",
"1;33",
"1;37"
}
Definition at line 83 of file qcoloroutput.cpp.
Referenced by QPatternist::ColorOutput::colorify(), and isColoringPossible().
◆ m_out
QFile QPatternist::ColorOutputPrivate::m_out |
|
private |
The documentation for this class was generated from the following file: