summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-11-05 10:41:28 (UTC)
committer llornkcor <llornkcor>2003-11-05 10:41:28 (UTC)
commite6bb5b92e21ad08d00e399f30abeaea22f08ca18 (patch) (unidiff)
treeabfaef874a2c729340ba04d9d94c4a0be0955165
parent15163234024750178829812f31a1e7173a66fa1d (diff)
downloadopie-e6bb5b92e21ad08d00e399f30abeaea22f08ca18.zip
opie-e6bb5b92e21ad08d00e399f30abeaea22f08ca18.tar.gz
opie-e6bb5b92e21ad08d00e399f30abeaea22f08ca18.tar.bz2
remove <<<<<<
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/settings/security/security.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/security/security.cpp b/core/settings/security/security.cpp
index 00ea105..42a39c2 100644
--- a/core/settings/security/security.cpp
+++ b/core/settings/security/security.cpp
@@ -218,49 +218,49 @@ void Security::loadUsers ( void )
218 218
219} 219}
220 220
221void Security::toggleAutoLogin(bool val) 221void Security::toggleAutoLogin(bool val)
222{ 222{
223 autoLogin=val; 223 autoLogin=val;
224 userlist->setEnabled(val); 224 userlist->setEnabled(val);
225 if (!autoLogin) 225 if (!autoLogin)
226 autoLoginName=userlist->currentText(); 226 autoLoginName=userlist->currentText();
227} 227}
228 228
229 229
230 230
231 231
232void Security::setSyncNet(const QString& sn) 232void Security::setSyncNet(const QString& sn)
233{ 233{
234 int auth_peer,auth_peer_bits; 234 int auth_peer,auth_peer_bits;
235 parseNet(sn,auth_peer,auth_peer_bits); 235 parseNet(sn,auth_peer,auth_peer_bits);
236 selectNet(auth_peer,auth_peer_bits); 236 selectNet(auth_peer,auth_peer_bits);
237} 237}
238 238
239void Security::applySecurity() 239void Security::applySecurity()
240{ 240{
241 if ( valid ) { 241 if ( valid ) {
242<<<<<<< security.cpp 242
243 Config cfg("Security"); 243 Config cfg("Security");
244 cfg.setGroup("Passcode"); 244 cfg.setGroup("Passcode");
245 cfg.writeEntry("passcode",passcode); 245 cfg.writeEntry("passcode",passcode);
246 cfg.writeEntry("passcode_poweron",passcode_poweron->isChecked()); 246 cfg.writeEntry("passcode_poweron",passcode_poweron->isChecked());
247 cfg.setGroup("Sync"); 247 cfg.setGroup("Sync");
248 int auth_peer=0; 248 int auth_peer=0;
249 int auth_peer_bits; 249 int auth_peer_bits;
250 QString sn = syncnet->currentText(); 250 QString sn = syncnet->currentText();
251 parseNet(sn,auth_peer,auth_peer_bits); 251 parseNet(sn,auth_peer,auth_peer_bits);
252 cfg.writeEntry("auth_peer",auth_peer); 252 cfg.writeEntry("auth_peer",auth_peer);
253 cfg.writeEntry("auth_peer_bits",auth_peer_bits); 253 cfg.writeEntry("auth_peer_bits",auth_peer_bits);
254 /* 254 /*
255 cfg.setGroup("Remote"); 255 cfg.setGroup("Remote");
256 if ( telnetAvailable() ) 256 if ( telnetAvailable() )
257 cfg.writeEntry("allow_telnet",telnet->isChecked()); 257 cfg.writeEntry("allow_telnet",telnet->isChecked());
258 if ( sshAvailable() ) 258 if ( sshAvailable() )
259 cfg.writeEntry("allow_ssh",ssh->isChecked()); 259 cfg.writeEntry("allow_ssh",ssh->isChecked());
260 // ### write ssh/telnet sys config files 260 // ### write ssh/telnet sys config files
261 */ 261 */
262 262
263 QString configFile = QPEApplication::qpeDir() + "/etc/opie-login.conf"; 263 QString configFile = QPEApplication::qpeDir() + "/etc/opie-login.conf";
264 Config loginCfg(configFile,Config::File); 264 Config loginCfg(configFile,Config::File);
265 loginCfg.setGroup("General"); 265 loginCfg.setGroup("General");
266 266