[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/plasma/private
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2008-11-07 18:03:22
Message-ID: 1226081002.510795.7968.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 881295 by aseigo:
call the right parent class methods
M +7 -7 nativetabbar.cpp
--- trunk/KDE/kdelibs/plasma/private/nativetabbar.cpp #881294:881295
@@ -124,7 +124,7 @@
QRect NativeTabBar::tabRect(int index) const
{
- QRect rect = QTabBar::tabRect(index).translated(d->left, d->top);
+ QRect rect = KTabBar::tabRect(index).translated(d->left, d->top);
if (isVertical()) {
rect.setWidth(rect.width() - d->right - d->left);
@@ -140,7 +140,7 @@
QSize NativeTabBar::tabSizeHint(int index) const
{
- //return QTabBar::tabSizeHint(index);
+ //return KTabBar::tabSizeHint(index);
QSize hint = tabSize(index);
int minwidth = 0;
int minheight = 0;
@@ -212,7 +212,7 @@
void NativeTabBar::paintEvent(QPaintEvent *event)
{
if (!styleSheet().isNull()) {
- QTabBar::paintEvent(event);
+ KTabBar::paintEvent(event);
return;
}
@@ -309,7 +309,7 @@
void NativeTabBar::resizeEvent(QResizeEvent *event)
{
- QTabBar::resizeEvent(event);
+ KTabBar::resizeEvent(event);
d->currentAnimRect = tabRect(currentIndex());
d->backgroundSvg->resizeFrame(size());
@@ -318,19 +318,19 @@
void NativeTabBar::tabInserted(int index)
{
- QTabBar::tabInserted(index);
+ KTabBar::tabInserted(index);
emit sizeHintChanged();
}
void NativeTabBar::tabRemoved(int index)
{
- QTabBar::tabRemoved(index);
+ KTabBar::tabRemoved(index);
emit sizeHintChanged();
}
void NativeTabBar::tabLayoutChange()
{
- QTabBar::tabLayoutChange();
+ KTabBar::tabLayoutChange();
if (shape() != d->shape) {
d->shape = shape();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic