author | harlekin <harlekin> | 2002-07-21 21:51:12 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-21 21:51:12 (UTC) |
commit | 14ebec617bad2eb46173c09566c335ec6548b334 (patch) (unidiff) | |
tree | bdccba4c5b812580ed484ed407a4b9cd2c57ca75 /noncore/net/opietooth/manager/bluebase.cpp | |
parent | 9d54b1e1904a65decd54b6f1b5962bdb9ec26717 (diff) | |
download | opie-14ebec617bad2eb46173c09566c335ec6548b334.zip opie-14ebec617bad2eb46173c09566c335ec6548b334.tar.gz opie-14ebec617bad2eb46173c09566c335ec6548b334.tar.bz2 |
added obex popup and dialog
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index 433bd3a..1fd0ea2 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp | |||
@@ -297,10 +297,11 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin | |||
297 | 297 | ||
298 | QPopupMenu *groups = new QPopupMenu(); | 298 | QPopupMenu *groups = new QPopupMenu(); |
299 | 299 | ||
300 | menu->insertItem( tr("rescan sevices:"), 0); | 300 | menu->insertItem( ((BTDeviceItem*)item)->name(),0 ); |
301 | menu->insertItem( tr("to group"), groups , 1); | 301 | menu->insertSeparator(1); |
302 | // menu->insertItem( tr("bound device"), 2); | 302 | menu->insertItem( tr("rescan sevices"), 2); |
303 | menu->insertItem( tr("delete"), 3); | 303 | menu->insertItem( tr("to group"), groups , 3); |
304 | menu->insertItem( tr("delete"), 4); | ||
304 | 305 | ||
305 | ret = menu->exec( point , 0); | 306 | ret = menu->exec( point , 0); |
306 | 307 | ||
@@ -344,6 +345,8 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin | |||
344 | QMap<int, QString> list = service->services().classIdList(); | 345 | QMap<int, QString> list = service->services().classIdList(); |
345 | QMap<int, QString>::Iterator it = list.begin(); | 346 | QMap<int, QString>::Iterator it = list.begin(); |
346 | QPopupMenu *popup =0l; | 347 | QPopupMenu *popup =0l; |
348 | popup->insertItem( (service->services()).serviceName() ); | ||
349 | popup->insertSeparator(); | ||
347 | if ( it != list.end() ) { | 350 | if ( it != list.end() ) { |
348 | qWarning("Searching id %d %s", it.key(), it.data().latin1() ); | 351 | qWarning("Searching id %d %s", it.key(), it.data().latin1() ); |
349 | popup = m_popHelper.find( it.key() /*1*/, | 352 | popup = m_popHelper.find( it.key() /*1*/, |