45 #include <QtCore/qbytearray.h> 46 #include <QtCore/qlist.h> 47 #include <QtCore/qobject.h> 48 #include <QtCore/qmetaobject.h> 49 #include <QtCore/qvariant.h> 75 qWarning(
"QSignalSpy: Not a valid signal, use the SIGNAL macro");
89 qWarning(
"QSignalSpy: QMetaObject::connect returned false. Unable to connect.");
102 methodId = QObject::qt_metacall(call, methodId, a);
119 for (
int i = 0; i < params.
count(); ++i) {
122 qWarning(
"Don't know how to handle '%s', use qRegisterMetaType to register it.",
The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
void appendArgs(void **a)
The QByteArray class provides an array of bytes.
static const QMetaObject staticMetaObject
This variable stores the meta-object for the class.
long ASN1_INTEGER_get ASN1_INTEGER * a
int count(const T &t) const
Returns the number of occurrences of value in the list.
void initArgs(const QMetaMethod &member)
The QObject class is the base class of all Qt objects.
void append(const QList< QVariant > &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
const T & at(int i) const
Returns the item at index position i in the list.
int qt_metacall(QMetaObject::Call call, int methodId, void **a)
Q_CORE_EXPORT void qWarning(const char *,...)
QSignalSpy(QObject *obj, const char *aSignal)
const char * constData() const
Returns a pointer to the data stored in the byte array.
QByteArray signal() const
bool isEmpty() const
Returns true if the byte array has size 0; otherwise returns false.
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.
The QList class is a template class that provides lists.