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