diff options
Diffstat (limited to 'kpoker/kpaint.cpp')
-rw-r--r-- | kpoker/kpaint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpoker/kpaint.cpp b/kpoker/kpaint.cpp index 2dcc5dbf..99c54145 100644 --- a/kpoker/kpaint.cpp +++ b/kpoker/kpaint.cpp @@ -17,7 +17,7 @@ // QT includes #include <tqdir.h> -#include <tqlayout.h> +#include <layout.h> // KDE includes //#include <kglobal.h> @@ -173,8 +173,8 @@ void CardWidget::repaintDeck() setPixmap(*m_pm); setFixedSize(cardImages->getWidth(), cardImages->getHeight()); - ((TQWidget*) parent())->tqlayout()->tqinvalidate(); - ((TQWidget*) parent())->setFixedSize( ((TQWidget*) parent())->tqsizeHint()); + ((TQWidget*) parent())->layout()->invalidate(); + ((TQWidget*) parent())->setFixedSize( ((TQWidget*) parent())->sizeHint()); } |