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
v3.5.13-sru
tpearson 13 years ago
parent 878c5b9a5d
commit dcb06497ea

@ -80,7 +80,7 @@ class KalziumTip : public TQWidget
int m_dissolveDelta; int m_dissolveDelta;
TQTimer m_frameTimer; //timer for the dissolve effect 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 const Element* m_tippedElement; //the element the tip is about
}; };

@ -45,7 +45,7 @@ public:
/** destructor */ /** destructor */
~FractionBaseWidget(); ~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(); void updateAndRepaint();
protected: protected:

@ -234,7 +234,7 @@ void KHangManView::setTheme()
void KHangManView::paintEvent( TQPaintEvent * ) void KHangManView::paintEvent( TQPaintEvent * )
{ {
// This pixmap implements double buffering to remove all forms of // This pixmap implements double buffering to remove all forms of
// flicker in the tqrepainting. // flicker in the repainting.
TQPixmap buf(width(), height()); TQPixmap buf(width(), height());
// Repaint the contents of the khangman view into the pixmap. // Repaint the contents of the khangman view into the pixmap.

@ -164,7 +164,7 @@ public:
*@note setDestination() emits the destinationChanged() SIGNAL, *@note setDestination() emits the destinationChanged() SIGNAL,
*which triggers the TQT_SLOT function SkyMap::slewFocus(). This *which triggers the TQT_SLOT function SkyMap::slewFocus(). This
*function iteratively steps the Focus point toward Destination, *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 *@param f a pointer to the SkyPoint the map should slew to
*/ */
void setDestination( SkyPoint *f ); void setDestination( SkyPoint *f );
@ -407,7 +407,7 @@ public slots:
*/ */
virtual void setGeometry( const TQRect &r ); 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(). *If the positions don't need to be recalculated, use update() instead of forceUpdate().
*This saves a lot of CPU time. *This saves a lot of CPU time.
*@param now if true, paintEvent() is run immediately. Otherwise, it is added to the event queue *@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 mouseButtonDown, midMouseButtonDown;
bool mouseMoveCursor; // true if mouseMoveEvent; needed by setMouseMoveCursor bool mouseMoveCursor; // true if mouseMoveEvent; needed by setMouseMoveCursor
bool slewing, clockSlewing; 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; bool angularDistanceMode;
int idSolInfo, idMessHST, idMoonInfo, idMoonImages, idMessInfo, idNGCHST; int idSolInfo, idMessHST, idMoonInfo, idMoonImages, idMessInfo, idNGCHST;
int scrollCount; int scrollCount;

@ -733,7 +733,7 @@ void SkyMap::paintEvent( TQPaintEvent * )
*sky2 = *sky; *sky2 = *sky;
drawOverlays( sky2 ); drawOverlays( sky2 );
bitBlt( this, 0, 0, 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; TQPainter psky;

@ -35,7 +35,7 @@ class KURL;
* resizing, that means the recalculation of m_shift is * resizing, that means the recalculation of m_shift is
* done in the resizeEvent() member function.<p> * done in the resizeEvent() member function.<p>
* The state of keyboard and keys does not change while it is * 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 * and the newKey() slot is called the state changes (and thus the
* activated keys and finger key animations etc.) * activated keys and finger key animations etc.)
*/ */

@ -142,7 +142,7 @@ class KVerbosDoc : public TQObject
public slots: 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. * 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); void slotUpdateAllViews(KVerbosView *sender);

@ -141,7 +141,7 @@ void KVocTrainTable::sortByColumn(int header, bool alpha) {
sortdir = m_doc->sortByLesson_index(); sortdir = m_doc->sortByLesson_index();
} }
horizontalHeader()->setSortIndicator(header, sortdir); horizontalHeader()->setSortIndicator(header, sortdir);
tqrepaintContents(); repaintContents();
m_doc->setModified(); m_doc->setModified();
emit currentChanged(currentRow(), currentColumn()); emit currentChanged(currentRow(), currentColumn());
TQApplication::restoreOverrideCursor(); TQApplication::restoreOverrideCursor();

@ -317,7 +317,7 @@ bool KWordQuizDoc::openDocument(const KURL& url, bool append, int index)
} }
g->setUpdatesEnabled(true); g->setUpdatesEnabled(true);
g->tqrepaintContents(); g->repaintContents();
} }
modified=false; modified=false;
if (append) if (append)

@ -77,7 +77,7 @@ class KWordQuizDoc : public TQObject
public slots: 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. /** 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 slotUpdateAllViews(KWordQuizView *sender);
void slotModifiedOnDisk(const TQString &); void slotModifiedOnDisk(const TQString &);

@ -555,7 +555,7 @@ void KWordQuizView::doEditInsert( )
addSelection(TQTableSelection(m_currentSel.topRow(), m_currentSel.leftCol(), m_currentSel.bottomRow(), m_currentSel.rightCol())); addSelection(TQTableSelection(m_currentSel.topRow(), m_currentSel.leftCol(), m_currentSel.bottomRow(), m_currentSel.rightCol()));
setCurrentCell(m_currentRow, m_currentCol); setCurrentCell(m_currentRow, m_currentCol);
setUpdatesEnabled(true); setUpdatesEnabled(true);
tqrepaintContents(); repaintContents();
getDocument()->setModified(true); getDocument()->setModified(true);
} }
@ -805,7 +805,7 @@ void KWordQuizView::doVocabShuffle( )
addSelection(TQTableSelection(m_currentSel.topRow(), m_currentSel.leftCol(), m_currentSel.bottomRow(), m_currentSel.rightCol())); addSelection(TQTableSelection(m_currentSel.topRow(), m_currentSel.leftCol(), m_currentSel.bottomRow(), m_currentSel.rightCol()));
setCurrentCell(m_currentRow, m_currentCol); setCurrentCell(m_currentRow, m_currentCol);
setUpdatesEnabled(true); setUpdatesEnabled(true);
tqrepaintContents(); repaintContents();
getDocument()->setModified(true); getDocument()->setModified(true);
} }

@ -494,7 +494,7 @@ ExtDateTable::setDate(const ExtDate& date_)
numDaysPrevMonth=d->calendar->daysInMonth(temp); numDaysPrevMonth=d->calendar->daysInMonth(temp);
if(changed) if(changed)
{ {
tqrepaintContents(false); repaintContents(false);
} }
return true; return true;
} }
@ -505,16 +505,16 @@ ExtDateTable::getDate() const
return date; return date;
} }
// what are those tqrepaintContents() good for? (pfeiffer) // what are those repaintContents() good for? (pfeiffer)
void ExtDateTable::focusInEvent( TQFocusEvent *e ) void ExtDateTable::focusInEvent( TQFocusEvent *e )
{ {
// tqrepaintContents(false); // repaintContents(false);
TQGridView::focusInEvent( e ); TQGridView::focusInEvent( e );
} }
void ExtDateTable::focusOutEvent( TQFocusEvent *e ) void ExtDateTable::focusOutEvent( TQFocusEvent *e )
{ {
// tqrepaintContents(false); // repaintContents(false);
TQGridView::focusOutEvent( e ); TQGridView::focusOutEvent( e );
} }

Loading…
Cancel
Save