Changeset 67:578192d6fe64 in SMSSender for src/business/BCAccountManager.cpp


Ignore:
Timestamp:
Feb 7, 2010 4:11:28 PM (13 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
3.0
Convert:
svn:3639001d-8e34-449c-bb86-3782b86c4877/branches/3.0@66
Message:
  • added synchttp
  • backup before removing these diamond interfaces...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/business/BCAccountManager.cpp

    r43 r67  
    6464
    6565QSet<IAccount*> BCAccountManager::getAccountList(){
    66     return QSet<IAccount*>::fromList(accountList_.values());
     66    return accountList_.values().toSet();
    6767}
    6868
     
    100100}
    101101void BCAccountManager::accountDataChanged() {
    102     IAccount* account = static_cast<AccountEventMapper*>(sender())->account();
     102    AccountEventMapper* eventMapper = qobject_cast<AccountEventMapper*>(sender());
     103    IAccount* account = eventMapper->account();
    103104    Q_ASSERT(account);
    104105    emit accountUpdated(account);
Note: See TracChangeset for help on using the changeset viewer.