diff options
Diffstat (limited to 'digikam/utilities/lighttable/lighttablebar.cpp')
-rw-r--r-- | digikam/utilities/lighttable/lighttablebar.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/digikam/utilities/lighttable/lighttablebar.cpp b/digikam/utilities/lighttable/lighttablebar.cpp index 849706c..7149018 100644 --- a/digikam/utilities/lighttable/lighttablebar.cpp +++ b/digikam/utilities/lighttable/lighttablebar.cpp @@ -111,7 +111,7 @@ LightTableBar::LightTableBar(TQWidget* parent, int orientation, bool exifRotate) ThemeEngine::instance()->textSpecialRegColor()); painter.end(); - if (orientation ==Qt::Vertical) + if (orientation ==TQt::Vertical) setMinimumWidth(d->ratingPixmap.width()*5 + 6 + 2*getMargin()); else setMinimumHeight(d->ratingPixmap.width()*5 + 6 + 2*getMargin()); @@ -165,7 +165,7 @@ void LightTableBar::contentsMouseReleaseEvent(TQMouseEvent *e) RatingPopupMenu *ratingMenu = 0; - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) { TDEPopupMenu popmenu(this); @@ -460,7 +460,7 @@ void LightTableBar::viewportPaintEvent(TQPaintEvent* e) int cy, cx, ts, y1, y2, x1, x2; TQPixmap tile; - if (getOrientation() ==Qt::Vertical) + if (getOrientation() ==TQt::Vertical) { cy = viewportToContents(er.topLeft()).y(); @@ -489,7 +489,7 @@ void LightTableBar::viewportPaintEvent(TQPaintEvent* e) for (ThumbBarItem *item = firstItem(); item; item = item->next()) { - if (getOrientation() ==Qt::Vertical) + if (getOrientation() ==TQt::Vertical) { if (y1 <= item->position() && item->position() <= y2) { @@ -603,7 +603,7 @@ void LightTableBar::viewportPaintEvent(TQPaintEvent* e) } } - if (getOrientation() ==Qt::Vertical) + if (getOrientation() ==TQt::Vertical) bitBlt(viewport(), 0, er.y(), &bgPix); else bitBlt(viewport(), er.x(), 0, &bgPix); |