Obsolete Members for <QtGlobal>

The following members of class <QtGlobal> are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Types

(obsolete) typedef QtMsgHandler

Macros

(obsolete) QABS(n)
(obsolete) QMAX(x, y)
(obsolete) QMIN(x, y)

Type Documentation

typedef QtMsgHandler

This typedef is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This is a typedef for a pointer to a function with the following signature:


  void myMsgHandler(QtMsgType, const char *);

This typedef is deprecated, you should use QtMessageHandler instead.

See also QtMsgType, QtMessageHandler, qInstallMsgHandler(), and qInstallMessageHandler().

Macro Documentation

QABS(n)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use qAbs(n) instead.

See also QMIN() and QMAX().

QMAX(x, y)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use qMax(x, y) instead.

See also QMIN() and QABS().

QMIN(x, y)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use qMin(x, y) instead.

See also QMAX() and QABS().