-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index 6c17974..b31e14f 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp @@ -82,45 +82,34 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) m_onPix = Resource::loadPixmap( "opietooth/connected" ); m_findPix = Resource::loadPixmap( "opietooth/find" ); QPalette pal = this->palette(); QColor col = pal.color( QPalette::Active, QColorGroup::Background ); pal.setColor( QPalette::Active, QColorGroup::Button, col ); pal.setColor( QPalette::Inactive, QColorGroup::Button, col ); pal.setColor( QPalette::Normal, QColorGroup::Button, col ); pal.setColor( QPalette::Disabled, QColorGroup::Button, col ); this->setPalette( pal ); setCaption( tr( "Bluetooth Manager" ) ); readConfig(); initGui(); - //TESTING ListView2->setRootIsDecorated(true); - BTDeviceItem *topLV2 = new BTDeviceItem( ListView2, RemoteDevice("xx:", "Siemens S45" ) ); - topLV2->setPixmap( 1, m_onPix ); - Services s1; - s1.setServiceName( "Serial" ); - s1.insertClassId(1, "BlueNic"); - (void) new BTServiceItem( topLV2, s1 ); - s1.setServiceName( "BlueNic" ); - s1.insertClassId(2, "Obex"); - (void) new BTServiceItem( topLV2, s1 ); - writeToHciConfig(); // search conncetions addConnectedDevices(); m_iconLoader = new BTIconLoader(); readSavedDevices(); } /** * Reads all options from the config file */ void BlueBase::readConfig() { Config cfg( "bluetoothmanager" ); cfg.setGroup( "bluezsettings" ); m_deviceName = cfg.readEntry( "name" , "No name" ); // name the device should identify with |