#include "qglobal.h"
#include "qasciidict.h"
#include "qstring.h"
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
Go to the source code of this file.
|
void | qDebug (const char *msg,...) |
|
void | debug (const char *msg,...) |
|
void | qWarning (const char *msg,...) |
|
void | warning (const char *msg,...) |
|
void | qFatal (const char *msg,...) |
|
void | fatal (const char *msg,...) |
|
bool | qt_check_pointer (bool c, const char *n, int l) |
|
static bool | firstObsoleteWarning (const char *obj, const char *oldfunc) |
|
void | qSuppressObsoleteWarnings (bool suppress) |
|
void | qObsolete (const char *obj, const char *oldfunc, const char *newfunc) |
|
void | qObsolete (const char *obj, const char *oldfunc) |
|
void | qObsolete (const char *message) |
|
void debug |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
Definition at line 393 of file qglobal.cpp.
399 vsprintf( buf,
msg, ap );
void msg(const char *fmt,...)
static msg_handler handler
void fatal |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
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
static bool firstObsoleteWarning |
( |
const char * |
obj, |
|
|
const char * |
oldfunc |
|
) |
| |
|
static |
Definition at line 557 of file qglobal.cpp.
560 if ( !obsoleteDict ) {
564 "You are using obsolete functions in the Qt library. Call the function\n" 565 "qSuppressObsoleteWarnings() to suppress obsolete warnings.\n" 572 if ( obsoleteDict->
find(
s.
data()) == 0 ) {
void qDebug(const char *msg,...)
type * find(const char *k) const
void insert(const char *k, const type *d)
const char * data() const
void qDebug |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
Definition at line 376 of file qglobal.cpp.
382 vsprintf( buf,
msg, ap );
void msg(const char *fmt,...)
static msg_handler handler
void qFatal |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
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
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
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
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
void qSuppressObsoleteWarnings |
( |
bool |
suppress | ) |
|
Definition at line 581 of file qglobal.cpp.
static bool suppressObsolete
bool qt_check_pointer |
( |
bool |
c, |
|
|
const char * |
n, |
|
|
int |
l |
|
) |
| |
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,...)
void qWarning |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
Definition at line 409 of file qglobal.cpp.
415 vsprintf( buf,
msg, ap );
void msg(const char *fmt,...)
static msg_handler handler
void warning |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
Definition at line 427 of file qglobal.cpp.
433 vsprintf( buf,
msg, ap );
void msg(const char *fmt,...)
static msg_handler handler