Rename FrameworkWidgetFactory to ViewFactory

We now deal in views instead of widgets, and the "Framework"
part was redundant. It's also shorter now
This commit is contained in:
Sergio Martins
2022-05-18 23:12:43 +01:00
parent aefbbd5738
commit e514a8c3e1
13 changed files with 23 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ class DockWidget;
class MainWindow;
}
class FrameworkWidgetFactory;
class ViewFactory;
typedef KDDockWidgets::Controllers::DockWidget *(*DockWidgetFactoryFunc)(const QString &name);
typedef KDDockWidgets::Controllers::MainWindow *(*MainWindowFactoryFunc)(const QString &name);
@@ -185,10 +185,10 @@ public:
* Also potentially useful to return QtQuick classes instead of the QtWidget based ones.
* Ownership is taken.
*/
void setFrameworkWidgetFactory(FrameworkWidgetFactory *);
void setFrameworkWidgetFactory(ViewFactory *);
///@brief getter for the framework widget factory
FrameworkWidgetFactory *frameworkWidgetFactory() const;
ViewFactory *frameworkWidgetFactory() const;
/**
* @brief Returns the thickness of the separator.