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