QObject

#include <QtCore/QObject>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QObject


Overview

Properties Index

Protected Attributes Index

Public Functions Index

Q_INVOKABLEQObject (QObject *parent=0)
virtual ~QObject ()
boolblockSignals (bool b)
const QObjectList &children () const
boolconnect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
booldisconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
booldisconnect (const QObject *receiver, const char *member=0)
voiddumpObjectInfo ()
voiddumpObjectTree ()
QList< QByteArray >dynamicPropertyNames () const
virtual boolevent (QEvent *)
virtual booleventFilter (QObject *, QEvent *)
TfindChild (const QString &aName=QString()) const
QList< T >findChildren (const QString &aName=QString()) const
QList< T >findChildren (const QRegExp &re) const
boolinherits (const char *classname) const
voidinstallEventFilter (QObject *)
boolisWidgetType () const
voidkillTimer (int id)
voidmoveToThread (QThread *thread)
QStringobjectName () const
QObject *parent () const
QVariantproperty (const char *name) const
voidremoveEventFilter (QObject *)
voidsetObjectName (const QString &name)
voidsetParent (QObject *)
boolsetProperty (const char *name, const QVariant &value)
voidsetUserData (uint id, QObjectUserData *data)
boolsignalsBlocked () const
intstartTimer (int interval)
QThread *thread () const
QObjectUserData *userData (uint id) const

Static Public Functions Index

boolconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
boolconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
booldisconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
booldisconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
uintregisterUserData ()

Protected Functions Index

QObject (QObjectPrivate &dd, QObject *parent=0)
virtual voidchildEvent (QChildEvent *)
virtual voidconnectNotify (const char *signal)
virtual voidcustomEvent (QEvent *)
virtual voiddisconnectNotify (const char *signal)
intreceivers (const char *signal) const
QObject *sender () const
intsenderSignalIndex () const
virtual voidtimerEvent (QTimerEvent *)

Public Slots Index

Signals Index

voiddestroyed (QObject *=0)

Properties

QString objectName

Protected Attributes

Public Functions

Q_INVOKABLE QObject (

virtual~QObject ()

Destructor.

bool blockSignals (
  • boolb)

const QObjectList & children ()

bool connect (
  • const QObject *sender,
  • const char *signal,
  • const char *member,
  • Qt::ConnectionTypetype )

bool disconnect (
  • const char *signal,
  • const QObject *receiver,
  • const char *member )

bool disconnect (
  • const QObject *receiver,
  • const char *member )

void dumpObjectInfo ()

void dumpObjectTree ()

QList< QByteArray > dynamicPropertyNames ()

virtual bool event (

virtual bool eventFilter (

T findChild (

QList< T > findChildren (

QList< T > findChildren (

bool inherits (
  • const char *classname)

void installEventFilter (

bool isWidgetType ()

void killTimer (
  • intid)

void moveToThread (

QString objectName ()

QObject * parent ()

QVariant property (
  • const char *name)

void removeEventFilter (

void setObjectName (

void setParent (

bool setProperty (
  • const char *name,
  • const QVariant &value )

void setUserData (

bool signalsBlocked ()

int startTimer (
  • intinterval)

QThread * thread ()

QObjectUserData * userData (
  • uintid)

Static Public Functions

bool connect (
  • const QObject *sender,
  • const char *signal,
  • const QObject *receiver,
  • const char *member,
  • Qt::ConnectionType )

bool connect (

bool disconnect (
  • const QObject *sender,
  • const char *signal,
  • const QObject *receiver,
  • const char *member )

bool disconnect (

uint registerUserData ()

Protected Functions

QObject (
  • QObjectPrivate &dd,
  • QObject *parent )

virtual void childEvent (

virtual void connectNotify (
  • const char *signal)

virtual void customEvent (

virtual void disconnectNotify (
  • const char *signal)

int receivers (
  • const char *signal)

QObject * sender ()

int senderSignalIndex ()

virtual void timerEvent (

Public Slots

void deleteLater ()

Signals

void destroyed (

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus