Diffstat (limited to 'noncore/settings/networksettings/wlan') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/infoimp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/wlan/infoimp.cpp b/noncore/settings/networksettings/wlan/infoimp.cpp index e1eef81..6d3e167 100644 --- a/noncore/settings/networksettings/wlan/infoimp.cpp +++ b/noncore/settings/networksettings/wlan/infoimp.cpp | |||
@@ -1,21 +1,22 @@ | |||
1 | #include "infoimp.h" | 1 | #include "infoimp.h" |
2 | #include "wextensions.h" | 2 | #include "wextensions.h" |
3 | |||
3 | #include <qtimer.h> | 4 | #include <qtimer.h> |
4 | #include <qprogressbar.h> | 5 | #include <qprogressbar.h> |
5 | #include <qlabel.h> | 6 | #include <qlabel.h> |
6 | 7 | ||
7 | /** | 8 | /** |
8 | * Constructor. If wireless extensions are enabled on device name then | 9 | * Constructor. If wireless extensions are enabled on device name then |
9 | * start a timer that every second will update the information. | 10 | * start a timer that every second will update the information. |
10 | */ | 11 | */ |
11 | WlanInfoImp::WlanInfoImp( QWidget* parent, const char* name, WFlags fl): WlanInfo(parent, name, fl){ | 12 | WlanInfoImp::WlanInfoImp( QWidget* parent, const char* name, WFlags fl): WlanInfo(parent, name, fl){ |
12 | WExtensions *wExtensions = new WExtensions(name); | 13 | WExtensions *wExtensions = new WExtensions(name); |
13 | if(!wExtensions->doesHaveWirelessExtensions()){ | 14 | if(!wExtensions->doesHaveWirelessExtensions()){ |
14 | delete wExtensions; | 15 | delete wExtensions; |
15 | qDebug("No extension"); | 16 | qDebug("WlanInfoImp::No wireless extension"); |
16 | return; | 17 | return; |
17 | } | 18 | } |
18 | delete wExtensions; | 19 | delete wExtensions; |
19 | timer = new QTimer( this ); | 20 | timer = new QTimer( this ); |
20 | connect( timer, SIGNAL(timeout()), this, SLOT(update())); | 21 | connect( timer, SIGNAL(timeout()), this, SLOT(update())); |
21 | timer->start( 1000, false ); | 22 | timer->start( 1000, false ); |