From 03d51915bf86a00c5953817c89976b62785bb5a1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kviewshell/documentRenderer.h | 2 +- kviewshell/kmultipage.cpp | 8 ++++---- kviewshell/kmultipage.h | 4 ++-- kviewshell/marklist.cpp | 2 +- kviewshell/marklist.h | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kviewshell') diff --git a/kviewshell/documentRenderer.h b/kviewshell/documentRenderer.h index 2329137a..1a43f1b5 100644 --- a/kviewshell/documentRenderer.h +++ b/kviewshell/documentRenderer.h @@ -362,7 +362,7 @@ signals: This signal can be emitted if the document or status of this class changed internally so that all associated widgets should be - tqrepainted. This could be emitted, e.g. if pages are removed from a + repainted. This could be emitted, e.g. if pages are removed from a document, or if some preferences change that have some direct influence on the way the document is rendered. diff --git a/kviewshell/kmultipage.cpp b/kviewshell/kmultipage.cpp index f927c62c..39655602 100644 --- a/kviewshell/kmultipage.cpp +++ b/kviewshell/kmultipage.cpp @@ -700,14 +700,14 @@ void KMultiPage::renderModeChanged() documentWidget->update(); } - markList()->tqrepaintThumbnails(); + markList()->repaintThumbnails(); } -void KMultiPage::tqrepaintAllVisibleWidgets() +void KMultiPage::repaintAllVisibleWidgets() { #ifdef DEBUG_KMULTIPAGE - kdDebug(1233) << "KMultiPage::tqrepaintAllVisibleWidgets()" << endl; + kdDebug(1233) << "KMultiPage::repaintAllVisibleWidgets()" << endl; #endif bool everResized = false; @@ -872,7 +872,7 @@ void KMultiPage::setRenderer(DocumentRenderer* _renderer) connect(pageCache, TQT_SIGNAL(paperSizeChanged()), this, TQT_SLOT(renderModeChanged())); connect(pageCache, TQT_SIGNAL(textSelected(bool)), this, TQT_SIGNAL(textSelected(bool))); connect(renderer, TQT_SIGNAL(documentIsChanged()), this, TQT_SLOT(renderModeChanged())); - connect(this, TQT_SIGNAL(zoomChanged()), this, TQT_SLOT(tqrepaintAllVisibleWidgets())); + connect(this, TQT_SIGNAL(zoomChanged()), this, TQT_SLOT(repaintAllVisibleWidgets())); } diff --git a/kviewshell/kmultipage.h b/kviewshell/kmultipage.h index dc05200a..4a86f8e4 100644 --- a/kviewshell/kmultipage.h +++ b/kviewshell/kmultipage.h @@ -426,9 +426,9 @@ public slots: */ void renderModeChanged(); - /* Empties the page cache and --as the name suggests-- tqrepaints all + /* Empties the page cache and --as the name suggests-- repaints all visible widgets. */ - void tqrepaintAllVisibleWidgets(); + void repaintAllVisibleWidgets(); /* Tells the multipage if scrollbars should be used. */ virtual void slotShowScrollbars(bool); diff --git a/kviewshell/marklist.cpp b/kviewshell/marklist.cpp index 041997f1..c28c1aaf 100644 --- a/kviewshell/marklist.cpp +++ b/kviewshell/marklist.cpp @@ -542,7 +542,7 @@ void MarkList::slotShowThumbnails(bool show) } -void MarkList::tqrepaintThumbnails() +void MarkList::repaintThumbnails() { bool show = showThumbnails; int numOfPages = widgetList.count(); diff --git a/kviewshell/marklist.h b/kviewshell/marklist.h index 5e51d694..5e1a04f8 100644 --- a/kviewshell/marklist.h +++ b/kviewshell/marklist.h @@ -151,7 +151,7 @@ public slots: void clear(); void slotShowThumbnails(bool); - void tqrepaintThumbnails(); + void repaintThumbnails(); void updateWidgetSize(const PageNumber&); -- cgit v1.2.1