summaryrefslogtreecommitdiffstats
path: root/ksmiletris
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /ksmiletris
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksmiletris')
-rw-r--r--ksmiletris/gamewidget.cpp6
-rw-r--r--ksmiletris/gamewidget.h2
-rw-r--r--ksmiletris/gamewindow.h2
-rw-r--r--ksmiletris/mirrorwidget.cpp4
-rw-r--r--ksmiletris/mirrorwidget.h2
-rw-r--r--ksmiletris/npiecewidget.cpp4
-rw-r--r--ksmiletris/npiecewidget.h2
-rw-r--r--ksmiletris/screenwidget.cpp4
-rw-r--r--ksmiletris/screenwidget.h2
9 files changed, 14 insertions, 14 deletions
diff --git a/ksmiletris/gamewidget.cpp b/ksmiletris/gamewidget.cpp
index bf1e78ef..04d5e543 100644
--- a/ksmiletris/gamewidget.cpp
+++ b/ksmiletris/gamewidget.cpp
@@ -43,8 +43,8 @@ this software.
#include <kmessagebox.h>
#include <klocale.h>
-GameWidget::GameWidget(TQWidget *tqparent, const char *name)
- : TQWidget(tqparent, name)
+GameWidget::GameWidget(TQWidget *parent, const char *name)
+ : TQWidget(parent, name)
{
in_game = false;
in_pause = false;
@@ -153,7 +153,7 @@ void GameWidget::loadSprites()
loadSprite(Sprite_Bg14, "bg14.bmp");
loadSprite(Sprite_Bg15, "bg15.bmp");
loadSprite(Sprite_Bg16, "bg16.bmp");
- loadMaskedSprite(Sprite_Broken, "broken.bmp", "broken-tqmask.bmp");
+ loadMaskedSprite(Sprite_Broken, "broken.bmp", "broken-mask.bmp");
}
void GameWidget::loadSprite(Sprite spr, const TQString & path)
diff --git a/ksmiletris/gamewidget.h b/ksmiletris/gamewidget.h
index 4b4371b2..ca41093e 100644
--- a/ksmiletris/gamewidget.h
+++ b/ksmiletris/gamewidget.h
@@ -48,7 +48,7 @@ public:
int num_level;
int num_points;
- GameWidget(TQWidget *tqparent=0, const char *name=0);
+ GameWidget(TQWidget *parent=0, const char *name=0);
~GameWidget();
void setPieces(PiecesType type);
diff --git a/ksmiletris/gamewindow.h b/ksmiletris/gamewindow.h
index bdfaabf7..fdd0d96b 100644
--- a/ksmiletris/gamewindow.h
+++ b/ksmiletris/gamewindow.h
@@ -38,7 +38,7 @@ class GameWindow : public KMainWindow {
TQ_OBJECT
public:
- GameWindow(TQWidget *tqparent=0, const char *name=0);
+ GameWindow(TQWidget *parent=0, const char *name=0);
public slots:
void menu_newGame();
diff --git a/ksmiletris/mirrorwidget.cpp b/ksmiletris/mirrorwidget.cpp
index 7a31a166..8a7447eb 100644
--- a/ksmiletris/mirrorwidget.cpp
+++ b/ksmiletris/mirrorwidget.cpp
@@ -31,8 +31,8 @@ this software.
#include "mirrorwidget.h"
MirrorWidget::MirrorWidget(TQPixmap *s, bool *game, bool *pause,
- TQWidget *tqparent, const char *name)
- : TQFrame(tqparent, name)
+ TQWidget *parent, const char *name)
+ : TQFrame(parent, name)
{
in_game = game;
in_pause = pause;
diff --git a/ksmiletris/mirrorwidget.h b/ksmiletris/mirrorwidget.h
index 9d3f0a5d..80676a8a 100644
--- a/ksmiletris/mirrorwidget.h
+++ b/ksmiletris/mirrorwidget.h
@@ -31,7 +31,7 @@ this software.
class MirrorWidget : public TQFrame {
public:
MirrorWidget(TQPixmap *s, bool *game, bool *pause,
- TQWidget *tqparent=0, const char *name=0);
+ TQWidget *parent=0, const char *name=0);
void setBackgroundSprite(Sprite s) { bg_sprite = s; }
void setMirrorSprites(Sprite *s) { mirror_sprites = s; }
diff --git a/ksmiletris/npiecewidget.cpp b/ksmiletris/npiecewidget.cpp
index 4218df92..9e87a9a0 100644
--- a/ksmiletris/npiecewidget.cpp
+++ b/ksmiletris/npiecewidget.cpp
@@ -31,8 +31,8 @@ this software.
#include "npiecewidget.h"
NextPieceWidget::NextPieceWidget(TQPixmap *s, bool *game, bool *pause,
- TQWidget *tqparent, const char *name)
- : TQFrame(tqparent, name)
+ TQWidget *parent, const char *name)
+ : TQFrame(parent, name)
{
in_game = game;
in_pause = pause;
diff --git a/ksmiletris/npiecewidget.h b/ksmiletris/npiecewidget.h
index 961366f6..f2d7ac1f 100644
--- a/ksmiletris/npiecewidget.h
+++ b/ksmiletris/npiecewidget.h
@@ -31,7 +31,7 @@ this software.
class NextPieceWidget : public TQFrame {
public:
NextPieceWidget(TQPixmap *s, bool *game, bool *pause,
- TQWidget *tqparent=0, const char *name=0);
+ TQWidget *parent=0, const char *name=0);
void setBackgroundSprite(Sprite s) { bg_sprite = s; }
void setNextPieceSprites(Sprite *s) { next_piece_sprites = s; }
diff --git a/ksmiletris/screenwidget.cpp b/ksmiletris/screenwidget.cpp
index a8f53c73..d8e87f4c 100644
--- a/ksmiletris/screenwidget.cpp
+++ b/ksmiletris/screenwidget.cpp
@@ -33,8 +33,8 @@ this software.
#include "screenwidget.h"
ScreenWidget::ScreenWidget(TQPixmap *s, bool *game, bool *pause,
- TQWidget *tqparent, const char *name)
- : TQFrame(tqparent, name)
+ TQWidget *parent, const char *name)
+ : TQFrame(parent, name)
{
in_game = game;
in_pause = pause;
diff --git a/ksmiletris/screenwidget.h b/ksmiletris/screenwidget.h
index f15a1e23..a27b3b31 100644
--- a/ksmiletris/screenwidget.h
+++ b/ksmiletris/screenwidget.h
@@ -31,7 +31,7 @@ this software.
class ScreenWidget : public TQFrame {
public:
ScreenWidget(TQPixmap *s, bool *game, bool *pause,
- TQWidget *tqparent=0, const char *name=0);
+ TQWidget *parent=0, const char *name=0);
void setBackgroundSprite(Sprite s) { bg_sprite = s; }
void setScreenSprites(Sprite *s) { screen_sprites = s; }