TreeFrogFramework  2.8
tjsinstance.h
Go to the documentation of this file.
1 #pragma once
2 #include <QJSValue>
3 #include <QMutex>
4 #include <TGlobal>
5 
6 
7 class T_CORE_EXPORT TJSInstance : public QJSValue {
8 public:
9  TJSInstance();
10  TJSInstance(const TJSInstance &other);
11  TJSInstance(const QJSValue &other);
12  ~TJSInstance();
13 
14  QJSValue call(const QString &method, const QJSValue &arg);
15  QJSValue call(const QString &method, const QJSValueList &args = QJSValueList());
16 };
17 
The TJSInstance class acts as a instance for JavaScript data types.
Definition: tjsinstance.h:7
#define T_CORE_EXPORT
Definition: tdeclexport.h:28