1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 18:22:10 +02:00
falkonOfficial/src/plugins/webpluginfactory.h

26 lines
635 B
C
Raw Normal View History

2011-03-02 16:57:41 +01:00
#ifndef WEB_PLUGIN_FACTORY_H
#define WEB_PLUGIN_FACTORY_H
#include <QWebPluginFactory>
#include <QDebug>
class WebPluginFactory : public QWebPluginFactory
{
Q_OBJECT
public:
WebPluginFactory(QObject *parent);
virtual QObject*create (const QString &mimeType, const QUrl &url, const QStringList &argumentNames, const QStringList &argumentValues) const;
QList<QWebPluginFactory::Plugin> plugins() const;
signals:
void signalLoadClickToFlash(bool) const;
public slots:
void setLoadClickToFlash(bool load) { m_loadClickToFlash = load; }
private:
bool m_loadClickToFlash;
};
#endif // WEB_PLUGIN_FACTORY_H