qtquick: Don't hardcode "Frame.qml"
Allow the user to specify their impl
This commit is contained in:
@@ -222,6 +222,11 @@ QUrl DefaultWidgetFactory::dockwidgetFilename() const
|
||||
return QUrl(QStringLiteral("qrc:/kddockwidgets/private/quick/qml/DockWidget.qml"));
|
||||
}
|
||||
|
||||
QUrl DefaultWidgetFactory::frameFilename() const
|
||||
{
|
||||
return QUrl(QStringLiteral("qrc:/kddockwidgets/private/quick/qml/Frame.qml"));
|
||||
}
|
||||
|
||||
#endif // QtQuick
|
||||
|
||||
// iconForButtonType impl is the same for QtQuick and QtWidgets
|
||||
|
||||
Reference in New Issue
Block a user