summaryrefslogtreecommitdiffstats
path: root/wifi/status.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
commit089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch)
treece014fb2326a80fcfafa2362b7ff88486aa17c96 /wifi/status.cpp
parent83677e35509b4dafac63b76995652bdf3b49f209 (diff)
downloadtdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz
tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'wifi/status.cpp')
-rw-r--r--wifi/status.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/wifi/status.cpp b/wifi/status.cpp
index 0bd45b3a..3d344800 100644
--- a/wifi/status.cpp
+++ b/wifi/status.cpp
@@ -22,13 +22,13 @@
#include <unistd.h>
#include <sys/types.h>
-tqStatus::tqStatus (TQWidget * parent, Interface_wireless * device)
+Status::Status (TQWidget * parent, Interface_wireless * device)
: TQWidget (parent, "KWiFiManager status")
{
this->device = device;
}
-bool tqStatus::generateStatsWidget ()
+bool Status::generateStatsWidget ()
{
double
freq = 0.;
@@ -361,10 +361,10 @@ bool tqStatus::generateStatsWidget ()
else
enc = new TQLabel (i18n ("active"), content);
}
- // content->setFixedSize (content->tqsizeHint ());
- content->setMinimumSize(content->tqsizeHint());
+ // content->setFixedSize (content->sizeHint ());
+ content->setMinimumSize(content->sizeHint());
if ( content->minimumWidth() < 280 ) content->setMinimumWidth( 280 );
- setFixedSize (content->tqminimumSize());
+ setFixedSize (content->minimumSize());
content->show ();
widgetbild = TQPixmap::grabWidget (content);
delete
@@ -373,7 +373,7 @@ bool tqStatus::generateStatsWidget ()
}
void
-tqStatus::paintEvent (TQPaintEvent *)
+Status::paintEvent (TQPaintEvent *)
{
TQPainter *paintArea = new TQPainter (this);
generateStatsWidget ();