diff options
author | be_ <be.0@gmx.com> | 2017-03-14 22:39:01 -0500 |
---|---|---|
committer | be_ <be.0@gmx.com> | 2017-03-14 22:49:59 -0500 |
commit | 51d183bba5b473dd1a695febc8033b5dfcb65f4c (patch) | |
tree | 86f5af71eda3206eee07c462cbbdf5ab0f1659e9 /src/control/controlobjectscript.h | |
parent | fe19473324f605d4fa6a3e202f8310cb1b791777 (diff) |
rename ControllerEngineConnection -> ScriptConnection
and ControllerEngineConnectionScriptValue -> ScriptConnectionInvokableWrapper
Diffstat (limited to 'src/control/controlobjectscript.h')
-rw-r--r-- | src/control/controlobjectscript.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/control/controlobjectscript.h b/src/control/controlobjectscript.h index 5e89a36042..33cc6938bb 100644 --- a/src/control/controlobjectscript.h +++ b/src/control/controlobjectscript.h @@ -11,14 +11,12 @@ class ControlObjectScript : public ControlProxy { public: explicit ControlObjectScript(const ConfigKey& key, QObject* pParent = nullptr); - bool addConnection( - const ControllerEngineConnection& conn); + bool addScriptConnection(const ScriptConnection& conn); - bool removeConnection( - const ControllerEngineConnection& conn); + bool removeScriptConnection(const ScriptConnection& conn); inline int countConnections() { - return m_controllerEngineConnections.size(); }; + return m_scriptConnections.size(); }; void disconnectAllConnectionsToFunction(const QScriptValue& function); // Called from update(); @@ -35,7 +33,7 @@ class ControlObjectScript : public ControlProxy { void slotValueChanged(double v, QObject*); private: - QList<ControllerEngineConnection> m_controllerEngineConnections; + QList<ScriptConnection> m_scriptConnections; }; #endif // CONTROLOBJECTSCRIPT_H |