From 03d51915bf86a00c5953817c89976b62785bb5a1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: [PATCH] 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 --- kcoloredit/gradientselection.cpp | 4 +- kcoloredit/paletteviewscrolledarea.cpp | 6 +-- kcoloredit/paletteviewscrolledarea.h | 6 +-- kiconedit/kicongrid.h | 2 +- kolourpaint/kpdocumentsaveoptionswidget.cpp | 4 +- kolourpaint/kpdocumentsaveoptionswidget.h | 2 +- kolourpaint/kpview.h | 8 ++-- kolourpaint/kpviewmanager.h | 2 +- kolourpaint/kpviewscrollablecontainer.cpp | 20 +++++----- kolourpaint/kpviewscrollablecontainer.h | 4 +- .../patches/doc_resize_no_flicker.diff | 38 +++++++++---------- kolourpaint/pixmapfx/kpeffectbalance.cpp | 2 +- kooka/kookaview.cpp | 2 +- kooka/ksaneocr.cpp | 2 +- kooka/ksaneocr.h | 2 +- kpovmodeler/pmcolorsettings.cpp | 2 +- kpovmodeler/pmglview.h | 2 +- kpovmodeler/pmgridsettings.cpp | 2 +- kpovmodeler/pmobjectsettings.cpp | 2 +- kpovmodeler/pmpovraysettings.cpp | 2 +- kpovmodeler/pmsettingsdialog.cpp | 2 +- kpovmodeler/pmsettingsdialog.h | 2 +- kpovmodeler/pmtreeview.cpp | 2 +- kpovmodeler/pmvectorlistedit.h | 2 +- kviewshell/documentRenderer.h | 2 +- kviewshell/kmultipage.cpp | 8 ++-- kviewshell/kmultipage.h | 4 +- kviewshell/marklist.cpp | 2 +- kviewshell/marklist.h | 2 +- 29 files changed, 70 insertions(+), 70 deletions(-) diff --git a/kcoloredit/gradientselection.cpp b/kcoloredit/gradientselection.cpp index 72dd02cd..1399a952 100644 --- a/kcoloredit/gradientselection.cpp +++ b/kcoloredit/gradientselection.cpp @@ -218,7 +218,7 @@ void GradientSelection::slotXyColorSelectorPosChanged(int x, int y) { } void GradientSelection::slotZColorSelectorPosChanged(int y) { - bool tqrepaintZColorSelector = false; + bool repaintZColorSelector = false; switch(zColorSelectorComponentIndex) { case H_COMPONENT: hComponent = y; @@ -237,7 +237,7 @@ void GradientSelection::slotZColorSelectorPosChanged(int y) { rgbColor.setHsv(hComponent, sComponent, vComponent); color.setComponents(rgbColor.red(), rgbColor.green(), rgbColor.blue()); updateXyColorSelector(false); - if(tqrepaintZColorSelector) + if(repaintZColorSelector) updateZColorSelector(); emit valueChanged(&color); } diff --git a/kcoloredit/paletteviewscrolledarea.cpp b/kcoloredit/paletteviewscrolledarea.cpp index e6d26a20..f6aa47cb 100644 --- a/kcoloredit/paletteviewscrolledarea.cpp +++ b/kcoloredit/paletteviewscrolledarea.cpp @@ -73,10 +73,10 @@ void PaletteViewScrolledArea::slotViewColorNames(bool viewColorNames) { void PaletteViewScrolledArea::redraw() { //setCellsSizes(); - tqrepaintPalette(); + repaintPalette(); } -void PaletteViewScrolledArea::tqrepaintPalette() { +void PaletteViewScrolledArea::repaintPalette() { tqrepaint(false); } @@ -106,7 +106,7 @@ void PaletteViewScrolledArea::slotScrollTimeout() { else setSelection(selectionEnd, selectionBegin); checkSelectionAutoScroll(cursorPoint.y()); - tqrepaintPalette(); + repaintPalette(); } } diff --git a/kcoloredit/paletteviewscrolledarea.h b/kcoloredit/paletteviewscrolledarea.h index 8e69a354..9f708b85 100644 --- a/kcoloredit/paletteviewscrolledarea.h +++ b/kcoloredit/paletteviewscrolledarea.h @@ -42,7 +42,7 @@ public: TQScrollBar* hScrollBar, KColorEditView* view, TQWidget* tqparent = 0, const char* name = 0); ~PaletteViewScrolledArea(); - /** Sets cells sizes and then calls tqrepaintPalette() */ + /** Sets cells sizes and then calls repaintPalette() */ void redraw(); public slots: @@ -106,8 +106,8 @@ protected: * visible area width */ void setCellsSizes(); - /** tqrepaints the palette */ - void tqrepaintPalette(); + /** repaints the palette */ + void repaintPalette(); /** @return A color index at a given position, -1 if none */ int colorIndex(const TQPoint& point) const; /** @return A color at a given position */ diff --git a/kiconedit/kicongrid.h b/kiconedit/kicongrid.h index 3ef73690..10e75a6f 100644 --- a/kiconedit/kicongrid.h +++ b/kiconedit/kicongrid.h @@ -80,7 +80,7 @@ class RepaintCommand : public KCommand { } TQString name() const { - return "tqrepainted"; + return "repainted"; } protected: KIconEditGrid* grid; diff --git a/kolourpaint/kpdocumentsaveoptionswidget.cpp b/kolourpaint/kpdocumentsaveoptionswidget.cpp index 223bac5a..4309fbf1 100644 --- a/kolourpaint/kpdocumentsaveoptionswidget.cpp +++ b/kolourpaint/kpdocumentsaveoptionswidget.cpp @@ -705,11 +705,11 @@ void kpDocumentSaveOptionsWidget::setMode (Mode mode) // we change the height of "this", causing the text on the labels // to move but the first instance of the text doesn't get erased. // TQt bug. - TQTimer::singleShot (0, this, TQT_SLOT (tqrepaintLabels ())); + TQTimer::singleShot (0, this, TQT_SLOT (repaintLabels ())); } // protected slot -void kpDocumentSaveOptionsWidget::tqrepaintLabels () +void kpDocumentSaveOptionsWidget::repaintLabels () { if (mode () != Quality) m_colorDepthLabel->tqrepaint (); diff --git a/kolourpaint/kpdocumentsaveoptionswidget.h b/kolourpaint/kpdocumentsaveoptionswidget.h index a01e8784..49d4bc20 100644 --- a/kolourpaint/kpdocumentsaveoptionswidget.h +++ b/kolourpaint/kpdocumentsaveoptionswidget.h @@ -161,7 +161,7 @@ protected: void setMode (Mode mode); protected slots: - void tqrepaintLabels (); + void repaintLabels (); protected slots: diff --git a/kolourpaint/kpview.h b/kolourpaint/kpview.h index 66471489..44674123 100644 --- a/kolourpaint/kpview.h +++ b/kolourpaint/kpview.h @@ -344,10 +344,10 @@ protected: public: /** * Adds a region (in view coordinates) to the dirty area that is - * tqrepainted when the tqparent @ref kpViewManager is set not to queue + * repainted when the tqparent @ref kpViewManager is set not to queue * updates. * - * @param region Region (in view coordinates) that needs tqrepainting. + * @param region Region (in view coordinates) that needs repainting. */ void addToQueuedArea (const TQRegion ®ion); @@ -355,10 +355,10 @@ public: * Convenience function. Same as above. * * Adds a rectangle (in view coordinates) to the dirty area that is - * tqrepainted when the tqparent @ref kpViewManager is set not to queue + * repainted when the tqparent @ref kpViewManager is set not to queue * updates. * - * @param rect Rectangle (in view coordinates) that needs tqrepainting. + * @param rect Rectangle (in view coordinates) that needs repainting. */ void addToQueuedArea (const TQRect &rect); diff --git a/kolourpaint/kpviewmanager.h b/kolourpaint/kpviewmanager.h index db2724ce..be3e3065 100644 --- a/kolourpaint/kpviewmanager.h +++ b/kolourpaint/kpviewmanager.h @@ -157,7 +157,7 @@ public: // // This is better than TQWidget::setUpdatesEnabled() because // restoreQueueUpdates() automatically restores only the regions - // of the views that need to be tqrepainted, per view. + // of the views that need to be repainted, per view. bool queueUpdates () const; void setQueueUpdates (); void restoreQueueUpdates (); diff --git a/kolourpaint/kpviewscrollablecontainer.cpp b/kolourpaint/kpviewscrollablecontainer.cpp index feeb5a1b..7ffecf92 100644 --- a/kolourpaint/kpviewscrollablecontainer.cpp +++ b/kolourpaint/kpviewscrollablecontainer.cpp @@ -644,7 +644,7 @@ TQRect kpViewScrollableContainer::mapViewToGlobal (const TQRect &viewRect) // protected -void kpViewScrollableContainer::tqrepaintWidgetAtResizeLineViewRect ( +void kpViewScrollableContainer::repaintWidgetAtResizeLineViewRect ( TQWidget *widget, const TQRect &resizeLineViewRect) { const TQRect resizeLineGlobalRect = mapViewToGlobal (resizeLineViewRect); @@ -668,11 +668,11 @@ void kpViewScrollableContainer::tqrepaintWidgetAtResizeLineViewRect ( } // protected -void kpViewScrollableContainer::tqrepaintWidgetAtResizeLines (TQWidget *widget) +void kpViewScrollableContainer::repaintWidgetAtResizeLines (TQWidget *widget) { - tqrepaintWidgetAtResizeLineViewRect (widget, rightResizeLineRect ()); - tqrepaintWidgetAtResizeLineViewRect (widget, bottomResizeLineRect ()); - tqrepaintWidgetAtResizeLineViewRect (widget, bottomRightResizeLineRect ()); + repaintWidgetAtResizeLineViewRect (widget, rightResizeLineRect ()); + repaintWidgetAtResizeLineViewRect (widget, bottomResizeLineRect ()); + repaintWidgetAtResizeLineViewRect (widget, bottomRightResizeLineRect ()); } // protected @@ -680,12 +680,12 @@ void kpViewScrollableContainer::eraseResizeLines () { if (m_resizeRoundedLastViewX >= 0 && m_resizeRoundedLastViewY >= 0) { - tqrepaintWidgetAtResizeLines (viewport ()); - tqrepaintWidgetAtResizeLines (m_view); + repaintWidgetAtResizeLines (viewport ()); + repaintWidgetAtResizeLines (m_view); - tqrepaintWidgetAtResizeLines (m_bottomGrip); - tqrepaintWidgetAtResizeLines (m_rightGrip); - tqrepaintWidgetAtResizeLines (m_bottomRightGrip); + repaintWidgetAtResizeLines (m_bottomGrip); + repaintWidgetAtResizeLines (m_rightGrip); + repaintWidgetAtResizeLines (m_bottomRightGrip); } } diff --git a/kolourpaint/kpviewscrollablecontainer.h b/kolourpaint/kpviewscrollablecontainer.h index 08f79b1e..a41b85dd 100644 --- a/kolourpaint/kpviewscrollablecontainer.h +++ b/kolourpaint/kpviewscrollablecontainer.h @@ -171,9 +171,9 @@ protected: TQRect mapViewportToGlobal (const TQRect &viewportRect); TQRect mapViewToGlobal (const TQRect &viewRect); - void tqrepaintWidgetAtResizeLineViewRect (TQWidget *widget, + void repaintWidgetAtResizeLineViewRect (TQWidget *widget, const TQRect &resizeLineViewRect); - void tqrepaintWidgetAtResizeLines (TQWidget *widget); + void repaintWidgetAtResizeLines (TQWidget *widget); void eraseResizeLines (); void drawResizeLines (); diff --git a/kolourpaint/patches/doc_resize_no_flicker.diff b/kolourpaint/patches/doc_resize_no_flicker.diff index 3e763f95..821d418e 100644 --- a/kolourpaint/patches/doc_resize_no_flicker.diff +++ b/kolourpaint/patches/doc_resize_no_flicker.diff @@ -117,9 +117,9 @@ diff -u -p -r1.7 kpviewscrollablecontainer.cpp + // protected --void kpViewScrollableContainer::tqrepaintWidgetAtResizeLineViewRect ( +-void kpViewScrollableContainer::repaintWidgetAtResizeLineViewRect ( - QWidget *widget, const QRect &resizeLineViewRect) -+void kpViewScrollableContainer::tqrepaintWidgetRegion ( ++void kpViewScrollableContainer::repaintWidgetRegion ( + QWidget *widget, + const QRegion &viewRegion) { @@ -153,12 +153,12 @@ diff -u -p -r1.7 kpviewscrollablecontainer.cpp } // protected --void kpViewScrollableContainer::tqrepaintWidgetAtResizeLines (QWidget *widget) +-void kpViewScrollableContainer::repaintWidgetAtResizeLines (QWidget *widget) +void kpViewScrollableContainer::eraseResizeLines (const QRegion &viewRegion) { -- tqrepaintWidgetAtResizeLineViewRect (widget, rightResizeLineRect ()); -- tqrepaintWidgetAtResizeLineViewRect (widget, bottomResizeLineRect ()); -- tqrepaintWidgetAtResizeLineViewRect (widget, bottomRightResizeLineRect ()); +- repaintWidgetAtResizeLineViewRect (widget, rightResizeLineRect ()); +- repaintWidgetAtResizeLineViewRect (widget, bottomResizeLineRect ()); +- repaintWidgetAtResizeLineViewRect (widget, bottomRightResizeLineRect ()); -} + if (viewRegion.isEmpty ()) + return; @@ -168,19 +168,19 @@ diff -u -p -r1.7 kpviewscrollablecontainer.cpp -{ - if (m_resizeRoundedLastViewX >= 0 && m_resizeRoundedLastViewY >= 0) - { -- tqrepaintWidgetAtResizeLines (viewport ()); -- tqrepaintWidgetAtResizeLines (m_view); +- repaintWidgetAtResizeLines (viewport ()); +- repaintWidgetAtResizeLines (m_view); -- tqrepaintWidgetAtResizeLines (m_bottomGrip); -- tqrepaintWidgetAtResizeLines (m_rightGrip); -- tqrepaintWidgetAtResizeLines (m_bottomRightGrip); +- repaintWidgetAtResizeLines (m_bottomGrip); +- repaintWidgetAtResizeLines (m_rightGrip); +- repaintWidgetAtResizeLines (m_bottomRightGrip); - } -+ tqrepaintWidgetRegion (viewport (), viewRegion); -+ tqrepaintWidgetRegion (m_view, viewRegion); ++ repaintWidgetRegion (viewport (), viewRegion); ++ repaintWidgetRegion (m_view, viewRegion); + -+ tqrepaintWidgetRegion (m_bottomGrip, viewRegion); -+ tqrepaintWidgetRegion (m_rightGrip, viewRegion); -+ tqrepaintWidgetRegion (m_bottomRightGrip, viewRegion); ++ repaintWidgetRegion (m_bottomGrip, viewRegion); ++ repaintWidgetRegion (m_rightGrip, viewRegion); ++ repaintWidgetRegion (m_bottomRightGrip, viewRegion); } @@ -502,11 +502,11 @@ diff -u -p -r1.3 kpviewscrollablecontainer.h QRect mapViewToGlobal (const QRect &viewRect); + QRegion mapViewToGlobal (const QRegion &viewRegion); -- void tqrepaintWidgetAtResizeLineViewRect (QWidget *widget, +- void repaintWidgetAtResizeLineViewRect (QWidget *widget, - const QRect &resizeLineViewRect); -- void tqrepaintWidgetAtResizeLines (QWidget *widget); +- void repaintWidgetAtResizeLines (QWidget *widget); - void eraseResizeLines (); -+ void tqrepaintWidgetRegion (QWidget *widget, ++ void repaintWidgetRegion (QWidget *widget, + const QRegion &viewRegion); + void eraseResizeLines (const QRegion &viewRegion); diff --git a/kolourpaint/pixmapfx/kpeffectbalance.cpp b/kolourpaint/pixmapfx/kpeffectbalance.cpp index c19c352b..8f07a26e 100644 --- a/kolourpaint/pixmapfx/kpeffectbalance.cpp +++ b/kolourpaint/pixmapfx/kpeffectbalance.cpp @@ -499,7 +499,7 @@ void kpEffectBalanceWidget::resetAll () return; // Prevent multiple settingsChanged() which would normally result in - // redundant, expensive preview tqrepaints + // redundant, expensive preview repaints blockSignals (true); resetBrightness (); diff --git a/kooka/kookaview.cpp b/kooka/kookaview.cpp index fb0d57fc..71004040 100644 --- a/kooka/kookaview.cpp +++ b/kooka/kookaview.cpp @@ -564,7 +564,7 @@ void KookaView::startOCR( KookaImage *img ) connect( ocrFabric, TQT_SIGNAL( newOCRResultText( const TQString& )), m_dockOCRText, TQT_SLOT( show() )); - connect( ocrFabric, TQT_SIGNAL( tqrepaintOCRResImage( )), + connect( ocrFabric, TQT_SIGNAL( repaintOCRResImage( )), img_canvas, TQT_SLOT(tqrepaint())); connect( ocrFabric, TQT_SIGNAL( clearOCRResultText()), diff --git a/kooka/ksaneocr.cpp b/kooka/ksaneocr.cpp index 709b1f1f..9e687ff5 100644 --- a/kooka/ksaneocr.cpp +++ b/kooka/ksaneocr.cpp @@ -1328,7 +1328,7 @@ void KSANEOCR::slMisspelling( const TQString& originalword, const TQStringList& /* draw a line under the word to check */ /* copy the source */ - emit tqrepaintOCRResImage(); + emit repaintOCRResImage(); } else { diff --git a/kooka/ksaneocr.h b/kooka/ksaneocr.h index 4996819a..670c410b 100644 --- a/kooka/ksaneocr.h +++ b/kooka/ksaneocr.h @@ -162,7 +162,7 @@ signals: /** * signal the tells that the result image was modified. */ - void tqrepaintOCRResImage( ); + void repaintOCRResImage( ); /** * indicates that the text editor holding the text that came through diff --git a/kpovmodeler/pmcolorsettings.cpp b/kpovmodeler/pmcolorsettings.cpp index 2b444407..fbcb2066 100644 --- a/kpovmodeler/pmcolorsettings.cpp +++ b/kpovmodeler/pmcolorsettings.cpp @@ -157,7 +157,7 @@ void PMColorSettings::applySettings( ) tqrepaint = true; } if( tqrepaint ) - emit tqrepaintViews( ); + emit repaintViews( ); } #include "pmcolorsettings.moc" diff --git a/kpovmodeler/pmglview.h b/kpovmodeler/pmglview.h index 48537b20..036ce5f5 100644 --- a/kpovmodeler/pmglview.h +++ b/kpovmodeler/pmglview.h @@ -351,7 +351,7 @@ private: */ void selectControlPoint( PMControlPoint* cp, bool select, bool deselectOthers = true ); /** - * Invalidates the projection and tqrepaints the view + * Invalidates the projection and repaints the view */ void tqinvalidateProjection( bool graphicaChange = false ); diff --git a/kpovmodeler/pmgridsettings.cpp b/kpovmodeler/pmgridsettings.cpp index 60803cd9..e13e303f 100644 --- a/kpovmodeler/pmgridsettings.cpp +++ b/kpovmodeler/pmgridsettings.cpp @@ -149,7 +149,7 @@ void PMGridSettings::applySettings( ) PMControlPoint::setScaleGrid( m_pScaleGrid->value( ) ); PMControlPoint::setRotateGrid( m_pRotateGrid->value( ) ); if( tqrepaint ) - emit tqrepaintViews( ); + emit repaintViews( ); } #include "pmgridsettings.moc" diff --git a/kpovmodeler/pmobjectsettings.cpp b/kpovmodeler/pmobjectsettings.cpp index 50cc1356..b02efbb8 100644 --- a/kpovmodeler/pmobjectsettings.cpp +++ b/kpovmodeler/pmobjectsettings.cpp @@ -544,7 +544,7 @@ void PMObjectSettings::applySettings( ) tqrepaint = true; } if( tqrepaint ) - emit tqrepaintViews( ); + emit repaintViews( ); } #include "pmobjectsettings.moc" diff --git a/kpovmodeler/pmpovraysettings.cpp b/kpovmodeler/pmpovraysettings.cpp index a6828cbb..59ed9a71 100644 --- a/kpovmodeler/pmpovraysettings.cpp +++ b/kpovmodeler/pmpovraysettings.cpp @@ -180,7 +180,7 @@ void PMPovraySettings::applySettings( ) PMPovrayRenderWidget::setPovrayLibraryPaths( plist ); PMResourceLocator::clearCache( ); PMText::povrayLibraryPathsChanged( ); - emit tqrepaintViews( ); + emit repaintViews( ); } } diff --git a/kpovmodeler/pmsettingsdialog.cpp b/kpovmodeler/pmsettingsdialog.cpp index dc224d9d..bb747701 100644 --- a/kpovmodeler/pmsettingsdialog.cpp +++ b/kpovmodeler/pmsettingsdialog.cpp @@ -229,7 +229,7 @@ void PMSettingsDialog::registerPage( TQWidget* topPage, else { m_pages.push_back( PMRegisteredSettingsPage( topPage, page, i ) ); - connect( page, TQT_SIGNAL( tqrepaintViews( ) ), TQT_SLOT( slotRepaint( ) ) ); + connect( page, TQT_SIGNAL( repaintViews( ) ), TQT_SLOT( slotRepaint( ) ) ); connect( page, TQT_SIGNAL( showMe( ) ), TQT_SLOT( slotShowPage( ) ) ); } } diff --git a/kpovmodeler/pmsettingsdialog.h b/kpovmodeler/pmsettingsdialog.h index adbcdb97..fb862811 100644 --- a/kpovmodeler/pmsettingsdialog.h +++ b/kpovmodeler/pmsettingsdialog.h @@ -89,7 +89,7 @@ signals: * Emit this signal if a parameter was changed * that influences the wire frame rendering. */ - void tqrepaintViews( ); + void repaintViews( ); /** * Tells the settings dialog to show this page. */ diff --git a/kpovmodeler/pmtreeview.cpp b/kpovmodeler/pmtreeview.cpp index cbedabdc..07fa308a 100644 --- a/kpovmodeler/pmtreeview.cpp +++ b/kpovmodeler/pmtreeview.cpp @@ -324,7 +324,7 @@ void PMTreeView::slotClear( ) void PMTreeView::itemSelected( PMTreeViewItem* item, bool selected ) { - tqrepaintItem( item ); + repaintItem( item ); if( m_event ) { diff --git a/kpovmodeler/pmvectorlistedit.h b/kpovmodeler/pmvectorlistedit.h index d84334a4..e00190f8 100644 --- a/kpovmodeler/pmvectorlistedit.h +++ b/kpovmodeler/pmvectorlistedit.h @@ -137,7 +137,7 @@ public: void select( int i, int j ); /** * Blocks/unblocks selection updates. If block is false, the - * selection is tqrepainted. + * selection is repainted. */ void blockSelectionUpdates( bool block ); 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&);