From e4c17c961d145bb6c4c945e1d7be4eea702abecf Mon Sep 17 00:00:00 2001 From: matgic78 Date: Sun, 22 Nov 2009 11:46:44 +0100 Subject: ClickToFlash : first step For now, no config and only working when there is only one flash in the page --- src/webpluginfactory.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/webpluginfactory.h') diff --git a/src/webpluginfactory.h b/src/webpluginfactory.h index 30a366d4..20dc6642 100644 --- a/src/webpluginfactory.h +++ b/src/webpluginfactory.h @@ -50,6 +50,15 @@ public: const QStringList &argumentValues) const; virtual QList plugins() const; + +signals: + void signalLoadClickToFlash(bool) const; + +public slots: + void setLoadClickToFlash(bool load); + +private: + bool loadClickToFlash; }; #endif // WEB_PLUGIN_FACTORY_H -- cgit v1.2.1 From 07270fd5b8331cc33a98ff43fbbc72d87a4431a1 Mon Sep 17 00:00:00 2001 From: matgic78 Date: Wed, 25 Nov 2009 15:20:29 +0100 Subject: clicktoflash : cleanup --- src/webpluginfactory.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/webpluginfactory.h') diff --git a/src/webpluginfactory.h b/src/webpluginfactory.h index 20dc6642..c1e4c28f 100644 --- a/src/webpluginfactory.h +++ b/src/webpluginfactory.h @@ -52,12 +52,17 @@ public: virtual QList plugins() const; signals: + void signalLoadClickToFlash(bool) const; public slots: void setLoadClickToFlash(bool load); private: + /** + When true, force loading of next flash animation (don't show clicktoflash) + We use signals/slots to set this property because QWebPluginFactory::create is const + */ bool loadClickToFlash; }; -- cgit v1.2.1