diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:31:10 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:31:10 -0600 |
commit | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch) | |
tree | cd20202507f54f61a4e58ae64fcd7cdb894abe19 /ksokoban | |
parent | 84ace1135cac57993b72fee7105b92def1638d32 (diff) | |
download | tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.tar.gz tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'ksokoban')
-rw-r--r-- | ksokoban/ImageData.cpp | 4 | ||||
-rw-r--r-- | ksokoban/ModalLabel.cpp | 4 | ||||
-rw-r--r-- | ksokoban/NEWS | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/ksokoban/ImageData.cpp b/ksokoban/ImageData.cpp index 76fd0f2b..22190469 100644 --- a/ksokoban/ImageData.cpp +++ b/ksokoban/ImageData.cpp @@ -163,10 +163,10 @@ ImageData::brighten(TQImage& img) { void ImageData::wall(TQPainter &p, int x, int y, int index, bool left, bool right) { - if (left) p.tqdrawPixmap(x, y, upperLarge(index-1), halfSize_); + if (left) p.drawPixmap(x, y, upperLarge(index-1), halfSize_); else p.drawPixmap(x, y, leftSmall(index)); - if (right) p.tqdrawPixmap(x+halfSize_, y, upperLarge(index), 0, 0, halfSize_); + if (right) p.drawPixmap(x+halfSize_, y, upperLarge(index), 0, 0, halfSize_); else p.drawPixmap(x+halfSize_, y, rightSmall(index)); p.drawPixmap(x, y+halfSize_, lowerLarge(index)); 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); diff --git a/ksokoban/NEWS b/ksokoban/NEWS index 8c42ec6c..6f1352ed 100644 --- a/ksokoban/NEWS +++ b/ksokoban/NEWS @@ -48,7 +48,7 @@ New features: * Bookmarks * Animation speed menu -* tqStatus bar +* Status bar * Internationalisation ------------------------------------------------------------------------------- |