void KOrnPassword::writeKOrnPassword( int box, int account, KConfigBase& fallbackConfig, const QString& password ) { if( writeKOrnPassword( box, account, password ) ) { if( fallbackConfig.hasKey( "password" ) ) fallbackConfig.deleteEntry( "password" ); } else fallbackConfig.writeEntry( "password", password ); }
void KOrnPassword::deleteKOrnPassword( int box, int account, KConfigBase& fallbackConfig ) { deleteKOrnPassword( box, account ); if( fallbackConfig.hasKey( "password" ) ) fallbackConfig.deleteEntry( "password" ); }