MCPcopy Create free account
hub / github.com/KDE/kdevelop / setTabColor

Method setTabColor

kdevplatform/sublime/container.cpp:704–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704void Container::setTabColor(const View* view, const QColor& color)
705{
706 Q_D(Container);
707
708 for (int i = 0; i < count(); i++){
709 if (view == viewForWidget(widget(i))) {
710 d->tabBar->setTabTextColor(i, color);
711 }
712 }
713}
714
715void Container::setTabColors(const QHash<const View*, QColor>& colors)
716{

Callers 1

updateTabColorMethod · 0.80

Calls 1

countFunction · 0.50

Tested by

no test coverage detected