2011-02-26 03:57:55 +00:00
|
|
|
#include <QObject>
|
|
|
|
#include <QString>
|
|
|
|
#include <QStringList>
|
|
|
|
|
|
|
|
class JavascriptInvocation : public QObject {
|
|
|
|
Q_OBJECT
|
|
|
|
Q_PROPERTY(QString functionName READ functionName)
|
|
|
|
Q_PROPERTY(QStringList arguments READ arguments)
|
|
|
|
|
|
|
|
public:
|
2012-06-29 16:14:22 +00:00
|
|
|
JavascriptInvocation(const QString &functionName, const QStringList &arguments, QObject *parent = 0);
|
2011-02-26 03:57:55 +00:00
|
|
|
QString &functionName();
|
|
|
|
QStringList &arguments();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QString m_functionName;
|
|
|
|
QStringList m_arguments;
|
|
|
|
};
|
|
|
|
|