Logo Search packages:      
Sourcecode: kmess version File versions  Download package

AccountsManager * AccountsManager::instance (  )  [static]

Return a singleton instance of the accounts manager

Definition at line 636 of file accountsmanager.cpp.

References AccountsManager().

Referenced by AccountsManagerPage::AccountsManagerPage(), KMessApplication::initializeMainWindow(), and AccountsManagerPage::readProperties().

  // If the instance is null, create a new accounts manager and return that.
  if ( instance_ == 0 )
    instance_ = new AccountsManager();
  return instance_;

Generated by  Doxygen 1.6.0   Back to index