summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.cpp8
1 files changed, 4 insertions, 4 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,14 +145,14 @@ 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));
+ RemoteDevice * device = new RemoteDevice( it.current()->text(1), it.current()->text(0));
deviceList->append( device );
}
}
emit selectedDevices( *deviceList );