diff options
Diffstat (limited to 'libksirtet/common/misc_ui.cpp')
-rw-r--r-- | libksirtet/common/misc_ui.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libksirtet/common/misc_ui.cpp b/libksirtet/common/misc_ui.cpp index 6e9cffec..6638e67a 100644 --- a/libksirtet/common/misc_ui.cpp +++ b/libksirtet/common/misc_ui.cpp @@ -24,8 +24,8 @@ const uint LED_HEIGHT = 15; const uint LED_SPACING = 5; /*****************************************************************************/ -ShowNextPiece::ShowNextPiece(BaseBoard *board, TQWidget *tqparent) - : FixedCanvasView(tqparent, "show_next_piece") +ShowNextPiece::ShowNextPiece(BaseBoard *board, TQWidget *parent) + : FixedCanvasView(parent, "show_next_piece") { setCanvas(board->next()); setFrameStyle(TQFrame::Panel | TQFrame::Sunken); @@ -33,8 +33,8 @@ ShowNextPiece::ShowNextPiece(BaseBoard *board, TQWidget *tqparent) } /*****************************************************************************/ -Shadow::Shadow(BaseBoard *board, TQWidget *tqparent) - : TQWidget(tqparent, "shadow"), _xOffset(board->frameWidth()), +Shadow::Shadow(BaseBoard *board, TQWidget *parent) + : TQWidget(parent, "shadow"), _xOffset(board->frameWidth()), _board(board), _show(false) { KZoomMainWindow::addWidget(this); @@ -81,8 +81,8 @@ void Shadow::paintEvent(TQPaintEvent *) class Led : public TQWidget { public: - Led(const TQColor &c, TQWidget *tqparent) - : TQWidget(tqparent), col(c), _on(FALSE) {} + Led(const TQColor &c, TQWidget *parent) + : TQWidget(parent), col(c), _on(FALSE) {} TQSizePolicy sizePolicy() const { return TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); } @@ -105,8 +105,8 @@ class Led : public TQWidget bool _on; }; -GiftPool::GiftPool(TQWidget *tqparent) - : TQHBox(tqparent, "gift_pool"), nb(0), ready(false) +GiftPool::GiftPool(TQWidget *parent) + : TQHBox(parent, "gift_pool"), nb(0), ready(false) { setSpacing(LED_SPACING); leds.resize(cfactory->cbi.nbGiftLeds); @@ -171,10 +171,10 @@ void GiftPool::reset() } //----------------------------------------------------------------------------- -PlayerProgress::PlayerProgress(BaseBoard *board, TQWidget *tqparent, +PlayerProgress::PlayerProgress(BaseBoard *board, TQWidget *parent, const char *name) : KGameProgress(0, board->matrix().height(), 0, Qt::Vertical, - tqparent, name), _board(board) + parent, name), _board(board) { setBackgroundColor(lightGray); setTextEnabled(false); |