example.cpp 311 B

123456789101112131415161718192021
  1. #include <QDebug>
  2. #include "example.h"
  3. Example::Example(QObject *parent)
  4. : QObject(parent)
  5. {
  6. }
  7. Example::~Example()
  8. {
  9. }
  10. void Example::setEnvironment(QMainWindow *parentWindow, QWebFrame *webFrame)
  11. {
  12. }
  13. QString Example::getValue() const
  14. {
  15. return "This is an example Hybrid plug-in";
  16. }