summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
commitf949c4652e0aae023b4306f3550914811743698e (patch)
tree0487ea0cd9ca3760f786aefef4fb1a83b2ea72dc
parentce8f3aee00347d5385d8ef74235337c24aeccaa1 (diff)
downloadtdemultimedia-f949c4652e0aae023b4306f3550914811743698e.tar.gz
tdemultimedia-f949c4652e0aae023b4306f3550914811743698e.zip
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
-rw-r--r--arts/builder/qttableview.cpp28
-rw-r--r--kmid/kdisptext.cpp2
-rw-r--r--kmid/kmidclient.cpp2
-rw-r--r--kmid/kmidclient.h2
-rw-r--r--kmid/kmidframe.cpp4
-rw-r--r--kmix/kmixdockwidget.cpp2
-rw-r--r--kscd/bwlednum.cpp2
-rw-r--r--noatun/modules/kjofol-skin/kjtextdisplay.cpp10
8 files changed, 26 insertions, 26 deletions
diff --git a/arts/builder/qttableview.cpp b/arts/builder/qttableview.cpp
index ca488ffb..41c4eb43 100644
--- a/arts/builder/qttableview.cpp
+++ b/arts/builder/qttableview.cpp
@@ -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 )
diff --git a/kmid/kdisptext.cpp b/kmid/kdisptext.cpp
index 2842608c..7485a109 100644
--- a/kmid/kdisptext.cpp
+++ b/kmid/kdisptext.cpp
@@ -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)
diff --git a/kmid/kmidclient.cpp b/kmid/kmidclient.cpp
index 74234bac..95517cb4 100644
--- a/kmid/kmidclient.cpp
+++ b/kmid/kmidclient.cpp
@@ -1125,7 +1125,7 @@ void kmidClient::processSpecialEvent()
}
-void kmidClient::tqrepaintText(int type)
+void kmidClient::repaintText(int type)
{
kdispt->ChangeTypeOfTextEvents(type);
typeoftextevents=type;
diff --git a/kmid/kmidclient.h b/kmid/kmidclient.h
index dc18208d..39ecbd50 100644
--- a/kmid/kmidclient.h
+++ b/kmid/kmidclient.h
@@ -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);
diff --git a/kmid/kmidframe.cpp b/kmid/kmidframe.cpp
index e986a221..9ebf9f84 100644
--- a/kmid/kmidframe.cpp
+++ b/kmid/kmidframe.cpp
@@ -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
diff --git a/kmix/kmixdockwidget.cpp b/kmix/kmixdockwidget.cpp
index 1a0763d5..868eae9f 100644
--- a/kmix/kmixdockwidget.cpp
+++ b/kmix/kmixdockwidget.cpp
@@ -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();
diff --git a/kscd/bwlednum.cpp b/kscd/bwlednum.cpp
index fdc2beba..2810135b 100644
--- a/kscd/bwlednum.cpp
+++ b/kscd/bwlednum.cpp
@@ -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++){
diff --git a/noatun/modules/kjofol-skin/kjtextdisplay.cpp b/noatun/modules/kjofol-skin/kjtextdisplay.cpp
index 42d546a0..14590b24 100644
--- a/noatun/modules/kjofol-skin/kjtextdisplay.cpp
+++ b/noatun/modules/kjofol-skin/kjtextdisplay.cpp
@@ -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)