qtquick: Minor refactoring, add TabBar_qtquick::qmlTabs()
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "views/TabBar.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QHash>
|
||||
|
||||
namespace KDDockWidgets::Controllers {
|
||||
class TabBar;
|
||||
@@ -62,6 +63,7 @@ protected:
|
||||
bool event(QEvent *ev) override;
|
||||
|
||||
private:
|
||||
QHash<int, QQuickItem *> qmlTabs() const;
|
||||
QQuickItem *tabAt(int index) const;
|
||||
QQuickItem *listView() const;
|
||||
QPointer<QQuickItem> m_tabBarQmlItem;
|
||||
|
||||
Reference in New Issue
Block a user