author | harlekin <harlekin> | 2002-07-21 20:58:37 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-21 20:58:37 (UTC) |
commit | 2fb3b8fdf9cb4e660e217ae563a1a49557864ca9 (patch) (unidiff) | |
tree | 975738ed841eb216946191a12d5dd19585fd738d /noncore/net/opietooth/manager/bluebase.cpp | |
parent | 99e354d845a38e5366d954c7f8f9c71b65ad0820 (diff) | |
download | opie-2fb3b8fdf9cb4e660e217ae563a1a49557864ca9.zip opie-2fb3b8fdf9cb4e660e217ae563a1a49557864ca9.tar.gz opie-2fb3b8fdf9cb4e660e217ae563a1a49557864ca9.tar.bz2 |
nicer connection state icons
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index ec05a95..f400ce6 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp | |||
@@ -80,4 +80,5 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | |||
80 | //Load all icons needed | 80 | //Load all icons needed |
81 | m_offPix = Resource::loadPixmap( "editdelete" ); | 81 | m_offPix = Resource::loadPixmap( "opietooth/notconnected" ); |
82 | m_onPix = Resource::loadPixmap( "installed" ); | 82 | m_onPix = Resource::loadPixmap( "opietooth/connected" ); |
83 | m_findPix = Resource::loadPixmap( "opietooth/find" ); | ||
83 | 84 | ||
@@ -359,4 +360,2 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin | |||
359 | int test1 = popup->insertItem( tr("Test1:"), 0); | 360 | int test1 = popup->insertItem( tr("Test1:"), 0); |
360 | int con = popup->insertItem( tr("connect"), 1); | ||
361 | int del = popup->insertItem( tr("delete"), 2); | ||
362 | 361 | ||
@@ -364,11 +363,6 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin | |||
364 | qWarning("returned from exec() "); | 363 | qWarning("returned from exec() "); |
365 | if ( ret == -1 ) | 364 | if ( ret == -1 ) { |
366 | ; | 365 | ; |
367 | else if ( ret == test1 ) | 366 | } else if ( ret == test1 ) { |
368 | ; | 367 | ; |
369 | else if ( ret == con ) | ||
370 | ; | ||
371 | else if ( ret == del ) { | ||
372 | // take item first? -zecke | ||
373 | delete item; | ||
374 | } | 368 | } |
@@ -388,3 +382,3 @@ void BlueBase::addServicesToDevice( BTDeviceItem * item ) { | |||
388 | RemoteDevice device = item->remoteDevice(); | 382 | RemoteDevice device = item->remoteDevice(); |
389 | m_deviceList.insert( item->mac() , item ); | 383 | m_deviceList.insert( item->mac() , item ); |
390 | // and some time later I get a signal foundServices( const QString& device, Services::ValueList ); back | 384 | // and some time later I get a signal foundServices( const QString& device, Services::ValueList ); back |