[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: Re: [kopete-devel] Prevent creating duplicate accounts
From: Dennis =?utf-8?q?Nienh=C3=BCser?= <earthwings () gentoo ! org>
Date: 2007-11-12 20:16:30
Message-ID: 200711122116.30954.earthwings () gentoo ! org
[Download RAW message or body]
Am Samstag, 10. November 2007 19:29:12 schrieb Duncan Mac-Vicar P.:
> The amount of duplicated code that it introduces in every protocol is what
> makes me nervous. Something I spotted:
>
> - validateData in Kopete"s ediitaccountwidget is pure virtual
> - it is reimplemented by protocols, same with validatePassword
>
> What I suggest:
> - rename validateData to validateProtocolData (or just validateData), as
> virtual
> make some method in the editaccountwidget (validateData or something else?)
> non virtual, put the duplicated account code there, and call the virtuals
> validateProtocolData (or validateData if it is the name) and
> validatePassword as decorator methods.
I'll look into that - won't find time today and tomorrow, but Wednesday (when
it's time to get it done before message freeze...)
Dennis
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic