author | harlekin <harlekin> | 2002-06-16 20:44:48 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-16 20:44:48 (UTC) |
commit | 56788c49b68bae137a51b089b911f7ec4977c33f (patch) (side-by-side diff) | |
tree | cea3983dbb842348d1881d7f7d8ef2679d571d14 /noncore/net/opietooth/manager/scandialog.cpp | |
parent | 5c098847f0fd716c4fe697e5eb314111a4ae5df1 (diff) | |
download | opie-56788c49b68bae137a51b089b911f7ec4977c33f.zip opie-56788c49b68bae137a51b089b911f7ec4977c33f.tar.gz opie-56788c49b68bae137a51b089b911f7ec4977c33f.tar.bz2 |
remoteDevice part II
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp index 8a7ea01..bd7d23c 100644 --- a/noncore/net/opietooth/manager/scandialog.cpp +++ b/noncore/net/opietooth/manager/scandialog.cpp @@ -123,13 +123,13 @@ namespace OpieTooth { void ScanDialog::stopSearch() { } - void ScanDialog::fillList(const QString& device, RemoteDevices::ValueList deviceList) { + void ScanDialog::fillList(const QString& device, RemoteDevice::ValueList deviceList) { QCheckListItem * deviceItem; - RemoteDevices::ValueList::Iterator it; + RemoteDevice::ValueList::Iterator it; for( it = deviceList.begin(); it != deviceList.end(); ++it ) { deviceItem = new QCheckListItem( ListView1, (*it).name() ); deviceItem->setText(1, (*it).mac() ); @@ -145,15 +145,15 @@ namespace OpieTooth { if (!ListView1) { return; } - QList<RemoteDevices> *deviceList = new QList<RemoteDevices>; + QList<RemoteDevice> *deviceList = new QList<RemoteDevice>; QListViewItemIterator it( ListView1 ); for ( ; it.current(); ++it ) { if ( ((QCheckListItem*)it.current())->isOn() ) { - RemoteDevices* device = new RemoteDevices( it.current()->text(1), it.current()->text(0)); - deviceList->append( device ); + RemoteDevice * device = new RemoteDevice( it.current()->text(1), it.current()->text(0)); + deviceList->append( device ); } } emit selectedDevices( *deviceList ); } |