Rename incorrect instances of tqrepaint[...] to repaint[...]

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent ce8f3aee00
commit f949c4652e

@ -227,7 +227,7 @@ void QtTableView::show()
At present, QtTableView is the only widget that reimplements \link
TQWidget::tqrepaint() tqrepaint()\endlink. It does this because by
clearing and then tqrepainting one cell at at time, it can make the
clearing and then repainting one cell at at time, it can make the
screen flicker less than it would otherwise. */
void QtTableView::tqrepaint( int x, int y, int w, int h, bool erase )
@ -265,7 +265,7 @@ void QtTableView::tqrepaint( int x, int y, int w, int h, bool erase )
Sets the number of rows of the table to \a rows (must be non-negative).
Does not change topCell().
The table tqrepaints itself automatically if autoUpdate() is set.
The table repaints itself automatically if autoUpdate() is set.
\sa numCols(), setNumCols(), numRows()
*/
@ -307,7 +307,7 @@ void QtTableView::setNumRows( int rows )
Sets the number of columns of the table to \a cols (must be non-negative).
Does not change leftCell().
The table tqrepaints itself automatically if autoUpdate() is set.
The table repaints itself automatically if autoUpdate() is set.
\sa numCols(), numRows(), setNumRows()
*/
@ -717,7 +717,7 @@ int QtTableView::totalHeight()
Sets the table flags to \a f.
If a flag setting changes the appearance of the table, the table is
tqrepainted if - and only if - autoUpdate() is TRUE.
repainted if - and only if - autoUpdate() is TRUE.
The table flags are mostly single bits, though there are some multibit
flags for convenience. Here is a complete list:
@ -786,7 +786,7 @@ void QtTableView::setTableFlags( uint f )
bool updateOn = autoUpdate();
setAutoUpdate( FALSE );
uint tqrepaintMask = Tbl_cutCellsV | Tbl_cutCellsH;
uint repaintMask = Tbl_cutCellsV | Tbl_cutCellsH;
if ( f & Tbl_vScrollBar ) {
setVerScrollBar( TRUE );
@ -817,14 +817,14 @@ void QtTableView::setTableFlags( uint f )
(f & Tbl_snapToVGrid) != 0 && yCellDelta != 0 ) {
snapToGrid( (f & Tbl_snapToHGrid) != 0, // do snapping
(f & Tbl_snapToVGrid) != 0 );
tqrepaintMask |= Tbl_snapToGrid; // tqrepaint table
repaintMask |= Tbl_snapToGrid; // tqrepaint table
}
}
if ( updateOn ) {
setAutoUpdate( TRUE );
updateScrollBars();
if ( isVisible() && (f & tqrepaintMask) )
if ( isVisible() && (f & repaintMask) )
tqrepaint();
}
@ -852,7 +852,7 @@ void QtTableView::clearTableFlags( uint f )
bool updateOn = autoUpdate();
setAutoUpdate( FALSE );
uint tqrepaintMask = Tbl_cutCellsV | Tbl_cutCellsH;
uint repaintMask = Tbl_cutCellsV | Tbl_cutCellsH;
if ( f & Tbl_vScrollBar ) {
setVerScrollBar( FALSE );
@ -864,7 +864,7 @@ void QtTableView::clearTableFlags( uint f )
int maxX = maxXOffset();
if ( xOffs > maxX ) {
setOffset( maxX, yOffs );
tqrepaintMask |= Tbl_scrollLastHCell;
repaintMask |= Tbl_scrollLastHCell;
}
updateScrollBars( horRange );
}
@ -872,7 +872,7 @@ void QtTableView::clearTableFlags( uint f )
int maxY = maxYOffset();
if ( yOffs > maxY ) {
setOffset( xOffs, maxY );
tqrepaintMask |= Tbl_scrollLastVCell;
repaintMask |= Tbl_scrollLastVCell;
}
updateScrollBars( verRange );
}
@ -881,7 +881,7 @@ void QtTableView::clearTableFlags( uint f )
(f & Tbl_smoothVScrolling) != 0 && yCellDelta != 0 ) {
snapToGrid( (f & Tbl_smoothHScrolling) != 0, // do snapping
(f & Tbl_smoothVScrolling) != 0 );
tqrepaintMask |= Tbl_smoothScrolling; // tqrepaint table
repaintMask |= Tbl_smoothScrolling; // tqrepaint table
}
}
if ( f & Tbl_snapToHGrid ) {
@ -893,7 +893,7 @@ void QtTableView::clearTableFlags( uint f )
if ( updateOn ) {
setAutoUpdate( TRUE );
updateScrollBars(); // returns immediately if nothing to do
if ( isVisible() && (f & tqrepaintMask) )
if ( isVisible() && (f & repaintMask) )
tqrepaint();
}
@ -948,7 +948,7 @@ void QtTableView::setAutoUpdate( bool enable )
Repaints the cell at row \a row, column \a col if it is inside the view.
If \a erase is TRUE, the relevant part of the view is cleared to the
background color/pixmap before the contents are tqrepainted.
background color/pixmap before the contents are repainted.
\sa isVisible()
*/
@ -1266,7 +1266,7 @@ void QtTableView::setupPainter( TQPainter * )
/*!
Handles paint events, \a e, for the table view.
Calls paintCell() for the cells that needs to be tqrepainted.
Calls paintCell() for the cells that needs to be repainted.
*/
void QtTableView::paintEvent( TQPaintEvent *e )

@ -432,7 +432,7 @@ void KDisplayText::PaintIn(int type)
// scrollBy(0,qfmetr->lineSpacing());
}
}
if (paint) tqrepaintContents(tmp->r);
if (paint) repaintContents(tmp->r);
}
void KDisplayText::gotomsec(ulong i)

@ -1125,7 +1125,7 @@ void kmidClient::processSpecialEvent()
}
void kmidClient::tqrepaintText(int type)
void kmidClient::repaintText(int type)
{
kdispt->ChangeTypeOfTextEvents(type);
typeoftextevents=type;

@ -117,7 +117,7 @@ public:
int openURL(const TQString s);
void tqrepaintText(int typeoftextevents);
void repaintText(int typeoftextevents);
static void kmidOutput(void);
int ChooseTypeOfTextEvents(void);

@ -316,7 +316,7 @@ void kmidFrame::options_DisplayEvents(int i)
cfg->setGroup("KMid");
cfg->writeEntry("TypeOfTextEvents",(i==0)?1:5);
cfg->sync();
kmidclient->tqrepaintText((i==0)?1:5);
kmidclient->repaintText((i==0)?1:5);
}
void kmidFrame::options_AutomaticText()
@ -514,7 +514,7 @@ void kmidFrame::rechooseTextEvent()
if ((cfg->readNumEntry("AutomaticTextEventChooser",1))==1)
{
int t=kmidclient->ChooseTypeOfTextEvents();
kmidclient->tqrepaintText(t);
kmidclient->repaintText(t);
if (t==1)
((KSelectAction*)actionCollection()->action("display_events"))->setCurrentItem(0);
else

@ -123,7 +123,7 @@ KMixDockWidget::createMasterVolWidget()
m_mixer->readSetFromHWforceUpdate(); // after changing the master device, make sure to re-read (otherwise no "changed()" signals might get sent by the Mixer
/* With the recently introduced TQSocketNotifier stuff, we can't rely on regular timer updates
any longer. Also the readSetFromHWforceUpdate() won't be enough. As a workaround, we trigger
all "tqrepaints" manually here.
all "repaints" manually here.
The call to m_mixer->readSetFromHWforceUpdate() is most likely superfluous, even if we don't use TQSocketNotifier (e.g. in backends OSS, Solaris, ...)
*/
setVolumeTip();

@ -222,7 +222,7 @@ void BW_LED_Number::drawSymbol( TQPainter *p,char ,bool tqrepaint ){
}
}
}
else{ // we are not tqrepainting ourselves due to a tqrepaint event but rather
else{ // we are not repainting ourselves due to a tqrepaint event but rather
// genuinely changing the symbol that is to be displayed
for(int l = 0; l <= NUM_OF_SEGMENTS -1; l++){

@ -142,7 +142,7 @@ void KJFilename::readConfig()
mDistance = 1;
mTimerUpdates = KJLoader::kjofol->prefs()->titleMovingUpdates();
textFont().recalcSysFont();
mLastTitle=""; // tqinvalidate title so it gets tqrepainted on next timeUpdate()
mLastTitle=""; // tqinvalidate title so it gets repainted on next timeUpdate()
}
void KJFilename::prepareString(const TQCString &str)
@ -255,7 +255,7 @@ void KJTime::readConfig()
// kdDebug(66666) << "KJTime::readConfig()" << endl;
countDown = napp->displayRemaining();
timeFont().recalcSysFont();
mLastTime=""; // tqinvalidate time so it gets tqrepainted on next timeUpdate()
mLastTime=""; // tqinvalidate time so it gets repainted on next timeUpdate()
}
TQString KJTime::lengthString ( void )
@ -398,7 +398,7 @@ bool KJVolumeText::mousePress(const TQPoint &)
void KJVolumeText::readConfig()
{
volumeFont().recalcSysFont();
mLastVolume=""; // tqinvalidate value so it gets tqrepainted on next timeUpdate()
mLastVolume=""; // tqinvalidate value so it gets repainted on next timeUpdate()
}
void KJVolumeText::timeUpdate(int)
@ -501,7 +501,7 @@ void KJPitchText::mouseRelease(const TQPoint &, bool in)
void KJPitchText::readConfig()
{
pitchFont().recalcSysFont();
mLastPitch=""; // tqinvalidate value so it gets tqrepainted on next timeUpdate()
mLastPitch=""; // tqinvalidate value so it gets repainted on next timeUpdate()
}
void KJPitchText::timeUpdate(int)
@ -600,7 +600,7 @@ bool KJFileInfo::mousePress(const TQPoint &)
void KJFileInfo::readConfig()
{
textFont().recalcSysFont();
mLastTime=""; // tqinvalidate value so it gets tqrepainted on next timeUpdate()
mLastTime=""; // tqinvalidate value so it gets repainted on next timeUpdate()
}
void KJFileInfo::timeUpdate(int)

Loading…
Cancel
Save