add videowidget in UiLoader
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=923749
This commit is contained in:
parent
1f34041d86
commit
0a4aa1f37c
@ -45,6 +45,7 @@
|
||||
#include <Plasma/ToolButton>
|
||||
#include <Plasma/TreeView>
|
||||
#include <Plasma/WebView>
|
||||
#include <Plasma/VideoWidget>
|
||||
|
||||
QGraphicsWidget *createBusyWidget(QGraphicsWidget *parent) { return new Plasma::BusyWidget(parent); }
|
||||
QGraphicsWidget *createCheckBox(QGraphicsWidget *parent) { return new Plasma::CheckBox(parent); }
|
||||
@ -67,6 +68,7 @@ QGraphicsWidget *createTabBar(QGraphicsWidget *parent) { return new Plasma::TabB
|
||||
QGraphicsWidget *createTextEdit(QGraphicsWidget *parent) { return new Plasma::TextEdit(parent); }
|
||||
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); }
|
||||
|
||||
UiLoader::UiLoader()
|
||||
{
|
||||
@ -91,6 +93,7 @@ UiLoader::UiLoader()
|
||||
m_widgetCtors.insert("TextEdit", createTextEdit);
|
||||
m_widgetCtors.insert("ToolButton", createToolButton);
|
||||
m_widgetCtors.insert("TreeView", createTreeView);
|
||||
m_widgetCtors.insert("VideoWidget", createVideoWidget);
|
||||
}
|
||||
|
||||
UiLoader::~UiLoader()
|
||||
|
Loading…
Reference in New Issue
Block a user