diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:35:14 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-04 02:12:11 +0200 |
commit | b4dcf7866a6902adf76c3837f65395a37973a681 (patch) | |
tree | 2d8e09764958b35fb18acd0c535bd5f0d3358bce /kworldwatch/mapwidget.cpp | |
parent | a876c4b60cd4eac78cae83900064a2c7655d9d59 (diff) | |
download | tdetoys-b4dcf7866a6902adf76c3837f65395a37973a681.tar.gz tdetoys-b4dcf7866a6902adf76c3837f65395a37973a681.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 3ee504ecba6caf3c2609a8648fe3659f2b541544)
Diffstat (limited to 'kworldwatch/mapwidget.cpp')
-rw-r--r-- | kworldwatch/mapwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kworldwatch/mapwidget.cpp b/kworldwatch/mapwidget.cpp index 680d8ef..255ce3f 100644 --- a/kworldwatch/mapwidget.cpp +++ b/kworldwatch/mapwidget.cpp @@ -143,7 +143,7 @@ MapWidget::MapWidget(bool applet, bool restore, TQWidget *parent, const char *na _cityIndicator->setIndent(0); _cityIndicator->setAutoMask(false); _cityIndicator->setLineWidth(1); - _cityIndicator->tqsetAlignment(TQLabel::AlignAuto | TQLabel::AlignTop); + _cityIndicator->setAlignment(TQLabel::AlignAuto | TQLabel::AlignTop); _cityIndicator->setAutoResize(true); _cityIndicator->setFrameStyle(TQFrame::Box | TQFrame::Plain); _cityIndicator->setPalette(TQToolTip::palette()); @@ -563,13 +563,13 @@ TQPixmap MapWidget::calculatePixmap() if (gmt_position >= greenwich) { - p.tqdrawPixmap(gmt_position-greenwich, 0, map, 0, 0, map.width()-gmt_position+greenwich); - p.tqdrawPixmap(0,0, map, map.width()-gmt_position+greenwich, 0, gmt_position-greenwich); + p.drawPixmap(gmt_position-greenwich, 0, map, 0, 0, map.width()-gmt_position+greenwich); + p.drawPixmap(0,0, map, map.width()-gmt_position+greenwich, 0, gmt_position-greenwich); } else { - p.tqdrawPixmap(0,0, map, greenwich-gmt_position, 0, map.width()+gmt_position-greenwich); - p.tqdrawPixmap(map.width()+gmt_position-greenwich, 0, map, 0, 0, greenwich-gmt_position); + p.drawPixmap(0,0, map, greenwich-gmt_position, 0, map.width()+gmt_position-greenwich); + p.drawPixmap(map.width()+gmt_position-greenwich, 0, map, 0, 0, greenwich-gmt_position); } return pm; |