[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdenetwork/kopete/protocols/msn
From:       Frerich Raabe <raabe () kde ! org>
Date:       2003-09-02 15:56:37
[Download RAW message or body]

Am Tuesday 02 September 2003 17:46 schrieb Olivier Goffart:
> +void MSNContact::slotUserInfoDialogReversedToggled()
> +{
> +        //workaround to make this checkboxe readonly
> +        const QCheckBox *cb=dynamic_cast<const QCheckBox*>(sender());
> +        if(cb && cb->isChecked()!=m_reversed)
> +                const_cast<QCheckBox*>(cb)->setChecked(m_reversed);
>  }

Ouchie.

- Frerich

-- 
"If you fail to adjust your notion of fairness to the reality of the Universe, 
you will probably not be happy." - Paratima, of http://free-dc.org fame
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic