summaryrefslogtreecommitdiffstats
path: root/wifi/status.cpp
diff options
context:
space:
mode:
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 ();