Logo Search packages:      
Sourcecode: kmess version File versions

void AccountsManager::readProperties (  ) 

Load the accounts from disk

Definition at line 651 of file accountsmanager.cpp.

References Account::readProperties().

Referenced by AccountsManager().

{
  // Obtain the list of account directories in the KMess config directory
  QStringList accountList( KMessConfig::instance()->getAccountsList() );

  // Add each one of the saved accounts to the internal list
  foreach( const QString &handle, accountList )
  {
    if( Account::isValidEmail( handle ) )
    {
      Account *account = new Account();
      account->readProperties( handle );
      addAccount( account );
    }
  }
}


Generated by  Doxygen 1.6.0   Back to index