Home · All Classes · Main Classes · Deprecated |
Defines | |
#define | mDebug(x) mDebugStream(x) |
#define | mWarning(x) mWarningStream(x) |
#define | mCritical(x) mCriticalStream(x) |
#define | mPerformanceWarning(x) mPerformanceWarningStream(x) |
Functions | |
bool | mRedirectOutput (const QString &filename) |
QDebug | mDebugStream (const QString &module) |
QDebug | mWarningStream (const QString &module) |
QDebug | mCriticalStream (const QString &module) |
MDebug | mPerformanceWarningStream (const QString &module) |
#define mCritical | ( | x | ) | mCriticalStream(x) |
#define mDebug | ( | x | ) | mDebugStream(x) |
#define mPerformanceWarning | ( | x | ) | mPerformanceWarningStream(x) |
#define mWarning | ( | x | ) | mWarningStream(x) |
Returns an object to send critical messages to the message handler.
Use as a replacement for qCritical. Pass the name of the module as QString to categorize the output.
Returns an object to send debug messages to the message handler.
Use as a replacement for qDebug. Pass the name of the module as QString to categorize the output.
Example:
#include <MDebug> mDebug("CSS Parser") << "Reading one line"; *
The user can now decide which debug messages are visible by command line arguments to MApplication.
MDebug mPerformanceWarningStream | ( | const QString & | module | ) | [inline] |
bool mRedirectOutput | ( | const QString & | filename | ) |
Redirects all debugging output from qDebug, qWarning, qCritical and qFatal to specified file.
filename | const char* Specifies file name |
Returns an object to send warning messages to the message handler.
Use as a replacement for qWarning. Pass the name of the module as QString to categorize the output.
Copyright © 2010 Nokia Corporation | MeeGo Touch |