summaryrefslogtreecommitdiff
path: root/src/clicktoflash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clicktoflash.h')
-rw-r--r--src/clicktoflash.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/clicktoflash.h b/src/clicktoflash.h
index 382c6001..3660a1f9 100644
--- a/src/clicktoflash.h
+++ b/src/clicktoflash.h
@@ -31,6 +31,7 @@
#include <QWidget>
#include <QToolButton>
+#include <QUrl>
class WebPluginFactory;
@@ -38,7 +39,10 @@ class ClickToFlash : public QWidget
{
Q_OBJECT
public:
- ClickToFlash(const WebPluginFactory *factory, QWidget *parent = 0);
+ /**
+ pluginUrl : used to find the right QWebElement between the ones of the different plugins
+ */
+ ClickToFlash(const WebPluginFactory *factory, QUrl pluginUrl, QWidget *parent = 0);
signals:
void signalLoadClickToFlash(bool);
@@ -52,7 +56,7 @@ private slots:
void load(bool loadAll = false);
private:
- const WebPluginFactory *m_factory;
+ const QUrl m_url;
};
#endif // CLICKTOFLASH_H