Go to the source code of this file.
|
int | qRound (double d) |
|
Q_EXPORT const char * | qVersion () |
|
Q_EXPORT bool | qSysInfo (int *wordSize, bool *bigEndian) |
|
Q_EXPORT void | qDebug (const char *,...) |
|
Q_EXPORT void | qWarning (const char *,...) |
|
Q_EXPORT void | qFatal (const char *,...) |
|
Q_EXPORT void | debug (const char *,...) |
|
Q_EXPORT void | warning (const char *,...) |
|
Q_EXPORT void | fatal (const char *,...) |
|
Q_EXPORT bool | qt_check_pointer (bool c, const char *, int) |
|
Q_EXPORT msg_handler | qInstallMsgHandler (msg_handler) |
|
Q_EXPORT void | qSuppressObsoleteWarnings (bool=TRUE) |
|
Q_EXPORT void | qObsolete (const char *obj, const char *oldfunc, const char *newfunc) |
|
Q_EXPORT void | qObsolete (const char *obj, const char *oldfunc) |
|
Q_EXPORT void | qObsolete (const char *message) |
|
Value: qWarning(
"ASSERT: \"%s\" in %s (%d)",#
x,__FILE__,__LINE__)
Q_EXPORT void qWarning(const char *,...)
Definition at line 590 of file qglobal.h.
#define Q_CONST_UNUSED |
( |
|
x | ) |
(void)x; |
#define Q_DELETING_VOID_UNDEFINED |
#define Q_UNUSED |
( |
|
x | ) |
x=x; |
#define QABS |
( |
|
a | ) |
((a) >= 0 ? (a) : -(a)) |
#define QMAX |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) > (b) ? (a) : (b)) |
#define QMIN |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
#define QT_STATIC_CONST static const |
#define QT_STATIC_CONST_IMPL const |
#define QT_VERSION_STR "2.2.3" |
typedef void(* msg_handler) (QtMsgType, const char *) |
typedef unsigned char uchar |
typedef unsigned long long uint64 |
typedef unsigned char UINT8 |
typedef unsigned long ulong |
Enumerator |
---|
QtDebugMsg |
|
QtWarningMsg |
|
QtFatalMsg |
|
Definition at line 606 of file qglobal.h.
Q_EXPORT void debug |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
Definition at line 393 of file qglobal.cpp.
399 vsprintf( buf,
msg, ap );
void msg(const char *fmt,...)
static msg_handler handler
Q_EXPORT void fatal |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
Definition at line 465 of file qglobal.cpp.
471 vsprintf( buf,
msg, ap );
478 #if defined(_OS_UNIX_) && defined(DEBUG)
void msg(const char *fmt,...)
static msg_handler handler
Q_EXPORT void qDebug |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
Definition at line 376 of file qglobal.cpp.
382 vsprintf( buf,
msg, ap );
void msg(const char *fmt,...)
static msg_handler handler
Q_EXPORT void qFatal |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
Definition at line 443 of file qglobal.cpp.
449 vsprintf( buf,
msg, ap );
456 #if defined(_OS_UNIX_) && defined(DEBUG)
void msg(const char *fmt,...)
static msg_handler handler
Q_EXPORT void qObsolete |
( |
const char * |
obj, |
|
|
const char * |
oldfunc, |
|
|
const char * |
newfunc |
|
) |
| |
Definition at line 586 of file qglobal.cpp.
593 qDebug(
"%s::%s: This function is obsolete, use %s instead.",
594 obj, oldfunc, newfunc );
596 qDebug(
"%s: This function is obsolete, use %s instead.",
void qDebug(const char *msg,...)
static bool firstObsoleteWarning(const char *obj, const char *oldfunc)
static bool suppressObsolete
Q_EXPORT void qObsolete |
( |
const char * |
obj, |
|
|
const char * |
oldfunc |
|
) |
| |
Definition at line 600 of file qglobal.cpp.
607 qDebug(
"%s::%s: This function is obsolete.", obj, oldfunc );
609 qDebug(
"%s: This function is obsolete.", oldfunc );
void qDebug(const char *msg,...)
static bool firstObsoleteWarning(const char *obj, const char *oldfunc)
static bool suppressObsolete
Q_EXPORT void qObsolete |
( |
const char * |
message | ) |
|
Definition at line 612 of file qglobal.cpp.
void qDebug(const char *msg,...)
static bool firstObsoleteWarning(const char *obj, const char *oldfunc)
static bool suppressObsolete
Definition at line 581 of file qglobal.cpp.
static bool suppressObsolete
Definition at line 549 of file qglobal.cpp.
552 qFatal(
"In file %s, line %d: Out of memory",
n,
l );
void qFatal(const char *msg,...)
Q_EXPORT void qWarning |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
Definition at line 409 of file qglobal.cpp.
415 vsprintf( buf,
msg, ap );
void msg(const char *fmt,...)
static msg_handler handler
Q_EXPORT void warning |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
Definition at line 427 of file qglobal.cpp.
433 vsprintf( buf,
msg, ap );
void msg(const char *fmt,...)
static msg_handler handler