diff options
-rw-r--r-- | digikam/digikam/iconitem.cpp | 2 | ||||
-rw-r--r-- | digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp | 4 | ||||
-rw-r--r-- | digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.h | 2 | ||||
-rw-r--r-- | digikam/libs/thumbbar/thumbbar.cpp | 8 | ||||
-rw-r--r-- | digikam/libs/thumbbar/thumbbar.h | 2 | ||||
-rw-r--r-- | digikam/libs/widgets/common/histogramwidget.cpp | 2 | ||||
-rw-r--r-- | digikam/libs/widgets/imageplugins/imagepanelwidget.cpp | 2 | ||||
-rw-r--r-- | digikam/libs/widgets/imageplugins/imageregionwidget.cpp | 2 | ||||
-rw-r--r-- | digikam/libs/widgets/metadata/worldmapwidget.cpp | 4 | ||||
-rw-r--r-- | digikam/utilities/lighttable/lighttablebar.cpp | 12 |
10 files changed, 20 insertions, 20 deletions
diff --git a/digikam/digikam/iconitem.cpp b/digikam/digikam/iconitem.cpp index b7b422bd..6a5d97cf 100644 --- a/digikam/digikam/iconitem.cpp +++ b/digikam/digikam/iconitem.cpp @@ -130,7 +130,7 @@ bool IconItem::isSelected() const void IconItem::tqrepaint(bool force) { if (force) - m_group->iconView()->tqrepaintContents(rect()); + m_group->iconView()->repaintContents(rect()); else m_group->iconView()->updateContents(rect()); } diff --git a/digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp b/digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp index ada82c2d..fea8a1fd 100644 --- a/digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp +++ b/digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp @@ -584,7 +584,7 @@ int ImageSelectionWidget::computePreciseSize(int size, int step) return size; } -void ImageSelectionWidget::applyAspectRatio(bool useHeight, bool tqrepaintWidget) +void ImageSelectionWidget::applyAspectRatio(bool useHeight, bool repaintWidget) { // Save selection area for re-adjustment after changing width and height. TQRect oldRegionSelection = d->regionSelection; @@ -644,7 +644,7 @@ void ImageSelectionWidget::applyAspectRatio(bool useHeight, bool tqrepaintWidget break; } - if (tqrepaintWidget) + if (repaintWidget) { updatePixmap(); tqrepaint(false); diff --git a/digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.h b/digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.h index 9eabcaf5..34c88556 100644 --- a/digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.h +++ b/digikam/imageplugins/coreplugin/ratiocrop/imageselectionwidget.h @@ -159,7 +159,7 @@ private: void normalizeRegion(); void reverseRatioValues(); int computePreciseSize(int size, int step); - void applyAspectRatio(bool useHeight, bool tqrepaintWidget=true); + void applyAspectRatio(bool useHeight, bool repaintWidget=true); void updatePixmap(); TQPoint opposite(); float distance(TQPoint a, TQPoint b); diff --git a/digikam/libs/thumbbar/thumbbar.cpp b/digikam/libs/thumbbar/thumbbar.cpp index 65bac0fe..51d1f4e5 100644 --- a/digikam/libs/thumbbar/thumbbar.cpp +++ b/digikam/libs/thumbbar/thumbbar.cpp @@ -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); } // ------------------------------------------------------------------------- diff --git a/digikam/libs/thumbbar/thumbbar.h b/digikam/libs/thumbbar/thumbbar.h index 4c136aa7..a2a3d965 100644 --- a/digikam/libs/thumbbar/thumbbar.h +++ b/digikam/libs/thumbbar/thumbbar.h @@ -150,7 +150,7 @@ protected: void insertItem(ThumbBarItem* item); void rearrangeItems(); - void tqrepaintItem(ThumbBarItem* item); + void repaintItem(ThumbBarItem* item); virtual void viewportPaintEvent(TQPaintEvent*); virtual void startDrag(); diff --git a/digikam/libs/widgets/common/histogramwidget.cpp b/digikam/libs/widgets/common/histogramwidget.cpp index 4e8f2427..3bb49d42 100644 --- a/digikam/libs/widgets/common/histogramwidget.cpp +++ b/digikam/libs/widgets/common/histogramwidget.cpp @@ -244,7 +244,7 @@ void HistogramWidget::customEvent(TQCustomEvent *event) setCursor( KCursor::arrowCursor() ); // Send signals to refresh information if necessary. - // The signals may trigger multiple tqrepaints, avoid this, + // The signals may trigger multiple repaints, avoid this, // we tqrepaint once afterwards. setUpdatesEnabled(false); diff --git a/digikam/libs/widgets/imageplugins/imagepanelwidget.cpp b/digikam/libs/widgets/imageplugins/imagepanelwidget.cpp index 62626eaf..d0666225 100644 --- a/digikam/libs/widgets/imageplugins/imagepanelwidget.cpp +++ b/digikam/libs/widgets/imageplugins/imagepanelwidget.cpp @@ -311,7 +311,7 @@ DImg ImagePanelWidget::getOriginalRegionImage() void ImagePanelWidget::setPreviewImage(DImg img) { d->imageRegionWidget->updatePreviewImage(&img); - d->imageRegionWidget->tqrepaintContents(false); + d->imageRegionWidget->repaintContents(false); } void ImagePanelWidget::setCenterImageRegionPosition() diff --git a/digikam/libs/widgets/imageplugins/imageregionwidget.cpp b/digikam/libs/widgets/imageplugins/imageregionwidget.cpp index c44e482d..470a9084 100644 --- a/digikam/libs/widgets/imageplugins/imageregionwidget.cpp +++ b/digikam/libs/widgets/imageplugins/imageregionwidget.cpp @@ -154,7 +154,7 @@ void ImageRegionWidget::paintPreview(TQPixmap *pix, int sx, int sy, int sw, int void ImageRegionWidget::setHighLightPoints(const TQPointArray& pointsList) { d->hightlightPoints = pointsList; - tqrepaintContents(false); + repaintContents(false); } void ImageRegionWidget::slotZoomFactorChanged() diff --git a/digikam/libs/widgets/metadata/worldmapwidget.cpp b/digikam/libs/widgets/metadata/worldmapwidget.cpp index ee7494a2..73c3fb41 100644 --- a/digikam/libs/widgets/metadata/worldmapwidget.cpp +++ b/digikam/libs/widgets/metadata/worldmapwidget.cpp @@ -143,7 +143,7 @@ void WorldMapWidget::setGPSPosition(double lat, double lng) d->xPos = (int)(longMid + longOffset); d->yPos = (int)(latMid - latOffset); - tqrepaintContents(false); + repaintContents(false); center(d->xPos, d->yPos); TQString la, lo; @@ -197,7 +197,7 @@ void WorldMapWidget::contentsMouseMoveEvent( TQMouseEvent * e ) uint newypos = e->y(); scrollBy (-(newxpos - d->xMousePos), -(newypos - d->yMousePos)); - tqrepaintContents(false); + repaintContents(false); d->xMousePos = newxpos - (newxpos-d->xMousePos); d->yMousePos = newypos - (newypos-d->yMousePos); diff --git a/digikam/utilities/lighttable/lighttablebar.cpp b/digikam/utilities/lighttable/lighttablebar.cpp index 2bdf8bdb..fd1a6e1b 100644 --- a/digikam/utilities/lighttable/lighttablebar.cpp +++ b/digikam/utilities/lighttable/lighttablebar.cpp @@ -294,18 +294,18 @@ void LightTableBar::setOnLeftPanel(const ImageInfo* info) if (ltItem->info()->id() == info->id()) { ltItem->setOnLeftPanel(true); - tqrepaintItem(item); + repaintItem(item); } else if (ltItem->isOnLeftPanel() == true) { ltItem->setOnLeftPanel(false); - tqrepaintItem(item); + repaintItem(item); } } else if (ltItem->isOnLeftPanel() == true) { ltItem->setOnLeftPanel(false); - tqrepaintItem(item); + repaintItem(item); } } } @@ -323,18 +323,18 @@ void LightTableBar::setOnRightPanel(const ImageInfo* info) if (ltItem->info()->id() == info->id()) { ltItem->setOnRightPanel(true); - tqrepaintItem(item); + repaintItem(item); } else if (ltItem->isOnRightPanel() == true) { ltItem->setOnRightPanel(false); - tqrepaintItem(item); + repaintItem(item); } } else if (ltItem->isOnRightPanel() == true) { ltItem->setOnRightPanel(false); - tqrepaintItem(item); + repaintItem(item); } } } |