#include "kopetepersonalbar.h" #include #include "kopeteaccount.h" #include "kopeteaccountmanager.h" void KopetePersonalBar::slotGetMsnAccount() { bool found; QPtrList accounts = Kopete::AccountManager::self()->accounts(); for( Kopete::Account *acc = accounts.first() ; acc ; acc = accounts.next() ) { if ( Kopete::AccountManager::self()->account->protocol()->pluginId()=="MSNProtocol" ) found = true; } }