summaryrefslogtreecommitdiffstats
path: root/ktux/sprite.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:50:42 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:50:42 -0600
commit6cdf35ab11c322f33feca5baf090ef56068b6049 (patch)
treeca493b21887096329578b1c02530fd4ca9388cfc /ktux/sprite.cpp
parent44b2e94b380d4e5ec1539874823ffc06f05515cb (diff)
downloadtdetoys-6cdf35ab11c322f33feca5baf090ef56068b6049.tar.gz
tdetoys-6cdf35ab11c322f33feca5baf090ef56068b6049.zip
Rename a number of old tq methods that are no longer tq specific
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 );