Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlist.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlist.cpp b/noncore/net/wellenreiter/gui/scanlist.cpp index 6005818..3b7120a 100644 --- a/noncore/net/wellenreiter/gui/scanlist.cpp +++ b/noncore/net/wellenreiter/gui/scanlist.cpp | |||
@@ -25,48 +25,54 @@ | |||
25 | 25 | ||
26 | #ifdef QWS | 26 | #ifdef QWS |
27 | #include <qpe/qpeapplication.h> | 27 | #include <qpe/qpeapplication.h> |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #ifdef QWS | 30 | #ifdef QWS |
31 | #include <qpe/resource.h> | 31 | #include <qpe/resource.h> |
32 | #else | 32 | #else |
33 | #include "resource.h" | 33 | #include "resource.h" |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | const int col_type = 0; | 36 | const int col_type = 0; |
37 | const int col_essid = 0; | 37 | const int col_essid = 0; |
38 | const int col_sig = 1; | 38 | const int col_sig = 1; |
39 | const int col_ap = 2; | 39 | const int col_ap = 2; |
40 | const int col_channel = 3; | 40 | const int col_channel = 3; |
41 | const int col_wep = 4; | 41 | const int col_wep = 4; |
42 | const int col_traffic = 5; | 42 | const int col_traffic = 5; |
43 | const int col_ip = 6; | 43 | const int col_ip = 6; |
44 | const int col_manuf = 7; | 44 | const int col_manuf = 7; |
45 | const int col_firstseen = 8; | 45 | const int col_firstseen = 8; |
46 | const int col_lastseen = 9; | 46 | const int col_lastseen = 9; |
47 | const int col_location = 10; | 47 | const int col_location = 10; |
48 | 48 | ||
49 | using namespace Opie::Net; | ||
50 | using namespace Opie::Ui; | ||
51 | using namespace Opie::Net; | ||
52 | using namespace Opie::Ui; | ||
53 | using namespace Opie::Ui; | ||
54 | using namespace Opie::Net; | ||
49 | MScanListView::MScanListView( QWidget* parent, const char* name ) | 55 | MScanListView::MScanListView( QWidget* parent, const char* name ) |
50 | :OListView( parent, name ) | 56 | :OListView( parent, name ) |
51 | { | 57 | { |
52 | setFrameShape( QListView::StyledPanel ); | 58 | setFrameShape( QListView::StyledPanel ); |
53 | setFrameShadow( QListView::Sunken ); | 59 | setFrameShadow( QListView::Sunken ); |
54 | 60 | ||
55 | addColumn( tr( "Net/Station" ) ); | 61 | addColumn( tr( "Net/Station" ) ); |
56 | setColumnAlignment( col_essid, AlignLeft || AlignVCenter ); | 62 | setColumnAlignment( col_essid, AlignLeft || AlignVCenter ); |
57 | addColumn( tr( "#" ) ); | 63 | addColumn( tr( "#" ) ); |
58 | setColumnAlignment( col_sig, AlignCenter ); | 64 | setColumnAlignment( col_sig, AlignCenter ); |
59 | addColumn( tr( "MAC" ) ); | 65 | addColumn( tr( "MAC" ) ); |
60 | setColumnAlignment( col_ap, AlignCenter ); | 66 | setColumnAlignment( col_ap, AlignCenter ); |
61 | addColumn( tr( "Chn" ) ); | 67 | addColumn( tr( "Chn" ) ); |
62 | setColumnAlignment( col_channel, AlignCenter ); | 68 | setColumnAlignment( col_channel, AlignCenter ); |
63 | addColumn( tr( "W" ) ); | 69 | addColumn( tr( "W" ) ); |
64 | setColumnAlignment( col_wep, AlignCenter ); | 70 | setColumnAlignment( col_wep, AlignCenter ); |
65 | addColumn( tr( "T" ) ); | 71 | addColumn( tr( "T" ) ); |
66 | setColumnAlignment( col_traffic, AlignCenter ); | 72 | setColumnAlignment( col_traffic, AlignCenter ); |
67 | addColumn( tr( "IP" ) ); | 73 | addColumn( tr( "IP" ) ); |
68 | setColumnAlignment( col_ip, AlignCenter ); | 74 | setColumnAlignment( col_ip, AlignCenter ); |
69 | addColumn( tr( "Manufacturer" ) ); | 75 | addColumn( tr( "Manufacturer" ) ); |
70 | setColumnAlignment( col_manuf, AlignCenter ); | 76 | setColumnAlignment( col_manuf, AlignCenter ); |
71 | addColumn( tr( "First Seen" ) ); | 77 | addColumn( tr( "First Seen" ) ); |
72 | setColumnAlignment( col_firstseen, AlignCenter ); | 78 | setColumnAlignment( col_firstseen, AlignCenter ); |