author | harlekin <harlekin> | 2003-03-06 22:22:51 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-06 22:22:51 (UTC) |
commit | e2165a29b9fc618037295fc7515e0364b9a3da4f (patch) (side-by-side diff) | |
tree | 72dfa3c16132e83f84c8300150c47c05e0da7cde /noncore/net | |
parent | 56eadb23f09da3823da787d98c0f2478620a15b3 (diff) | |
download | opie-e2165a29b9fc618037295fc7515e0364b9a3da4f.zip opie-e2165a29b9fc618037295fc7515e0364b9a3da4f.tar.gz opie-e2165a29b9fc618037295fc7515e0364b9a3da4f.tar.bz2 |
activate connections tab
-rw-r--r-- | noncore/net/opietooth/lib/manager.cc | 7 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 2 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/btconnectionitem.cpp | 1 |
3 files changed, 6 insertions, 4 deletions
diff --git a/noncore/net/opietooth/lib/manager.cc b/noncore/net/opietooth/lib/manager.cc index 1281116..59ade6d 100644 --- a/noncore/net/opietooth/lib/manager.cc +++ b/noncore/net/opietooth/lib/manager.cc @@ -259,16 +259,17 @@ void Manager::searchConnections() { delete proc; } } -void Manager::slotConnectionExited( OProcess* /*proc*/ ) { - qWarning("exited"); +void Manager::slotConnectionExited( OProcess* proc ) { + qWarning("<<<<<<<<<<<<<<<<<exited"); ConnectionState::ValueList list; list = parseConnections( m_hcitoolCon ); emit connections(list ); + delete proc; } void Manager::slotConnectionOutput(OProcess* proc, char* cha, int len) { QCString str(cha, len ); m_hcitoolCon.append( str ); - delete proc; + //delete proc; } ConnectionState::ValueList Manager::parseConnections( const QString& out ) { ConnectionState::ValueList list2; diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index d3abb54..5c5f069 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp @@ -418,7 +418,7 @@ void BlueBase::addServicesToDevice( const QString& device, Services::ValueList s * This one triggers the search */ void BlueBase::addConnectedDevices() { - m_localDevice->searchConnections(); + m_localDevice->searchConnections(); } diff --git a/noncore/net/opietooth/manager/btconnectionitem.cpp b/noncore/net/opietooth/manager/btconnectionitem.cpp index 6fb9c11..b57d1b3 100644 --- a/noncore/net/opietooth/manager/btconnectionitem.cpp +++ b/noncore/net/opietooth/manager/btconnectionitem.cpp @@ -7,6 +7,7 @@ BTConnectionItem::BTConnectionItem( QListView* parent, const ConnectionState& co : BTListItem( parent ){ m_con = con; setText(0, m_con.mac() ); + setText(1, m_con.connectionMode() ); } BTConnectionItem::~BTConnectionItem() { |