QObject

Binding for C++ class QObject.

extern (C++)
class QObject {}

Constructors

this
this(QObject parent)
Undocumented in source.
this
this(QObjectPrivate dd, QObject parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bindableObjectName
QBindable!(QString) bindableObjectName()
Undocumented in source.
bindingStorage
QBindingStorage* bindingStorage()
Undocumented in source. Be warned that the author may not have intended to support it.
bindingStorage
const(QBindingStorage)* bindingStorage()
Undocumented in source. Be warned that the author may not have intended to support it.
blockSignals
bool blockSignals(bool b)
Undocumented in source.
childEvent
void childEvent(QChildEvent event)
Undocumented in source.
children
const(QObjectList) children()
Undocumented in source. Be warned that the author may not have intended to support it.
connectNotify
void connectNotify(const(QMetaMethod) signal)
Undocumented in source.
customEvent
void customEvent(QEvent event)
Undocumented in source.
deleteLater
void deleteLater()
Undocumented in source.
destroyed
void destroyed(QObject )
Undocumented in source.
disconnectNotify
void disconnectNotify(const(QMetaMethod) signal)
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dynamicPropertyNames
QList!(QByteArray) dynamicPropertyNames()
Undocumented in source.
event
bool event(QEvent event)
Undocumented in source.
eventFilter
bool eventFilter(QObject watched, QEvent event)
Undocumented in source.
inherits
bool inherits(const(char)* classname)
Undocumented in source. Be warned that the author may not have intended to support it.
installEventFilter
void installEventFilter(QObject filterObj)
Undocumented in source.
isSignalConnected
bool isSignalConnected(const(QMetaMethod) signal)
Undocumented in source.
isWidgetType
bool isWidgetType()
Undocumented in source. Be warned that the author may not have intended to support it.
isWindowType
bool isWindowType()
Undocumented in source. Be warned that the author may not have intended to support it.
killTimer
void killTimer(int id)
Undocumented in source.
moveToThread
void moveToThread(QThread thread)
Undocumented in source.
objectName
QString objectName()
Undocumented in source.
objectNameChanged
void objectNameChanged(const(QString) objectName, QPrivateSignal )
Undocumented in source.
parent
QObject parent()
Undocumented in source. Be warned that the author may not have intended to support it.
property
QVariant property(const(char)* name)
Undocumented in source.
receivers
int receivers(const(char)* signal)
Undocumented in source.
removeEventFilter
void removeEventFilter(QObject obj)
Undocumented in source.
sender
QObject sender()
Undocumented in source.
senderSignalIndex
int senderSignalIndex()
Undocumented in source.
setObjectName
void setObjectName(const(QString) name)
Undocumented in source.
setObjectName
void setObjectName(const(char)[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
setParent
void setParent(QObject parent)
Undocumented in source.
setProperty
bool setProperty(const(char)* name, const(QVariant) value)
Undocumented in source.
setProperty
bool setProperty(const(char)* name, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
signalsBlocked
bool signalsBlocked()
Undocumented in source. Be warned that the author may not have intended to support it.
startTimer
int startTimer(int interval, qt.core.namespace.TimerType timerType)
Undocumented in source.
thread
QThread thread()
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent event)
Undocumented in source.

Manifest constants

Q_OBJECT
enum Q_OBJECT;
Q_OBJECT_D
enum Q_OBJECT_D;

String constant for mixin in every class inheriting QObject.

Q_SIGNAL_IMPL_D
enum Q_SIGNAL_IMPL_D;

String constant for mixin in every signal in classes implemnted in D.

Static functions

connect
QMetaObject.Connection connect(Signal sender, QObject context, Dg dg, ConnectionType type)
QMetaObject.Connection connect(Signal sender, Dg dg, ConnectionType type)

Connects a signal to a delegate.

connect
QMetaObject.Connection connect(Signal sender, Slot receiver, ConnectionType type)

Connects a signal to a slot.

disconnect
bool disconnect(const(QMetaObject.Connection) )
Undocumented in source.
tr
QString tr(const(char)* sourceText, const(char)* , int )
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

QInvokable
struct QInvokable

UDA for marking member functions as invokable.

QScriptable
struct QScriptable

UDA for marking member functions as scriptable.

QSignal
struct QSignal

UDA for marking member functions as signals.

QSlot
struct QSlot

UDA for marking member functions as slots.

Templates

signal
template signal(string name, Params...)

Returns the set of signals with given name and optionally filtered by parameter types. All signals are used, if no parameter types are given. Otherwise the parameter types have to match.

slot
template slot(string name, Params...)

Returns the set of slots with given name and optionally filtered by parameter types. All slots are used, if no parameter types are given. Otherwise the parameter types have to match.

Variables

d_ptr
QScopedPointer!(QObjectData) d_ptr;
Undocumented in source.

Meta