Moved getTypeAsString function from public to protected

This commit is contained in:
Kalila R 2019-07-30 17:26:49 -04:00
parent 058c81aa1a
commit 8b6cce5889

View file

@ -277,7 +277,6 @@ public:
* </ul> * </ul>
*/ */
Q_INVOKABLE QString getContext() const; Q_INVOKABLE QString getContext() const;
Q_INVOKABLE QString getTypeAsString() const;
/**jsdoc /**jsdoc
* Checks whether the script is running as an Interface or avatar script. * Checks whether the script is running as an Interface or avatar script.
@ -635,6 +634,7 @@ public:
void setType(Type type) { _type = type; }; void setType(Type type) { _type = type; };
Type getType() { return _type; }; Type getType() { return _type; };
QString getTypeAsString() const;
bool isFinished() const { return _isFinished; } // used by Application and ScriptWidget bool isFinished() const { return _isFinished; } // used by Application and ScriptWidget
bool isRunning() const { return _isRunning; } // used by ScriptWidget bool isRunning() const { return _isRunning; } // used by ScriptWidget