author | benmeyer <benmeyer> | 2002-11-13 16:25:04 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-11-13 16:25:04 (UTC) |
commit | d3301ad9a74fdf693551bd70bc3cf34b311eaa49 (patch) (unidiff) | |
tree | fdc7ee3650af3e7225e1a8966e12bc2c1007b986 /noncore/settings/networksettings/wlan/infoimp.cpp | |
parent | 2bc05c54b2ff1a9b2af7d6bd4d55428cfe0d8db3 (diff) | |
download | opie-d3301ad9a74fdf693551bd70bc3cf34b311eaa49.zip opie-d3301ad9a74fdf693551bd70bc3cf34b311eaa49.tar.gz opie-d3301ad9a74fdf693551bd70bc3cf34b311eaa49.tar.bz2 |
code cleanup const's placed in code
Diffstat (limited to 'noncore/settings/networksettings/wlan/infoimp.cpp') (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 ); |