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;
65 void init() override final;
68 void mouseDoubleClickEvent(
QMouseEvent *e) override;
69 bool event(
QEvent *) override;
70 void tabInserted(
int index) override;
71 void tabRemoved(
int index) override;