add WebView too in the supported widgets
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=936993
This commit is contained in:
parent
aa49cc2641
commit
c2a53c12fc
@ -70,6 +70,7 @@ QGraphicsWidget *createTextEdit(QGraphicsWidget *parent) { return new Plasma::Te
|
||||
QGraphicsWidget *createToolButton(QGraphicsWidget *parent) { return new Plasma::ToolButton(parent); }
|
||||
QGraphicsWidget *createTreeView(QGraphicsWidget *parent) { return new Plasma::TreeView(parent); }
|
||||
QGraphicsWidget *createVideoWidget(QGraphicsWidget *parent) { return new Plasma::VideoWidget(parent); }
|
||||
QGraphicsWidget *createWebView(QGraphicsWidget *parent) { return new Plasma::WebView(parent); }
|
||||
|
||||
UiLoader::UiLoader()
|
||||
{
|
||||
@ -95,6 +96,7 @@ UiLoader::UiLoader()
|
||||
m_widgetCtors.insert("ToolButton", createToolButton);
|
||||
m_widgetCtors.insert("TreeView", createTreeView);
|
||||
m_widgetCtors.insert("VideoWidget", createVideoWidget);
|
||||
m_widgetCtors.insert("WebView", createWebView);
|
||||
}
|
||||
|
||||
UiLoader::~UiLoader()
|
||||
|
Loading…
Reference in New Issue
Block a user