summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp11
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
@@ -86,37 +86,26 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl )
86 QColor col = pal.color( QPalette::Active, QColorGroup::Background ); 86 QColor col = pal.color( QPalette::Active, QColorGroup::Background );
87 pal.setColor( QPalette::Active, QColorGroup::Button, col ); 87 pal.setColor( QPalette::Active, QColorGroup::Button, col );
88 pal.setColor( QPalette::Inactive, QColorGroup::Button, col ); 88 pal.setColor( QPalette::Inactive, QColorGroup::Button, col );
89 pal.setColor( QPalette::Normal, QColorGroup::Button, col ); 89 pal.setColor( QPalette::Normal, QColorGroup::Button, col );
90 pal.setColor( QPalette::Disabled, QColorGroup::Button, col ); 90 pal.setColor( QPalette::Disabled, QColorGroup::Button, col );
91 this->setPalette( pal ); 91 this->setPalette( pal );
92 92
93 setCaption( tr( "Bluetooth Manager" ) ); 93 setCaption( tr( "Bluetooth Manager" ) );
94 94
95 readConfig(); 95 readConfig();
96 initGui(); 96 initGui();
97 97
98 //TESTING
99 ListView2->setRootIsDecorated(true); 98 ListView2->setRootIsDecorated(true);
100 99
101 BTDeviceItem *topLV2 = new BTDeviceItem( ListView2, RemoteDevice("xx:", "Siemens S45" ) );
102 topLV2->setPixmap( 1, m_onPix );
103 Services s1;
104 s1.setServiceName( "Serial" );
105 s1.insertClassId(1, "BlueNic");
106 (void) new BTServiceItem( topLV2, s1 );
107 s1.setServiceName( "BlueNic" );
108 s1.insertClassId(2, "Obex");
109 (void) new BTServiceItem( topLV2, s1 );
110
111 writeToHciConfig(); 100 writeToHciConfig();
112 // search conncetions 101 // search conncetions
113 addConnectedDevices(); 102 addConnectedDevices();
114 m_iconLoader = new BTIconLoader(); 103 m_iconLoader = new BTIconLoader();
115 readSavedDevices(); 104 readSavedDevices();
116} 105}
117 106
118/** 107/**
119 * Reads all options from the config file 108 * Reads all options from the config file
120 */ 109 */
121void BlueBase::readConfig() { 110void BlueBase::readConfig() {
122 111