[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    groupwise_in_anger: kdenetwork/kopete/protocols/groupwise/ui
From:       Will Stephenson <lists () stevello ! free-online ! co ! uk>
Date:       2004-09-07 18:16:30
Message-ID: 20040907181630.A6A49175F () office ! kde ! org
[Download RAW message or body]

CVS commit by wstephens: 

Store the password entered at account creation.


  M +3 -1      gweditaccountwidget.cpp   1.1.2.6


--- kdenetwork/kopete/protocols/groupwise/ui/gweditaccountwidget.cpp  \
#1.1.2.5:1.1.2.6 @@ -47,4 +47,5 @@ GroupWiseEditAccountWidget::GroupWiseEdi
         m_preferencesDialog = new GroupWiseAccountPreferences( this );
         m_layout->addWidget( m_preferencesDialog );
+        connect( m_preferencesDialog->m_password, SIGNAL( changed() ), this, SLOT( \
                configChanged() ) );
         connect( m_preferencesDialog->m_server, SIGNAL( textChanged( const QString & \
                ) ), this, SLOT( configChanged() ) );
         connect( m_preferencesDialog->m_port, SIGNAL( valueChanged( int ) ), this, \
SLOT( configChanged() ) ); @@ -74,5 +75,5 @@ void GroupWiseEditAccountWidget::reOpen(
         kdDebug(GROUPWISE_DEBUG_GLOBAL) << k_funcinfo << endl;
         
-        
+        m_preferencesDialog->m_password->load( &account()->password () );
         // Kopete at least <=0.90 doesn't support changing account IDs
         m_preferencesDialog->m_userId->setDisabled( true );
@@ -115,4 +116,5 @@ void GroupWiseEditAccountWidget::writeCo
         account()->setPluginData( GroupWiseProtocol::protocol(), "Port", \
                QString::number( m_preferencesDialog->m_port->value() ) );
         account()->setAutoLogin( m_preferencesDialog->m_autoConnect->isChecked() );
+        m_preferencesDialog->m_password->save( &account()->password() );
         settings_changed = false;
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic