12#ifndef KD_TABBAR_QTWIDGETS_H
13#define KD_TABBAR_QTWIDGETS_H
18#include <kddockwidgets/core/views/TabBarViewInterface.h>
43 void setCurrentIndex(
int index)
override;
45 QString text(
int index)
const override;
46 QRect rectForTab(
int index)
const override;
47 void moveTabTo(
int from,
int to)
override;
49 int tabAt(
QPoint localPos)
const override;
50 void renameTab(
int index,
const QString &)
override;
51 void changeTabIcon(
int index,
const QIcon &icon)
override;
56 void setTabsAreMovable(
bool)
override;
64 void init() override final;
67 void mouseDoubleClickEvent(
QMouseEvent *e) override;
68 bool event(
QEvent *) override;
69 void tabInserted(
int index) override;
70 void tabRemoved(
int index) override;