Skip to content

Instantly share code, notes, and snippets.

@lettergram
Created March 18, 2015 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lettergram/dda7aa168f72543d9c23 to your computer and use it in GitHub Desktop.
Save lettergram/dda7aa168f72543d9c23 to your computer and use it in GitHub Desktop.
class javaScriptHandler : public QObject {
Q_OBJECT
public slots:
Q_INVOKABLE void webElement(QString str);
public:
javaScriptHandler();
void injectJavaScript(QWebFrame *);
private:
QString * webElementIdentification;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment