diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | 669fa3be411886f1e78a4528a1c8567fe94594ba (patch) | |
tree | 66cd87dfe9f134d62087f33804ddbdb6781c3a64 | |
parent | 223eec790690b3b72913f7a5c5574cd5768f5ecc (diff) | |
download | gwenview-669fa3be411886f1e78a4528a1c8567fe94594ba.tar.gz gwenview-669fa3be411886f1e78a4528a1c8567fe94594ba.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | src/gvcore/filethumbnailview.cpp | 4 | ||||
-rw-r--r-- | src/gvcore/imageview.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp index e9dff61..de43540 100644 --- a/src/gvcore/filethumbnailview.cpp +++ b/src/gvcore/filethumbnailview.cpp @@ -305,8 +305,8 @@ void FileThumbnailView::setShownFileItem(KFileItem* fileItem) { FileThumbnailViewItem* newShownItem=viewItem(this, fileItem); FileViewBase::setShownFileItem(fileItem); - if (oldShownItem) tqrepaintItem(oldShownItem); - if (newShownItem) tqrepaintItem(newShownItem); + if (oldShownItem) repaintItem(oldShownItem); + if (newShownItem) repaintItem(newShownItem); } diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp index 174d4f9..e91673b 100644 --- a/src/gvcore/imageview.cpp +++ b/src/gvcore/imageview.cpp @@ -780,7 +780,7 @@ void ImageView::slotBusyLevelChanged( BusyLevel level ) { // How to do painting: // When something needs to be erased: TQPainter on viewport and eraseRect() -// When whole picture needs to be tqrepainted: fullRepaint() +// When whole picture needs to be repainted: fullRepaint() // When a part of the picture needs to be updated: viewport()->tqrepaint(area,false) // All other paints will be changed to progressive painting. void ImageView::fullRepaint() { @@ -916,7 +916,7 @@ void ImageView::performPaint( TQPainter* painter, int clipx, int clipy, int clip } painter->drawPixmap(paintRect.topLeft(),buffer); - if( paintRect.width() * paintRect.height() >= 10000 ) { // ignore small tqrepaints + if( paintRect.width() * paintRect.height() >= 10000 ) { // ignore small repaints // try to do one step in 0.1sec int size = paintRect.width() * paintRect.height() * 100 / TQMAX( t.elapsed(), 1 ); @@ -1023,7 +1023,7 @@ bool ImageView::eventFilter(TQObject* obj, TQEvent* event) { emit doubleClicked(); return true; - // Getting/loosing focus causes tqrepaints, but tqrepainting here is expensive, + // Getting/loosing focus causes repaints, but repainting here is expensive, // and there's no need to tqrepaint on focus changes, as the focus is not // indicated. case TQEvent::FocusIn: |