QSlot

gSlot - это набор слотов, хранящих в себе адрес вызываемой функции из D. <br>В D нет возможности создать слот, по этому в QtE.dll создан класс, который есть набор слотов с разными типами вызовов функции на D. Без аргументов, с одним аргументом с двумя и т.д. для реакции на события. gSlot - is a set of the slots storing in the address of called function from D. In D there is no possibility to create the slot, on it in QtE.dll the class which set of slots with different types of calls of function on D is is created. Without arguments, with one argument with two etc. "SlotN()" --> call(n) где n есть запомненный параметр (n save parametr) "Slot_Bool(bool b)" --> call(b) где b есть параметрр сигнала (b signal parametr) "Slot_Int(int i)" --> call(i) где i есть параметрр сигнала (i signal parametr)

Constructors

this
this()
Undocumented in source.
this
this(void* adr, int n)
Undocumented in source.
this
this(void* adr, void* adrThis, int n)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

setSlotN
QSlot setSlotN(void* adr, int n)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From QObject

ConnectionType
enum ConnectionType
Undocumented in source.
~this
~this()
Undocumented in source.
setNoDelete
void setNoDelete(bool f)
Undocumented in source. Be warned that the author may not have intended to support it.
setQtObj
void setQtObj(QtObjH adr)
Undocumented in source. Be warned that the author may not have intended to support it.
QtObj
QtObjH QtObj [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
aQtObj
void* aQtObj [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QObject connect(void* obj1, char* ssignal, void* obj2, char* sslot, QObject.ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connects
QObject connects(QObject obj1, string ssignal, QObject obj2, string sslot)
Undocumented in source. Be warned that the author may not have intended to support it.
saveThis
void saveThis(void* adr)

Запомнить указатель на собственный экземпляр

aThis
void* aThis [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Examples

connect(xxx, "send(n)", QSlot, "Slot_Int(int)"); for integet argument signal connect(xxx, "send(b)", QSlot, "Slot_Bool(bool)"); for bool argument signal

Meta