summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp35
1 files changed, 26 insertions, 9 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index 598ce16..d2854a1 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -145,2 +145,5 @@ void BlueBase::writeConfig() {
145 145
146/**
147 * Modify the hcid.conf file to our needs
148 */
146void BlueBase::writeToHciConfig() { 149void BlueBase::writeToHciConfig() {
@@ -150,6 +153,2 @@ void BlueBase::writeToHciConfig() {
150 hciconf.setPinHelper( "/bin/QtPalmtop/bin/blue-pin" ); 153 hciconf.setPinHelper( "/bin/QtPalmtop/bin/blue-pin" );
151
152
153 // hciconf->setPinHelper( "/bin/QtPalmtop/bin/blue-pin" );
154
155 hciconf.setName( m_deviceName ); 154 hciconf.setName( m_deviceName );
@@ -176,2 +175,3 @@ void BlueBase::readSavedDevices() {
176 175
176
177/** 177/**
@@ -279,2 +279,3 @@ void BlueBase::startServiceActionClicked( QListViewItem */*item*/ ) {
279 279
280
280/** 281/**
@@ -315,3 +316,4 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin
315 } 316 }
316 /** 317
318 /*
317 * We got service sensitive PopupMenus in our factory 319 * We got service sensitive PopupMenus in our factory
@@ -365,6 +367,7 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin
365 367
366 /** 368
367 * Search and display avail. services for a device (on expand from device listing) 369/**
368 * 370 * Search and display avail. services for a device (on expand from device listing)
369 */ 371 * @param item the service item returned
372 */
370void BlueBase::addServicesToDevice( BTDeviceItem * item ) { 373void BlueBase::addServicesToDevice( BTDeviceItem * item ) {
@@ -432,3 +435,11 @@ void BlueBase::addConnectedDevices() {
432 435
436/**
437 * This adds the found connections to the connection tab.
438 * @param connectionList the ValueList with all current connections
439 */
433void BlueBase::addConnectedDevices( ConnectionState::ValueList connectionList ) { 440void BlueBase::addConnectedDevices( ConnectionState::ValueList connectionList ) {
441
442 // clear the ListView first
443 ListView4->clear();
444
434 QValueList<OpieTooth::ConnectionState>::Iterator it; 445 QValueList<OpieTooth::ConnectionState>::Iterator it;
@@ -451,4 +462,6 @@ void BlueBase::addConnectedDevices( ConnectionState::ValueList connectionList )
451 462
463
452/** 464/**
453 * Find out if a device can currently be reached 465 * Find out if a device can currently be reached
466 * @param device
454 */ 467 */
@@ -460,2 +473,3 @@ void BlueBase::deviceActive( const RemoteDevice &device ) {
460 473
474
461/** 475/**
@@ -485,2 +499,3 @@ void BlueBase::deviceActive( const QString& device, bool connected ) {
485 499
500
486/** 501/**
@@ -505,2 +520,3 @@ void BlueBase::setInfo() {
505 520
521
506/** 522/**
@@ -513,2 +529,3 @@ BlueBase::~BlueBase() {
513 529
530
514/** 531/**