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

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 66c292188f
commit 373fe6f2b9

@ -195,7 +195,7 @@ public slots:
* Overwritten resize event handler.
*
* We overwrite the handler to make sure that all the cells are
* tqrepainted as well.
* repainted as well.
*/
virtual void resizeEvent(TQResizeEvent *);
@ -474,7 +474,7 @@ class KBgBoardCell : public TQLabel
/**
* sets the number and color of checkers on this cell
* takes care of tqrepainting
* takes care of repainting
*/
virtual void cellUpdate(const int p, const bool cubechanged = false) = 0;
@ -622,7 +622,7 @@ class KBgBoardHome : public KBgBoardCell
public:
/**
* sets the number and color of checkers on this cell
* takes care of tqrepainting
* takes care of repainting
*/
virtual void cellUpdate(const int p, const bool cubechanged = false);
@ -667,7 +667,7 @@ class KBgBoardHome : public KBgBoardCell
private:
/**
* Save old dice to avoid tqrepainting
* Save old dice to avoid repainting
*/
int savedDice[2];
@ -685,7 +685,7 @@ class KBgBoardBar : public KBgBoardCell
public:
/**
* sets the number and color of checkers on this cell
* takes care of tqrepainting
* takes care of repainting
*/
virtual void cellUpdate(const int p, const bool cubechanged = false);
@ -739,7 +739,7 @@ class KBgBoardField : public KBgBoardCell
/**
* sets the number and color of checkers on this cell
* takes care of tqrepainting
* takes care of repainting
*/
virtual void cellUpdate(const int p, const bool cubechanged = false);

@ -230,7 +230,7 @@ private:
bool reNumberLevels (int, int, int, int);
bool ownerOK (Owner o);
// Pixmaps for tqrepainting objects as they are edited.
// Pixmaps for repainting objects as they are edited.
TQPixmap digpix[10];
TQPixmap brickbg, fbrickbg;
TQPixmap freebg, nuggetbg, polebg, betonbg, ladderbg, hladderbg;

@ -168,7 +168,7 @@ void CardWidget::paintCard(int cardType)
}
void CardWidget::tqrepaintDeck()
void CardWidget::repaintDeck()
{
setPixmap(*m_pm);
setFixedSize(cardImages->getWidth(), cardImages->getHeight());

@ -95,7 +95,7 @@ class CardWidget : public TQPushButton
bool toggleHeld(); /* returns the new value of held*/
void tqrepaintDeck();
void repaintDeck();
signals:
/**

@ -674,7 +674,7 @@ void kpok::initPoker(unsigned int numPlayers)
m_game.clearPot();
drawAllDecks();
for (unsigned int i = 0; i < m_numPlayers; i++) {
playerBox[i]->tqrepaintCard();
playerBox[i]->repaintCard();
}
paintCash();
playerBox[0]->setHeldEnabled(false);
@ -1469,7 +1469,7 @@ void kpok::slotCardDeck()
cardImages->loadCards(cardPath);
for (int i = 0; i < m_game.getNumActivePlayers(); i++) {
playerBox[i]->tqrepaintCard();
playerBox[i]->repaintCard();
}
// Save selected stuff in the configuration.

@ -252,10 +252,10 @@ void PlayerBox::cardClicked(int no)
}
void PlayerBox::tqrepaintCard()
void PlayerBox::repaintCard()
{
for (int i = 0; i < PokerHandSize; i++)
m_cardWidgets[i]->tqrepaintDeck();
m_cardWidgets[i]->repaintDeck();
}

@ -118,7 +118,7 @@ class PlayerBox : public TQGroupBox
**/
void blinkOff();
void tqrepaintCard();
void repaintCard();
protected:

@ -61,7 +61,7 @@ PokerWindow::PokerWindow()
statusBar()->addWidget(LHLabel, 0, true);
m_kpok->updateLHLabel();
//FIXME: LHLabel is shown twize until the bar is tqrepainted!
//FIXME: LHLabel is shown twize until the bar is repainted!
initKAction();
readOptions();

@ -310,7 +310,7 @@ void QReversiBoardView::updateBoard (bool force)
// before we can show the new ones. The easiest way to do that is
// to tqrepaint everything.
//
// FIXME: A better way, perhaps, is to do the tqrepainting in
// FIXME: A better way, perhaps, is to do the repainting in
// drawPiece (which should be renamed drawSquare).
if (m_legalMovesShowing)
force = true;

@ -131,7 +131,7 @@ void GameWidget::setPieces(PiecesType type)
sprites[Sprite_Broken1 + i] = pm;
}
if (in_game) tqrepaintChilds();
if (in_game) repaintChilds();
}
void GameWidget::loadSprites()
@ -198,13 +198,13 @@ void GameWidget::newGame()
updateMirror();
in_game = true;
tqrepaintChilds();
repaintChilds();
emit changedStats(num_level, num_points);
timer_interval = 700;
timer->start(timer_interval);
}
void GameWidget::tqrepaintChilds()
void GameWidget::repaintChilds()
{
screen->tqrepaint(false);
mirror->tqrepaint(false);
@ -258,7 +258,7 @@ void GameWidget::nextPiece()
|| (piece[2] != bg_sprite && ref(xpos + 0, ypos + 1) != bg_sprite)
|| (piece[3] != bg_sprite && ref(xpos + 1, ypos + 1) != bg_sprite)) {
in_game = false;
tqrepaintChilds();
repaintChilds();
KMessageBox::sorry(this, i18n("Game Over"));
emit gameOver();
}

@ -63,7 +63,7 @@ public:
return s;
}
void tqrepaintChilds();
void repaintChilds();
private:
TQPixmap *sprites;

@ -137,7 +137,7 @@ void GameWindow::menu_pause()
if (game->in_game) {
game->in_pause = !game->in_pause;
((KToggleAction*)actionCollection()->action(KStdGameAction::stdName(KStdGameAction::Pause)))->setChecked(game->in_pause);
game->tqrepaintChilds();
game->repaintChilds();
}
}
@ -145,7 +145,7 @@ void GameWindow::menu_endGame()
{
if (game->in_game) {
game->in_game = false;
game->tqrepaintChilds();
game->repaintChilds();
((KToggleAction*)actionCollection()->action(KStdGameAction::stdName(KStdGameAction::Pause)))->setChecked(false);
gameOver();
}

@ -86,7 +86,7 @@ void PlayGround::change(uint selectedGameboard)
}
// Repaint all the editable area
void PlayGround::tqrepaintAll()
void PlayGround::repaintAll()
{
TQRect dirtyArea
(editableArea.left() - 10,

@ -32,7 +32,7 @@ public:
void reset();
void change(uint selectedGameboard);
void tqrepaintAll();
void repaintAll();
bool undo();
bool redo();
bool loadFrom(const TQString &name);

@ -283,7 +283,7 @@ void TopLevel::fileNew()
enableUndo(false);
enableRedo(false);
playGround->tqrepaintAll();
playGround->repaintAll();
}
// Load gameboard
@ -314,7 +314,7 @@ void TopLevel::open(const KURL &url)
enableUndo(!playGround->isFirstAction());
enableRedo(false);
playGround->tqrepaintAll();
playGround->repaintAll();
KIO::NetAccess::removeTempFile( name );
}
@ -438,7 +438,7 @@ void TopLevel::editUndo()
if (playGround->isFirstAction()) enableUndo(false);
enableRedo(true);
playGround->tqrepaintAll();
playGround->repaintAll();
}
// Redo last action
@ -451,7 +451,7 @@ void TopLevel::editRedo()
if (playGround->isLastAction()) enableRedo(false);
enableUndo(true);
playGround->tqrepaintAll();
playGround->repaintAll();
}
// Switch to gameboard #0

@ -217,7 +217,7 @@ public:
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(LSkatView *sender);

Loading…
Cancel
Save