author | mickeyl <mickeyl> | 2003-02-24 15:54:13 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-02-24 15:54:13 (UTC) |
commit | f294a5d101fc9935e1a73f3d44b43ea00d0a03c7 (patch) (unidiff) | |
tree | 3fb4345bb3bacb023c217d55786b734c052de545 /noncore/net/wellenreiter/gui | |
parent | 25725a7cd45731656e3ee3476614512b027dacf8 (diff) | |
download | opie-f294a5d101fc9935e1a73f3d44b43ea00d0a03c7.zip opie-f294a5d101fc9935e1a73f3d44b43ea00d0a03c7.tar.gz opie-f294a5d101fc9935e1a73f3d44b43ea00d0a03c7.tar.bz2 |
visual enhancements for the listview...
Diffstat (limited to 'noncore/net/wellenreiter/gui') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/gui.pro | 2 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlist.cpp | 2 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlist.h | 4 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlistitem.cpp | 4 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlistitem.h | 18 |
5 files changed, 15 insertions, 15 deletions
diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro index 822b0db..6037661 100644 --- a/noncore/net/wellenreiter/gui/gui.pro +++ b/noncore/net/wellenreiter/gui/gui.pro | |||
@@ -32,5 +32,5 @@ SOURCES = main.cpp \ | |||
32 | INCLUDEPATH += $(OPIEDIR)/include ../ | 32 | INCLUDEPATH += $(OPIEDIR)/include ../ |
33 | DEPENDPATH += $(OPIEDIR)/include ../ | 33 | DEPENDPATH += $(OPIEDIR)/include ../ |
34 | LIBS += -L. -lwellenreiter | 34 | LIBS += -L. -lwellenreiter -lcornucopia |
35 | INTERFACES = configbase.ui | 35 | INTERFACES = configbase.ui |
36 | TARGET = wellenreiter | 36 | TARGET = wellenreiter |
diff --git a/noncore/net/wellenreiter/gui/scanlist.cpp b/noncore/net/wellenreiter/gui/scanlist.cpp index a689cca..6d3469c 100644 --- a/noncore/net/wellenreiter/gui/scanlist.cpp +++ b/noncore/net/wellenreiter/gui/scanlist.cpp | |||
@@ -22,5 +22,5 @@ | |||
22 | 22 | ||
23 | MScanListView::MScanListView( QWidget* parent, const char* name ) | 23 | MScanListView::MScanListView( QWidget* parent, const char* name ) |
24 | :QListView( parent, name ), _manufacturerdb( 0 ) | 24 | :OListView( parent, name ), _manufacturerdb( 0 ) |
25 | { | 25 | { |
26 | 26 | ||
diff --git a/noncore/net/wellenreiter/gui/scanlist.h b/noncore/net/wellenreiter/gui/scanlist.h index 9a35a82..475f7b6 100644 --- a/noncore/net/wellenreiter/gui/scanlist.h +++ b/noncore/net/wellenreiter/gui/scanlist.h | |||
@@ -17,5 +17,5 @@ | |||
17 | #define SCANLIST_H | 17 | #define SCANLIST_H |
18 | 18 | ||
19 | #include <qlistview.h> | 19 | #include <cornucopia/olistview.h> |
20 | 20 | ||
21 | class QString; | 21 | class QString; |
@@ -23,5 +23,5 @@ class QString; | |||
23 | class ManufacturerDB; | 23 | class ManufacturerDB; |
24 | 24 | ||
25 | class MScanListView: public QListView | 25 | class MScanListView: public OListView |
26 | { | 26 | { |
27 | Q_OBJECT | 27 | Q_OBJECT |
diff --git a/noncore/net/wellenreiter/gui/scanlistitem.cpp b/noncore/net/wellenreiter/gui/scanlistitem.cpp index dd33f5f..bfa7aa9 100644 --- a/noncore/net/wellenreiter/gui/scanlistitem.cpp +++ b/noncore/net/wellenreiter/gui/scanlistitem.cpp | |||
@@ -38,5 +38,5 @@ const int col_lastseen = 8; | |||
38 | MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString macaddr, | 38 | MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString macaddr, |
39 | bool wep, int channel, int signal ) | 39 | bool wep, int channel, int signal ) |
40 | :QListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ), | 40 | :OListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ), |
41 | _type( type ), _essid( essid ), _macaddr( macaddr ), _wep( wep ), | 41 | _type( type ), _essid( essid ), _macaddr( macaddr ), _wep( wep ), |
42 | _channel( channel ), _signal( signal ), _beacons( 0 ) | 42 | _channel( channel ), _signal( signal ), _beacons( 0 ) |
@@ -48,5 +48,5 @@ MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QS | |||
48 | MScanListItem::MScanListItem( QListViewItem* parent, QString type, QString essid, QString macaddr, | 48 | MScanListItem::MScanListItem( QListViewItem* parent, QString type, QString essid, QString macaddr, |
49 | bool wep, int channel, int signal ) | 49 | bool wep, int channel, int signal ) |
50 | :QListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ) | 50 | :OListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ) |
51 | { | 51 | { |
52 | qDebug( "creating scanlist item" ); | 52 | qDebug( "creating scanlist item" ); |
diff --git a/noncore/net/wellenreiter/gui/scanlistitem.h b/noncore/net/wellenreiter/gui/scanlistitem.h index c3c6255..89b3bc4 100644 --- a/noncore/net/wellenreiter/gui/scanlistitem.h +++ b/noncore/net/wellenreiter/gui/scanlistitem.h | |||
@@ -17,9 +17,9 @@ | |||
17 | #define SCANLISTITEM_H | 17 | #define SCANLISTITEM_H |
18 | 18 | ||
19 | #include <qlistview.h> | 19 | #include <cornucopia/olistview.h> |
20 | 20 | ||
21 | class QString; | 21 | class QString; |
22 | 22 | ||
23 | class MScanListItem: public QListViewItem | 23 | class MScanListItem: public OListViewItem |
24 | { | 24 | { |
25 | public: | 25 | public: |
@@ -47,9 +47,9 @@ class MScanListItem: public QListViewItem | |||
47 | 47 | ||
48 | public: | 48 | public: |
49 | 49 | ||
50 | QString type; | 50 | QString type; |
51 | 51 | ||
52 | public: | 52 | public: |
53 | 53 | ||
54 | //const QString& type() { return _type; }; | 54 | //const QString& type() { return _type; }; |
55 | const QString& essid() { return _essid; }; | 55 | const QString& essid() { return _essid; }; |
@@ -59,10 +59,10 @@ class MScanListItem: public QListViewItem | |||
59 | int signal() { return _signal; }; | 59 | int signal() { return _signal; }; |
60 | int beacons() { return _beacons; }; | 60 | int beacons() { return _beacons; }; |
61 | 61 | ||
62 | void setSignal( int signal ) { /* TODO */ }; | 62 | void setSignal( int signal ) { /* TODO */ }; |
63 | void receivedBeacon(); | 63 | void receivedBeacon(); |
64 | 64 | ||
65 | void setManufacturer( const QString& manufacturer ); | 65 | void setManufacturer( const QString& manufacturer ); |
66 | 66 | ||
67 | private: | 67 | private: |
68 | QString _type; | 68 | QString _type; |
@@ -73,5 +73,5 @@ class MScanListItem: public QListViewItem | |||
73 | int _signal; | 73 | int _signal; |
74 | int _beacons; | 74 | int _beacons; |
75 | 75 | ||
76 | }; | 76 | }; |
77 | 77 | ||