4#include <QtTest/private/qsignaldumper_p.h>
6#include <QtCore/qlist.h>
7#include <QtCore/qmetaobject.h>
8#include <QtCore/qmetatype.h>
9#include <QtCore/qobject.h>
10#include <QtCore/qvariant.h>
12#include <QtTest/private/qtestlog_p.h>
14#include <QtCore/private/qmetaobject_p.h>
41 if (QTest::ignoreClasses() && QTest::ignoreClasses()->
contains(
mo->className())) {
49 str +=
mo->className();
66 if (
arg.endsWith(
'*') ||
arg.endsWith(
'&')) {
70 if (
arg.endsWith(
'&'))
102 (QTest::ignoreClasses() && QTest::ignoreClasses()->
contains(
mo->className())))
108 str +=
mo->className();
125 if (QTest::ignoreClasses()
126 && QTest::ignoreClasses()->
contains(caller->metaObject()->className())) {
159 if (QTest::ignoreClasses())
160 QTest::ignoreClasses()->append(klass);
165 if (QTest::ignoreClasses())
166 QTest::ignoreClasses()->clear();
169bool QSignalDumper::s_isEnabled =
false;
const char * constData() const noexcept
Returns a pointer to the const data stored in the byte array.
static QByteArray number(int, int base=10)
Returns a byte-array representing the whole number n as text.
QByteArray rightJustified(qsizetype width, char fill=' ', bool truncate=false) const
Returns a byte array of size width that contains the fill byte followed by this byte array.
qsizetype size() const noexcept
const_reference at(qsizetype i) const noexcept
QString objectName
the name of this object
static void ignoreClass(const QByteArray &klass)
static void setEnabled(bool)
static void clearIgnoredClasses()
\macro QT_RESTRICTED_CAST_FROM_ASCII
QString & fill(QChar c, qsizetype size=-1)
Sets every character in the string to character ch.
void chop(qsizetype n)
Removes n characters from the end of the string.
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
QByteArray toLocal8Bit() const &
QString & append(QChar c)
static void info(const char *msg, const char *file, int line)
Combined button and popup list for selecting options.
static void qSignalDumperCallback(QObject *caller, int signal_index, void **argv)
char * toString(const MyPoint &point)
static void qPrintMessage(const QByteArray &ba)
static void qSignalDumperCallbackSlot(QObject *caller, int method_index, void **argv)
static void qSignalDumperCallbackEndSignal(QObject *caller, int)
#define Q_GLOBAL_STATIC(TYPE, NAME,...)
void qt_register_signal_spy_callbacks(QSignalSpyCallbackSet *callback_set)
static bool contains(const QJsonArray &haystack, unsigned needle)
GLenum GLenum GLsizei const GLuint GLboolean enabled
static char * toLocal8Bit(char *out, QStringView in, QStringConverter::State *state)
QFuture< QSet< QChar > > set
[10]