summaryrefslogtreecommitdiff
path: root/noncore/net
authorharlekin <harlekin>2002-06-28 21:08:44 (UTC)
committer harlekin <harlekin>2002-06-28 21:08:44 (UTC)
commit4aa30fb2582bcbc4f8819afb0b5f612c6441ae1d (patch) (unidiff)
treeb2e892b6a301d60fb86fe3916df53763ce09b7c9 /noncore/net
parent5223240e859a0433605ee642b3aac68a05e4d0f4 (diff)
downloadopie-4aa30fb2582bcbc4f8819afb0b5f612c6441ae1d.zip
opie-4aa30fb2582bcbc4f8819afb0b5f612c6441ae1d.tar.gz
opie-4aa30fb2582bcbc4f8819afb0b5f612c6441ae1d.tar.bz2
update
Diffstat (limited to 'noncore/net') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index 0385cb1..3e7e2ab 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -203,28 +203,29 @@ namespace OpieTooth {
203 /** 203 /**
204 * Write the list of allready known devices 204 * Write the list of allready known devices
205 * 205 *
206 */ 206 */
207 void BlueBase::writeSavedDevices() { 207 void BlueBase::writeSavedDevices() {
208 208
209 QListViewItemIterator it( ListView2 ); 209 QListViewItemIterator it( ListView2 );
210 210
211 for ( ; it.current(); ++it ) { 211 for ( ; it.current(); ++it ) {
212 212
213 // seperate config file for each device, to store more information in future. 213 // seperate config file for each device, to store more information in future.
214// TO FIX: BTLISTITEM!!! 214// TO FIX: BTLISTITEM!!!
215 qDebug( "/Settings/bluetooth/" + (((BTListItem*)it.current())->mac()) + ".conf");
216 Config conf( QDir::homeDirPath() + "/Settings/bluetooth/" + (((BTListItem*)it.current())->mac()) + ".conf", Config::File );
215 217
216 // Config conf( QDir::homeDirPath() + "/Settings/bluetooth/" + (((BTListItem)it.current())->mac()) + ".conf", Config::File ); 218 conf.setGroup( "Info" );
217 // conf.setGroup( "Info" ); 219 conf.writeEntry( "name", ((BTListItem*)it.current())->name() );
218 // conf.writeEntry( "name", it.current()->name() );
219 } 220 }
220 } 221 }
221 222
222 223
223 /** 224 /**
224 * Set up the gui 225 * Set up the gui
225 */ 226 */
226 void BlueBase::initGui() { 227 void BlueBase::initGui() {
227 228
228 StatusLabel->setText( getStatus() ); // maybe move it to getStatus() 229 StatusLabel->setText( getStatus() ); // maybe move it to getStatus()
229 230
230 cryptCheckBox->setChecked( useEncryption ); 231 cryptCheckBox->setChecked( useEncryption );