Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlistitem.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlistitem.cpp b/noncore/net/wellenreiter/gui/scanlistitem.cpp index 398b42d..1e2a52e 100644 --- a/noncore/net/wellenreiter/gui/scanlistitem.cpp +++ b/noncore/net/wellenreiter/gui/scanlistitem.cpp | |||
@@ -5,28 +5,33 @@ | |||
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #include "scanlistitem.h" | 16 | #include "scanlistitem.h" |
17 | #include <qpe/resource.h> | ||
18 | #include <assert.h> | 17 | #include <assert.h> |
19 | #include <qpixmap.h> | 18 | #include <qpixmap.h> |
20 | 19 | ||
20 | #ifdef QWS | ||
21 | #include <qpe/resource.h> | ||
22 | #else | ||
23 | #include "resource.h" | ||
24 | #endif | ||
25 | |||
21 | const int col_type = 0; | 26 | const int col_type = 0; |
22 | const int col_essid = 0; | 27 | const int col_essid = 0; |
23 | const int col_sig = 1; | 28 | const int col_sig = 1; |
24 | const int col_ap = 2; | 29 | const int col_ap = 2; |
25 | const int col_channel = 3; | 30 | const int col_channel = 3; |
26 | const int col_wep = 4; | 31 | const int col_wep = 4; |
27 | const int col_traffic = 5; | 32 | const int col_traffic = 5; |
28 | 33 | ||
29 | MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString macaddr, | 34 | MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString macaddr, |
30 | bool wep, int channel, int signal ) | 35 | bool wep, int channel, int signal ) |
31 | :QListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ) | 36 | :QListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ) |
32 | { | 37 | { |