author | harlekin <harlekin> | 2002-07-20 20:45:08 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-20 20:45:08 (UTC) |
commit | 0f24c1fb86d3bb58d8696358b824c0e01752b10d (patch) (unidiff) | |
tree | 646c57bf8f5b903cd951aac9287c7703d0af4d4d /noncore/net/opietooth/manager | |
parent | f095be190be0bcacd7911c585d034fd031e16099 (diff) | |
download | opie-0f24c1fb86d3bb58d8696358b824c0e01752b10d.zip opie-0f24c1fb86d3bb58d8696358b824c0e01752b10d.tar.gz opie-0f24c1fb86d3bb58d8696358b824c0e01752b10d.tar.bz2 |
little update
Diffstat (limited to 'noncore/net/opietooth/manager') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index d2854a1..af64663 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp | |||
@@ -294,3 +294,3 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin | |||
294 | menu->insertItem( tr("to group"), groups , 1); | 294 | menu->insertItem( tr("to group"), groups , 1); |
295 | menu->insertItem( tr("bound device"), 2); | 295 | // menu->insertItem( tr("bound device"), 2); |
296 | menu->insertItem( tr("delete"), 3); | 296 | menu->insertItem( tr("delete"), 3); |
@@ -301,11 +301,17 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin | |||
301 | case -1: | 301 | case -1: |
302 | 302 | break; | |
303 | case 0: | ||
304 | addServicesToDevice( (BTDeviceItem*)item ); | ||
303 | break; | 305 | break; |
304 | case 1: | 306 | case 1: |
307 | |||
305 | break; | 308 | break; |
306 | case 2: | 309 | |
310 | // NO need to, since hcid does that on the fly | ||
311 | // case 2: | ||
307 | // make connection | 312 | // make connection |
308 | break; | 313 | //m_localDevice->connectTo( ((BTDeviceItem*)item)->mac() ); |
314 | //break; | ||
309 | case 3: | 315 | case 3: |
310 | // delete childs too | 316 | // deletes childs too |
311 | delete item; | 317 | delete item; |
@@ -411,4 +417,5 @@ void BlueBase::addServicesToDevice( const QString& device, Services::ValueList s | |||
411 | int classId=0; | 417 | int classId=0; |
412 | if ( classIt != list.end() ) | 418 | if ( classIt != list.end() ) { |
413 | classId = classIt.key(); | 419 | classId = classIt.key(); |
420 | } | ||
414 | 421 | ||