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

void Account::setContactListOptions ( bool  showNowListening,
bool  showContactEmail,
bool  useListFormatting 
) [inherited]

Set contact list options.

Parameters:
showNowListening whether to show the song played at the moment
useListFormatting whether or not to enable MSN Plus! formatting in the contact list
showContactEmail whether to show contact email instead of friendly name in the contact list

Definition at line 963 of file account.cpp.

Referenced by ContactListPage::saveSettings().

{
  if( useListFormatting_ != useListFormatting
  ||  showContactEmail_  != showContactEmail )
  {
    useListFormatting_ = useListFormatting;
    showContactEmail_  = showContactEmail;

    //let the contact list update to reflect the new changes
    emit changedContactListOptions();
  }

  emit changedTimerSettings();

  if( showNowListening_ != showNowListening )
  {
#ifdef KMESSDEBUG_ACCOUNT_GENERAL
    kDebug() << "Now listening settings changed, notifying listeners.";
#endif

    showNowListening_ = showNowListening;
    emit changedNowListeningSettings();
  }

  dirty_ = true;
#ifdef KMESSDEBUG_ACCOUNT_DIRTY
    kDebug() << "Setting 'dirty' to true.";
#endif
}


Generated by  Doxygen 1.6.0   Back to index