KDEWebKit
kwebpluginfactory.cpp
Go to the documentation of this file.
58 QObject* KWebPluginFactory::create(const QString& _mimeType, const QUrl& url, const QStringList& argumentNames, const QStringList& argumentValues) const
71 KParts::ReadOnlyPart* part = (excludedMimeType(mimeType) ? 0 : createPartInstanceFrom(mimeType, argumentNames, argumentValues, 0, parent()));
146 part = KMimeTypeTrader::createPartInstanceFromQuery<KParts::ReadOnlyPart>(mimeType, parentWidget, parentObj, QString(), arguments);
virtual QObject * create(const QString &mimeType, const QUrl &url, const QStringList &argumentNames, const QStringList &argumentValues) const
Definition: kwebpluginfactory.cpp:58
void extractGuessedMimeType(const QUrl &url, QString *mimeType) const
Sets mimeType to the content type guessed from url.
Definition: kwebpluginfactory.cpp:119
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
KParts::ReadOnlyPart * createPartInstanceFrom(const QString &mimeType, const QStringList &argumentNames, const QStringList &argumentValues, QWidget *parentWidget=0, QObject *parent=0) const
Returns an instance of the service associated with mimeType.
Definition: kwebpluginfactory.cpp:130
KWebPluginFactory(QObject *parent)
Constructs a KWebPluginFactory with parent parent.
Definition: kwebpluginfactory.cpp:49
bool excludedMimeType(const QString &mimeType) const
Returns true if the given mime-type is excluded from being used to create a web plugin using KDE's tr...
Definition: kwebpluginfactory.cpp:152
An enhanced QWebPage that provides integration into the KDE environment.
Definition: kwebpage.h:75
bool isLocalFile() const
virtual QList< Plugin > plugins() const
Definition: kwebpluginfactory.cpp:106
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.