qtquick: Remove old rubber band code, this has been ported already

This commit is contained in:
Sergio Martins
2022-06-04 20:40:57 +01:00
parent a3f2e8ec9a
commit 1ead71442f
3 changed files with 1 additions and 16 deletions

View File

@@ -39,17 +39,6 @@ bool Separator_qtquick::isVertical() const
return m_controller->isVertical();
}
// TODOm2
// Layouting::Widget *Separator_qtquick::createRubberBand(Layouting::Widget *parent)
// {
// if (!parent) {
// qWarning() << Q_FUNC_INFO << "Parent is required";
// return nullptr;
// }
// return new Layouting::Widget_quick(new Layouting::RubberBand(parent));
// }
void Separator_qtquick::onMousePressed()
{
if (freed())

View File

@@ -29,10 +29,6 @@ public:
bool isVertical() const;
void init() override;
protected:
// TODOm2
// Widget *createRubberBand(Widget *parent) override;
public:
// Interface with QML:
Q_INVOKABLE void onMousePressed();

View File

@@ -77,7 +77,7 @@ void Stack_qtquick::setCurrentDockWidget(int index)
}
}
QObject *Stack_qtquick::tabBarObj() const
QObject *Stack_qtquick::tabBarViewObj() const
{
return m_tabBar->view()->asQObject();
}