|
|
|
@ -759,14 +759,14 @@ void ThumbBarView::rearrangeItems()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ThumbBarView::tqrepaintItem(ThumbBarItem* item)
|
|
|
|
|
void ThumbBarView::repaintItem(ThumbBarItem* item)
|
|
|
|
|
{
|
|
|
|
|
if (item)
|
|
|
|
|
{
|
|
|
|
|
if (d->orientation ==Qt::Vertical)
|
|
|
|
|
tqrepaintContents(0, item->d->pos, visibleWidth(), d->tileSize+2*d->margin);
|
|
|
|
|
repaintContents(0, item->d->pos, visibleWidth(), d->tileSize+2*d->margin);
|
|
|
|
|
else
|
|
|
|
|
tqrepaintContents(item->d->pos, 0, d->tileSize+2*d->margin, visibleHeight());
|
|
|
|
|
repaintContents(item->d->pos, 0, d->tileSize+2*d->margin, visibleHeight());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -877,7 +877,7 @@ TQPixmap* ThumbBarItem::pixmap() const
|
|
|
|
|
|
|
|
|
|
void ThumbBarItem::tqrepaint()
|
|
|
|
|
{
|
|
|
|
|
d->view->tqrepaintItem(this);
|
|
|
|
|
d->view->repaintItem(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// -------------------------------------------------------------------------
|
|
|
|
|