diff options
Diffstat (limited to 'digikam/utilities/cameragui/freespacewidget.cpp')
-rw-r--r-- | digikam/utilities/cameragui/freespacewidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/digikam/utilities/cameragui/freespacewidget.cpp b/digikam/utilities/cameragui/freespacewidget.cpp index afece0e7..fe80e052 100644 --- a/digikam/utilities/cameragui/freespacewidget.cpp +++ b/digikam/utilities/cameragui/freespacewidget.cpp @@ -109,7 +109,7 @@ void FreeSpaceWidget::setEstimatedDSizeKb(unsigned long dSize) { d->dSizeKb = dSize; updatePixmap(); - tqrepaint(); + repaint(); } unsigned long FreeSpaceWidget::estimatedDSizeKb() @@ -173,7 +173,7 @@ void FreeSpaceWidget::updatePixmap() p.drawRect(gRect); TQRect tRect(fimgPix.height()+2, 1, d->pix.width()-2-fimgPix.width()-2, d->pix.height()-2); - TQString text = TQString("%1%").tqarg(peUsed); + TQString text = TQString("%1%").arg(peUsed); p.setPen(colorGroup().text()); TQFontMetrics fontMt = p.fontMetrics(); TQRect fontRect = fontMt.boundingRect(tRect.x(), tRect.y(), @@ -246,7 +246,7 @@ void FreeSpaceWidget::slotAvailableFreeSpace(const unsigned long& kBSize, const d->percentUsed = 100 - (int)(100.0*kBAvail/kBSize); d->isValid = true; updatePixmap(); - tqrepaint(); + repaint(); } } // namespace Digikam |