From dcb06497ea70d050554422eec10b0756d926a5c0 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/kdeedu@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalzium/src/kalziumtip.h | 2 +- kbruch/src/fractionbasewidget.h | 2 +- khangman/khangman/khangmanview.cpp | 2 +- kstars/kstars/skymap.h | 6 +++--- kstars/kstars/skymapevents.cpp | 2 +- ktouch/src/ktouchkeyboardwidget.h | 2 +- kverbos/kverbos/kverbosdoc.h | 2 +- kvoctrain/kvoctrain/kvoctraintable.cpp | 2 +- kwordquiz/src/kwordquizdoc.cpp | 2 +- kwordquiz/src/kwordquizdoc.h | 2 +- kwordquiz/src/kwordquizview.cpp | 4 ++-- libkdeedu/extdate/extdatetbl.cpp | 8 ++++---- 12 files changed, 18 insertions(+), 18 deletions(-) diff --git a/kalzium/src/kalziumtip.h b/kalzium/src/kalziumtip.h index 79923bd0..8c7b063a 100644 --- a/kalzium/src/kalziumtip.h +++ b/kalzium/src/kalziumtip.h @@ -80,7 +80,7 @@ class KalziumTip : public TQWidget int m_dissolveDelta; TQTimer m_frameTimer; //timer for the dissolve effect - bool m_dirty; //indicates tqrepainting the tooltip internal + bool m_dirty; //indicates repainting the tooltip internal const Element* m_tippedElement; //the element the tip is about }; diff --git a/kbruch/src/fractionbasewidget.h b/kbruch/src/fractionbasewidget.h index 942c2780..74041c4f 100644 --- a/kbruch/src/fractionbasewidget.h +++ b/kbruch/src/fractionbasewidget.h @@ -45,7 +45,7 @@ public: /** destructor */ ~FractionBaseWidget(); - /** updates the widget by first getting the settings and then tqrepainting */ + /** updates the widget by first getting the settings and then repainting */ void updateAndRepaint(); protected: diff --git a/khangman/khangman/khangmanview.cpp b/khangman/khangman/khangmanview.cpp index f4165258..82dd4485 100644 --- a/khangman/khangman/khangmanview.cpp +++ b/khangman/khangman/khangmanview.cpp @@ -234,7 +234,7 @@ void KHangManView::setTheme() void KHangManView::paintEvent( TQPaintEvent * ) { // This pixmap implements double buffering to remove all forms of - // flicker in the tqrepainting. + // flicker in the repainting. TQPixmap buf(width(), height()); // Repaint the contents of the khangman view into the pixmap. diff --git a/kstars/kstars/skymap.h b/kstars/kstars/skymap.h index 1a6acf0d..22843b14 100644 --- a/kstars/kstars/skymap.h +++ b/kstars/kstars/skymap.h @@ -164,7 +164,7 @@ public: *@note setDestination() emits the destinationChanged() SIGNAL, *which triggers the TQT_SLOT function SkyMap::slewFocus(). This *function iteratively steps the Focus point toward Destination, - *tqrepainting the sky at each step (if Options::useAnimatedSlewing()==true). + *repainting the sky at each step (if Options::useAnimatedSlewing()==true). *@param f a pointer to the SkyPoint the map should slew to */ void setDestination( SkyPoint *f ); @@ -407,7 +407,7 @@ public slots: */ virtual void setGeometry( const TQRect &r ); -/**Recalculates the positions of objects in the sky, and then tqrepaints the sky map. +/**Recalculates the positions of objects in the sky, and then repaints the sky map. *If the positions don't need to be recalculated, use update() instead of forceUpdate(). *This saves a lot of CPU time. *@param now if true, paintEvent() is run immediately. Otherwise, it is added to the event queue @@ -920,7 +920,7 @@ private: bool mouseButtonDown, midMouseButtonDown; bool mouseMoveCursor; // true if mouseMoveEvent; needed by setMouseMoveCursor bool slewing, clockSlewing; - bool computeSkymap; //if false only old pixmap will tqrepainted with bitBlt(), this saves a lot of cpu usage + bool computeSkymap; //if false only old pixmap will repainted with bitBlt(), this saves a lot of cpu usage bool angularDistanceMode; int idSolInfo, idMessHST, idMoonInfo, idMoonImages, idMessInfo, idNGCHST; int scrollCount; diff --git a/kstars/kstars/skymapevents.cpp b/kstars/kstars/skymapevents.cpp index 60e90a14..b1ff92b9 100644 --- a/kstars/kstars/skymapevents.cpp +++ b/kstars/kstars/skymapevents.cpp @@ -733,7 +733,7 @@ void SkyMap::paintEvent( TQPaintEvent * ) *sky2 = *sky; drawOverlays( sky2 ); bitBlt( this, 0, 0, sky2 ); - return ; // exit because the pixmap is tqrepainted and that's all what we want + return ; // exit because the pixmap is repainted and that's all what we want } TQPainter psky; diff --git a/ktouch/src/ktouchkeyboardwidget.h b/ktouch/src/ktouchkeyboardwidget.h index a31497ad..c75775ae 100644 --- a/ktouch/src/ktouchkeyboardwidget.h +++ b/ktouch/src/ktouchkeyboardwidget.h @@ -35,7 +35,7 @@ class KURL; * resizing, that means the recalculation of m_shift is * done in the resizeEvent() member function.

* The state of keyboard and keys does not change while it is - * tqrepainted or resized. Only when a new character has been typed + * repainted or resized. Only when a new character has been typed * and the newKey() slot is called the state changes (and thus the * activated keys and finger key animations etc.) */ diff --git a/kverbos/kverbos/kverbosdoc.h b/kverbos/kverbos/kverbosdoc.h index b419c300..20e5753d 100644 --- a/kverbos/kverbos/kverbosdoc.h +++ b/kverbos/kverbos/kverbosdoc.h @@ -142,7 +142,7 @@ class KVerbosDoc : public TQObject public slots: /** * calls tqrepaint() on all views connected to the document object and is called by the view by which the document has been changed. - * As this view normally tqrepaints itself, it is excluded from the paintEvent. + * As this view normally repaints itself, it is excluded from the paintEvent. */ void slotUpdateAllViews(KVerbosView *sender); diff --git a/kvoctrain/kvoctrain/kvoctraintable.cpp b/kvoctrain/kvoctrain/kvoctraintable.cpp index 1dbfacc2..3f553cca 100644 --- a/kvoctrain/kvoctrain/kvoctraintable.cpp +++ b/kvoctrain/kvoctrain/kvoctraintable.cpp @@ -141,7 +141,7 @@ void KVocTrainTable::sortByColumn(int header, bool alpha) { sortdir = m_doc->sortByLesson_index(); } horizontalHeader()->setSortIndicator(header, sortdir); - tqrepaintContents(); + repaintContents(); m_doc->setModified(); emit currentChanged(currentRow(), currentColumn()); TQApplication::restoreOverrideCursor(); diff --git a/kwordquiz/src/kwordquizdoc.cpp b/kwordquiz/src/kwordquizdoc.cpp index 9325c5bb..c8c6cdd7 100644 --- a/kwordquiz/src/kwordquizdoc.cpp +++ b/kwordquiz/src/kwordquizdoc.cpp @@ -317,7 +317,7 @@ bool KWordQuizDoc::openDocument(const KURL& url, bool append, int index) } g->setUpdatesEnabled(true); - g->tqrepaintContents(); + g->repaintContents(); } modified=false; if (append) diff --git a/kwordquiz/src/kwordquizdoc.h b/kwordquiz/src/kwordquizdoc.h index 724b8f61..73b0db0d 100644 --- a/kwordquiz/src/kwordquizdoc.h +++ b/kwordquiz/src/kwordquizdoc.h @@ -77,7 +77,7 @@ class KWordQuizDoc : public TQObject public slots: /** calls tqrepaint() on all views connected to the document object and is called by the view by which the document has been changed. - * As this view normally tqrepaints itself, it is excluded from the paintEvent. + * As this view normally repaints itself, it is excluded from the paintEvent. */ void slotUpdateAllViews(KWordQuizView *sender); void slotModifiedOnDisk(const TQString &); diff --git a/kwordquiz/src/kwordquizview.cpp b/kwordquiz/src/kwordquizview.cpp index 6db0f3a9..568b23fd 100644 --- a/kwordquiz/src/kwordquizview.cpp +++ b/kwordquiz/src/kwordquizview.cpp @@ -555,7 +555,7 @@ void KWordQuizView::doEditInsert( ) addSelection(TQTableSelection(m_currentSel.topRow(), m_currentSel.leftCol(), m_currentSel.bottomRow(), m_currentSel.rightCol())); setCurrentCell(m_currentRow, m_currentCol); setUpdatesEnabled(true); - tqrepaintContents(); + repaintContents(); getDocument()->setModified(true); } @@ -805,7 +805,7 @@ void KWordQuizView::doVocabShuffle( ) addSelection(TQTableSelection(m_currentSel.topRow(), m_currentSel.leftCol(), m_currentSel.bottomRow(), m_currentSel.rightCol())); setCurrentCell(m_currentRow, m_currentCol); setUpdatesEnabled(true); - tqrepaintContents(); + repaintContents(); getDocument()->setModified(true); } diff --git a/libkdeedu/extdate/extdatetbl.cpp b/libkdeedu/extdate/extdatetbl.cpp index 91f14395..b2baa47c 100644 --- a/libkdeedu/extdate/extdatetbl.cpp +++ b/libkdeedu/extdate/extdatetbl.cpp @@ -494,7 +494,7 @@ ExtDateTable::setDate(const ExtDate& date_) numDaysPrevMonth=d->calendar->daysInMonth(temp); if(changed) { - tqrepaintContents(false); + repaintContents(false); } return true; } @@ -505,16 +505,16 @@ ExtDateTable::getDate() const return date; } -// what are those tqrepaintContents() good for? (pfeiffer) +// what are those repaintContents() good for? (pfeiffer) void ExtDateTable::focusInEvent( TQFocusEvent *e ) { -// tqrepaintContents(false); +// repaintContents(false); TQGridView::focusInEvent( e ); } void ExtDateTable::focusOutEvent( TQFocusEvent *e ) { -// tqrepaintContents(false); +// repaintContents(false); TQGridView::focusOutEvent( e ); } -- cgit v1.2.1