diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:14 -0600 |
commit | 4d75f93557ba631d97a56e288a34ca27f4507653 (patch) | |
tree | 9c6aa673bd4900debf335044852a99b4d9f67133 /ktux/sprite.cpp | |
parent | 6cdf35ab11c322f33feca5baf090ef56068b6049 (diff) | |
download | tdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.tar.gz tdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6cdf35ab11c322f33feca5baf090ef56068b6049.
Diffstat (limited to 'ktux/sprite.cpp')
-rw-r--r-- | ktux/sprite.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ktux/sprite.cpp b/ktux/sprite.cpp index de9be14..5138159 100644 --- a/ktux/sprite.cpp +++ b/ktux/sprite.cpp @@ -9,7 +9,7 @@ #include <time.h> #include <tqlabel.h> #include <tqmessagebox.h> -#include <layout.h> +#include <tqlayout.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->sizeHint()); + label->setMinimumSize(label->tqsizeHint()); 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->layout(); + bbox->tqlayout(); tl->addWidget(bbox); tl->freeze(); @@ -203,7 +203,7 @@ void KSpriteSaver::initialise() { mCanvas = new TQCanvas(); TQPixmap pm( locate("sprite", "bg.png") ); - mCanvas->setBackgroundPixmap( pm ); + mCanvas->tqsetBackgroundPixmap( pm ); mCanvas->resize( width(), height() ); mView = new TQCanvasView(mCanvas); mView->viewport()->setBackgroundColor( black ); |