summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptengine_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/qscriptengine_p.h')
-rw-r--r--src/script/api/qscriptengine_p.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/script/api/qscriptengine_p.h b/src/script/api/qscriptengine_p.h
index 614341b..77c4561 100644
--- a/src/script/api/qscriptengine_p.h
+++ b/src/script/api/qscriptengine_p.h
@@ -178,18 +178,20 @@ public:
void emitSignalHandlerException();
bool scriptConnect(QObject *sender, const char *signal,
- JSC::JSValue receiver, JSC::JSValue function);
+ JSC::JSValue receiver, JSC::JSValue function,
+ Qt::ConnectionType type);
bool scriptDisconnect(QObject *sender, const char *signal,
JSC::JSValue receiver, JSC::JSValue function);
bool scriptConnect(QObject *sender, int index,
JSC::JSValue receiver, JSC::JSValue function,
- JSC::JSValue senderWrapper = 0);
+ JSC::JSValue senderWrapper,
+ Qt::ConnectionType type);
bool scriptDisconnect(QObject *sender, int index,
JSC::JSValue receiver, JSC::JSValue function);
bool scriptConnect(JSC::JSValue signal, JSC::JSValue receiver,
- JSC::JSValue function);
+ JSC::JSValue function, Qt::ConnectionType type);
bool scriptDisconnect(JSC::JSValue signal, JSC::JSValue receiver,
JSC::JSValue function);