diff options
Diffstat (limited to 'kpoker/kpaint.cpp')
-rw-r--r-- | kpoker/kpaint.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kpoker/kpaint.cpp b/kpoker/kpaint.cpp index 67029656..2dcc5dbf 100644 --- a/kpoker/kpaint.cpp +++ b/kpoker/kpaint.cpp @@ -38,8 +38,8 @@ TQPixmap *CardImages::m_cardPixmaps; TQPixmap *CardImages::m_deck; -CardImages::CardImages(TQWidget* tqparent, const char* name) - : TQWidget(tqparent, name) +CardImages::CardImages(TQWidget* parent, const char* name) + : TQWidget(parent, name) { m_cardPixmaps = new TQPixmap[numCards]; m_deck = new TQPixmap; @@ -109,8 +109,8 @@ CardImages::loadDeck(TQString path) extern CardImages *cardImages; -CardWidget::CardWidget( TQWidget *tqparent, const char *name ) - : TQPushButton( tqparent, name ) +CardWidget::CardWidget( TQWidget *parent, const char *name ) + : TQPushButton( parent, name ) { m_held = false; @@ -173,8 +173,8 @@ void CardWidget::repaintDeck() setPixmap(*m_pm); setFixedSize(cardImages->getWidth(), cardImages->getHeight()); - ((TQWidget*) tqparent())->tqlayout()->tqinvalidate(); - ((TQWidget*) tqparent())->setFixedSize( ((TQWidget*) tqparent())->tqsizeHint()); + ((TQWidget*) parent())->tqlayout()->tqinvalidate(); + ((TQWidget*) parent())->setFixedSize( ((TQWidget*) parent())->tqsizeHint()); } |