How to port KIntSpinBox::setSuffix

Kevin Ottens ervin at kde.org
Tue Jun 3 16:10:50 UTC 2014


Hello,

On Tuesday 03 June 2014 17:59:18 David Faure wrote:
> On Tuesday 03 June 2014 17:53:22 Kevin Ottens wrote:
> > I'm not sure I get the reasoning leading to that conclusion. Can't be done
> > upstream in Qt?
> 
> This is all about calling i18n() at runtime, from within the widget (when
> the value changes), on a KLocalizedString member (-> i.e. it's based on a
> delayed translation mechanism).

Ah OK, I see now.

BTW, just wondering if we wouldn't want that by composition instead of 
inheritance. Won't we need the equivalent for QDoubleSpinBox too?

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud supporter of KDE, http://www.kdab.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140603/3e65d95f/attachment.sig>


More information about the Kde-frameworks-devel mailing list