summaryrefslogtreecommitdiffstats
path: root/ksokoban/ModalLabel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:10 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-04 01:10:52 +0200
commit9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (patch)
tree668cc8f756c0cac76b39b63bc1f09115015a10a5 /ksokoban/ModalLabel.cpp
parent7cfcd74800487ecb6246597fdc559ca8baf2c4da (diff)
downloadtdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.tar.gz
tdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 0e2b76239f354a9eead0b4e37d86d390ec57ffa9)
Diffstat (limited to 'ksokoban/ModalLabel.cpp')
-rw-r--r--ksokoban/ModalLabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksokoban/ModalLabel.cpp b/ksokoban/ModalLabel.cpp
index 560c4b9d..c0ccbbad 100644
--- a/ksokoban/ModalLabel.cpp
+++ b/ksokoban/ModalLabel.cpp
@@ -57,7 +57,7 @@ ModalLabel::ModalLabel(const TQString &text, TQWidget *parent,
if (width < 300) width = 300;
if (height < 75) height = 75;
- tqsetAlignment (AlignCenter);
+ setAlignment (AlignCenter);
setFrameStyle (TQFrame::Panel | TQFrame::Raised);
setLineWidth (4);
setFont (font);
@@ -65,7 +65,7 @@ ModalLabel::ModalLabel(const TQString &text, TQWidget *parent,
resize (width, height);
show ();
- TQWidgetList *list = TQApplication::tqallWidgets();
+ TQWidgetList *list = TQApplication::allWidgets();
TQWidgetListIt it( *list );
while (it.current()) {
it.current()->installEventFilter (this);