diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:47:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:47:36 -0600 |
commit | 97d1732e257f8700488d7ca1660ae7eba8fc6065 (patch) | |
tree | 4c6397ed2c1dd6f7c3354b5b87f313547d92a35f /kolf/objects/poolball/poolball.cpp | |
parent | 9c27a1a03e02fd53aedc1a182444b35fd8e14967 (diff) | |
download | tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.tar.gz tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kolf/objects/poolball/poolball.cpp')
-rw-r--r-- | kolf/objects/poolball/poolball.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kolf/objects/poolball/poolball.cpp b/kolf/objects/poolball/poolball.cpp index 10a26b9c..8c75bda3 100644 --- a/kolf/objects/poolball/poolball.cpp +++ b/kolf/objects/poolball/poolball.cpp @@ -1,8 +1,8 @@ -#include <tqbrush.h> +#include <brush.h> #include <tqcolor.h> #include <tqcanvas.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <tqpainter.h> #include <klocale.h> @@ -57,17 +57,17 @@ void PoolBall::draw(TQPainter &p) PoolBallConfig::PoolBallConfig(PoolBall *poolBall, TQWidget *parent) : Config(parent), m_poolBall(poolBall) { - TQVBoxLayout *tqlayout = new TQVBoxLayout(this, marginHint(), spacingHint()); + TQVBoxLayout *layout = new TQVBoxLayout(this, marginHint(), spacingHint()); - tqlayout->addStretch(); + layout->addStretch(); TQLabel *num = new TQLabel(i18n("Number:"), this); - tqlayout->addWidget(num); + layout->addWidget(num); KIntNumInput *slider = new KIntNumInput(m_poolBall->number(), this); slider->setRange(1, 15); - tqlayout->addWidget(slider); + layout->addWidget(slider); - tqlayout->addStretch(); + layout->addStretch(); connect(slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(numberChanged(int))); } |