author | zecke <zecke> | 2002-07-09 18:28:19 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-07-09 18:28:19 (UTC) |
commit | 411ac6f9199b1aae2b6a40e7a8cf6bfea260acba (patch) (unidiff) | |
tree | 218836d6509d2dcaba3c6306f9f488b759169b1a /noncore/net/opietooth/manager/bluebase.cpp | |
parent | 5f549398401acc5591ffcb67459dbf55ea323b91 (diff) | |
download | opie-411ac6f9199b1aae2b6a40e7a8cf6bfea260acba.zip opie-411ac6f9199b1aae2b6a40e7a8cf6bfea260acba.tar.gz opie-411ac6f9199b1aae2b6a40e7a8cf6bfea260acba.tar.bz2 |
Add a generic class for the sensitive QPopupMenu
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index c29eb1a..85c6717 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp | |||
@@ -241,13 +241,13 @@ using namespace OpieTooth; | |||
241 | } | 241 | } |
242 | 242 | ||
243 | /** | 243 | /** |
244 | * Add fresh found devices from scan dialog to the listing | 244 | * Add fresh found devices from scan dialog to the listing |
245 | * | 245 | * |
246 | */ | 246 | */ |
247 | void BlueBase::addSearchedDevices( QValueList<RemoteDevice> &newDevices ) { | 247 | void BlueBase::addSearchedDevices( const QValueList<RemoteDevice> &newDevices ) { |
248 | BTListItem * deviceItem; | 248 | BTListItem * deviceItem; |
249 | QValueList<RemoteDevice>::ConstIterator it; | 249 | QValueList<RemoteDevice>::ConstIterator it; |
250 | 250 | ||
251 | for( it = newDevices.begin(); it != newDevices.end() ; ++it ) { | 251 | for( it = newDevices.begin(); it != newDevices.end() ; ++it ) { |
252 | deviceItem = new BTListItem( ListView2 , (*it).name(), (*it).mac(), "device" ); | 252 | deviceItem = new BTListItem( ListView2 , (*it).name(), (*it).mac(), "device" ); |
253 | deviceItem->setExpandable ( true ); | 253 | deviceItem->setExpandable ( true ); |
@@ -431,14 +431,14 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin | |||
431 | /** | 431 | /** |
432 | * Open the "scan for devices" dialog | 432 | * Open the "scan for devices" dialog |
433 | */ | 433 | */ |
434 | void BlueBase::startScan() { | 434 | void BlueBase::startScan() { |
435 | ScanDialog *scan = new ScanDialog( this, "ScanDialog", | 435 | ScanDialog *scan = new ScanDialog( this, "ScanDialog", |
436 | true, WDestructiveClose ); | 436 | true, WDestructiveClose ); |
437 | QObject::connect( scan, SIGNAL( selectedDevices( QValueList<RemoteDevice>& ) ), | 437 | QObject::connect( scan, SIGNAL( selectedDevices( const QValueList<RemoteDevice>& ) ), |
438 | this, SLOT( addSearchedDevices( QValueList<RemoteDevice>& ) ) ); | 438 | this, SLOT( addSearchedDevices( const QValueList<RemoteDevice>& ) ) ); |
439 | 439 | ||
440 | scan->showMaximized(); | 440 | scan->showMaximized(); |
441 | } | 441 | } |
442 | 442 | ||
443 | 443 | ||
444 | /** | 444 | /** |