Exemple #1
0
DbgHelper::DbgHelper(const QString &t) {
    txt = t;
#ifdef NO_COLOR
    myColor=-1;
#else
    myColor = colorIndex;
    colorIndex = (colorIndex + 1) % 7;
#endif
    DbgHelper_output(myColor, indent, QStringLiteral("BEGIN"), txt);
    ++indent;
}
Exemple #2
0
DbgHelper::~DbgHelper()
{
    --indent;
    DbgHelper_output(myColor, indent, "END", txt);
}
Exemple #3
0
DbgHelper::~DbgHelper() {
    --indent;
    DbgHelper_output(myColor, indent, QStringLiteral("END"), txt);
}