diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:59:34 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:59:34 -0600 |
commit | 83677e35509b4dafac63b76995652bdf3b49f209 (patch) | |
tree | 591f1dc22278addb439726c42896376b17bb42bd /wifi/status.cpp | |
parent | 808e453c56036211f57482ed847d54aca01bba68 (diff) | |
download | tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'wifi/status.cpp')
-rw-r--r-- | wifi/status.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/wifi/status.cpp b/wifi/status.cpp index 4d8b5784..0bd45b3a 100644 --- a/wifi/status.cpp +++ b/wifi/status.cpp @@ -22,13 +22,13 @@ #include <unistd.h> #include <sys/types.h> -Status::Status (TQWidget * parent, Interface_wireless * device) +tqStatus::tqStatus (TQWidget * parent, Interface_wireless * device) : TQWidget (parent, "KWiFiManager status") { this->device = device; } -bool Status::generateStatsWidget () +bool tqStatus::generateStatsWidget () { double freq = 0.; @@ -69,79 +69,79 @@ bool Status::generateStatsWidget () { if (freq / 1000000. > 5690.) { - temp3 = temp3.arg(140); + temp3 = temp3.tqarg(140); } else if (freq / 1000000. > 5670.) { - temp3 = temp3.arg(136); + temp3 = temp3.tqarg(136); } else if (freq / 1000000. > 5650.) { - temp3 = temp3.arg(132); + temp3 = temp3.tqarg(132); } else if (freq / 1000000. > 5630.) { - temp3 = temp3.arg(128); + temp3 = temp3.tqarg(128); } else if (freq / 1000000. > 5610.) { - temp3 = temp3.arg(124); + temp3 = temp3.tqarg(124); } else if (freq / 1000000. > 5590.) { - temp3 = temp3.arg(120); + temp3 = temp3.tqarg(120); } else if (freq / 1000000. > 5570.) { - temp3 = temp3.arg(116); + temp3 = temp3.tqarg(116); } else if (freq / 1000000. > 5550.) { - temp3 = temp3.arg(112); + temp3 = temp3.tqarg(112); } else if (freq / 1000000. > 5530.) { - temp3 = temp3.arg(108); + temp3 = temp3.tqarg(108); } else if (freq / 1000000. > 5510.) { - temp3 = temp3.arg(104); + temp3 = temp3.tqarg(104); } else if (freq / 1000000. > 5490.) { - temp3 = temp3.arg(100); + temp3 = temp3.tqarg(100); } else if (freq / 1000000. > 5310.) { - temp3 = temp3.arg(64); + temp3 = temp3.tqarg(64); } else if (freq / 1000000. > 5290.) { - temp3 = temp3.arg(60); + temp3 = temp3.tqarg(60); } else if (freq / 1000000. > 5270.) { - temp3 = temp3.arg(56); + temp3 = temp3.tqarg(56); } else if (freq / 1000000. > 5250.) { - temp3 = temp3.arg(52); + temp3 = temp3.tqarg(52); } else if (freq / 1000000. > 5230.) { - temp3 = temp3.arg(48); + temp3 = temp3.tqarg(48); } else if (freq / 1000000. > 5210.) { - temp3 = temp3.arg(44); + temp3 = temp3.tqarg(44); } else if (freq / 1000000. > 5190.) { - temp3 = temp3.arg(40); + temp3 = temp3.tqarg(40); } else if (freq / 1000000. > 5170.) { - temp3 = temp3.arg(36); + temp3 = temp3.tqarg(36); } else if (freq / 1000000. > 2474.) { @@ -361,10 +361,10 @@ bool Status::generateStatsWidget () else enc = new TQLabel (i18n ("active"), content); } - // content->setFixedSize (content->sizeHint ()); - content->setMinimumSize(content->sizeHint()); + // content->setFixedSize (content->tqsizeHint ()); + content->setMinimumSize(content->tqsizeHint()); if ( content->minimumWidth() < 280 ) content->setMinimumWidth( 280 ); - setFixedSize (content->minimumSize()); + setFixedSize (content->tqminimumSize()); content->show (); widgetbild = TQPixmap::grabWidget (content); delete @@ -373,7 +373,7 @@ bool Status::generateStatsWidget () } void -Status::paintEvent (TQPaintEvent *) +tqStatus::paintEvent (TQPaintEvent *) { TQPainter *paintArea = new TQPainter (this); generateStatsWidget (); |