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
commit373fe6f2b90bcd2e452f16115a4950a4b46c1f34 (patch)
tree9de5284252e1d323cc91bb1e3563232e8e1334ab
parent66c292188f8ab6951b32c07f13dc93cce847a688 (diff)
downloadtdegames-373fe6f2b90bcd2e452f16115a4950a4b46c1f34.tar.gz
tdegames-373fe6f2b90bcd2e452f16115a4950a4b46c1f34.zip
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
-rw-r--r--kbackgammon/kbgboard.h12
-rw-r--r--kgoldrunner/src/kgrgame.h2
-rw-r--r--kpoker/kpaint.cpp2
-rw-r--r--kpoker/kpaint.h2
-rw-r--r--kpoker/kpoker.cpp4
-rw-r--r--kpoker/playerbox.cpp4
-rw-r--r--kpoker/playerbox.h2
-rw-r--r--kpoker/top.cpp2
-rw-r--r--kreversi/board.cpp2
-rw-r--r--ksmiletris/gamewidget.cpp8
-rw-r--r--ksmiletris/gamewidget.h2
-rw-r--r--ksmiletris/gamewindow.cpp4
-rw-r--r--ktuberling/playground.cpp2
-rw-r--r--ktuberling/playground.h2
-rw-r--r--ktuberling/toplevel.cpp8
-rw-r--r--lskat/lskat/lskatdoc.h2
16 files changed, 30 insertions, 30 deletions
diff --git a/kbackgammon/kbgboard.h b/kbackgammon/kbgboard.h
index 20626825..c73c6fac 100644
--- a/kbackgammon/kbgboard.h
+++ b/kbackgammon/kbgboard.h
@@ -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);
diff --git a/kgoldrunner/src/kgrgame.h b/kgoldrunner/src/kgrgame.h
index 5637329c..2f440b87 100644
--- a/kgoldrunner/src/kgrgame.h
+++ b/kgoldrunner/src/kgrgame.h
@@ -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;
diff --git a/kpoker/kpaint.cpp b/kpoker/kpaint.cpp
index 15ce5935..67029656 100644
--- a/kpoker/kpaint.cpp
+++ b/kpoker/kpaint.cpp
@@ -168,7 +168,7 @@ void CardWidget::paintCard(int cardType)
}
-void CardWidget::tqrepaintDeck()
+void CardWidget::repaintDeck()
{
setPixmap(*m_pm);
setFixedSize(cardImages->getWidth(), cardImages->getHeight());
diff --git a/kpoker/kpaint.h b/kpoker/kpaint.h
index 8c480fd5..512ce776 100644
--- a/kpoker/kpaint.h
+++ b/kpoker/kpaint.h
@@ -95,7 +95,7 @@ class CardWidget : public TQPushButton
bool toggleHeld(); /* returns the new value of held*/
- void tqrepaintDeck();
+ void repaintDeck();
signals:
/**
diff --git a/kpoker/kpoker.cpp b/kpoker/kpoker.cpp
index 0c826c14..bb0a9fe3 100644
--- a/kpoker/kpoker.cpp
+++ b/kpoker/kpoker.cpp
@@ -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.
diff --git a/kpoker/playerbox.cpp b/kpoker/playerbox.cpp
index 53123fbc..3c60c9bb 100644
--- a/kpoker/playerbox.cpp
+++ b/kpoker/playerbox.cpp
@@ -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();
}
diff --git a/kpoker/playerbox.h b/kpoker/playerbox.h
index aeb5d3c8..bd4c7d75 100644
--- a/kpoker/playerbox.h
+++ b/kpoker/playerbox.h
@@ -118,7 +118,7 @@ class PlayerBox : public TQGroupBox
**/
void blinkOff();
- void tqrepaintCard();
+ void repaintCard();
protected:
diff --git a/kpoker/top.cpp b/kpoker/top.cpp
index a1659954..270fd2e5 100644
--- a/kpoker/top.cpp
+++ b/kpoker/top.cpp
@@ -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();
diff --git a/kreversi/board.cpp b/kreversi/board.cpp
index 644111d2..727d8d2d 100644
--- a/kreversi/board.cpp
+++ b/kreversi/board.cpp
@@ -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;
diff --git a/ksmiletris/gamewidget.cpp b/ksmiletris/gamewidget.cpp
index 3ba3051a..bf1e78ef 100644
--- a/ksmiletris/gamewidget.cpp
+++ b/ksmiletris/gamewidget.cpp
@@ -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();
}
diff --git a/ksmiletris/gamewidget.h b/ksmiletris/gamewidget.h
index 3eeaac96..4b4371b2 100644
--- a/ksmiletris/gamewidget.h
+++ b/ksmiletris/gamewidget.h
@@ -63,7 +63,7 @@ public:
return s;
}
- void tqrepaintChilds();
+ void repaintChilds();
private:
TQPixmap *sprites;
diff --git a/ksmiletris/gamewindow.cpp b/ksmiletris/gamewindow.cpp
index c28a81d2..2d5824c8 100644
--- a/ksmiletris/gamewindow.cpp
+++ b/ksmiletris/gamewindow.cpp
@@ -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();
}
diff --git a/ktuberling/playground.cpp b/ktuberling/playground.cpp
index 760ad9b8..cdd03d89 100644
--- a/ktuberling/playground.cpp
+++ b/ktuberling/playground.cpp
@@ -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,
diff --git a/ktuberling/playground.h b/ktuberling/playground.h
index 146ffe2c..a428f88b 100644
--- a/ktuberling/playground.h
+++ b/ktuberling/playground.h
@@ -32,7 +32,7 @@ public:
void reset();
void change(uint selectedGameboard);
- void tqrepaintAll();
+ void repaintAll();
bool undo();
bool redo();
bool loadFrom(const TQString &name);
diff --git a/ktuberling/toplevel.cpp b/ktuberling/toplevel.cpp
index c0822446..c0131d26 100644
--- a/ktuberling/toplevel.cpp
+++ b/ktuberling/toplevel.cpp
@@ -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
diff --git a/lskat/lskat/lskatdoc.h b/lskat/lskat/lskatdoc.h
index b9304baa..a556f3de 100644
--- a/lskat/lskat/lskatdoc.h
+++ b/lskat/lskat/lskatdoc.h
@@ -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);