summaryrefslogtreecommitdiffstats
path: root/ktux/sprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktux/sprite.cpp')
-rw-r--r--ktux/sprite.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ktux/sprite.cpp b/ktux/sprite.cpp
index 5138159..de9be14 100644
--- a/ktux/sprite.cpp
+++ b/ktux/sprite.cpp
@@ -9,7 +9,7 @@
#include <time.h>
#include <tqlabel.h>
#include <tqmessagebox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqslider.h>
#include <kstandarddirs.h>
#include <klocale.h>
@@ -60,7 +60,7 @@ KSpriteSetup::KSpriteSetup( TQWidget *parent, const char *name )
tl1->addLayout(tl11);
TQLabel *label = new TQLabel( i18n("Speed:"), this );
- label->setMinimumSize(label->tqsizeHint());
+ label->setMinimumSize(label->sizeHint());
tl11->addStretch(1);
tl11->addWidget(label);
@@ -85,7 +85,7 @@ KSpriteSetup::KSpriteSetup( TQWidget *parent, const char *name )
button = bbox->addButton(KStdGuiItem::cancel());
connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( reject() ) );
- bbox->tqlayout();
+ bbox->layout();
tl->addWidget(bbox);
tl->freeze();
@@ -203,7 +203,7 @@ void KSpriteSaver::initialise()
{
mCanvas = new TQCanvas();
TQPixmap pm( locate("sprite", "bg.png") );
- mCanvas->tqsetBackgroundPixmap( pm );
+ mCanvas->setBackgroundPixmap( pm );
mCanvas->resize( width(), height() );
mView = new TQCanvasView(mCanvas);
mView->viewport()->setBackgroundColor( black );