From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- wifi/strength.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wifi/strength.cpp') diff --git a/wifi/strength.cpp b/wifi/strength.cpp index ad4314c0..a5146c14 100644 --- a/wifi/strength.cpp +++ b/wifi/strength.cpp @@ -27,7 +27,7 @@ extern bool useAlternateStrengthCalc; -Strength::Strength (TQWidget * parent, Interface_wireless * device):TQWidget (parent, +Strength::Strength (TQWidget * tqparent, Interface_wireless * device):TQWidget (tqparent, "strength") { this->device = device; @@ -61,9 +61,9 @@ TQSize Strength::mySizeHint () // add a little more y-space: we need 10 pixels above and 20 pixels below the icon temp->setHeight(temp->height() + 30); // up to now: this is the height required to get a decent logo display - // now determine height of QLabels to calculate the extra needed height + // now determine height of TQLabels to calculate the extra needed height TQLabel heightTest( "ABC", 0 ); - temp->setHeight( temp->height() + 2 * heightTest.sizeHint().height() + 10 ); + temp->setHeight( temp->height() + 2 * heightTest.tqsizeHint().height() + 10 ); return *temp; } @@ -149,7 +149,7 @@ Strength::updateInfo (TQPaintEvent *) else if (((strength == 0) && (mode == 2)) || (!validdata)) { sstrength1 = i18n("OUT OF RANGE"); - sstrength2 = TQString::fromLatin1("0"); + sstrength2 = TQString::tqfromLatin1("0"); strengthpainter->drawPixmap (50, 10, *OOR_DOWN); } else -- cgit v1.2.1