Re: How to port KIntSpinBox::setSuffix

2014-06-08 Thread Albert Astals Cid
El Dimarts, 3 de juny de 2014, a les 18:10:50, Kevin Ottens va escriure: 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?

Re: Re: How to port KIntSpinBox::setSuffix

2014-06-04 Thread Martin Gräßlin
On Tuesday 03 June 2014 17:59:18 David Faure wrote: PS: Martin: meanwhile Laurent committed the class (which I reviewed) to ktextwidgets, you can use that. Laurent CC-ed me on the commit and I already adjusted the code to use it. Thanks a lot for the fast fix. Cheers Martin signature.asc

Re: How to port KIntSpinBox::setSuffix

2014-06-03 Thread Kevin Ottens
On Sunday 01 June 2014 10:34:07 David Faure wrote: On Friday 30 May 2014 07:54:45 Martin Gräßlin wrote: Hi all, while trying to get rid of kdelibs4support I stumbled [1] over KIntSpinBox::setSuffix which allows to set a plural aware suffix. The recommendation is to port to QSpinBox,

Re: How to port KIntSpinBox::setSuffix

2014-06-03 Thread David Faure
On Tuesday 03 June 2014 17:53:22 Kevin Ottens wrote: On Sunday 01 June 2014 10:34:07 David Faure wrote: On Friday 30 May 2014 07:54:45 Martin Gräßlin wrote: Hi all, while trying to get rid of kdelibs4support I stumbled [1] over KIntSpinBox::setSuffix which allows to set a plural

Re: How to port KIntSpinBox::setSuffix

2014-06-03 Thread Kevin Ottens
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

Re: How to port KIntSpinBox::setSuffix

2014-06-03 Thread David Faure
On Tuesday 03 June 2014 18:10:50 Kevin Ottens wrote: 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

Re: How to port KIntSpinBox::setSuffix

2014-06-03 Thread laurent Montel
Le mardi 3 juin 2014 19:25:54 David Faure a écrit : On Tuesday 03 June 2014 18:10:50 Kevin Ottens wrote: 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

Re: How to port KIntSpinBox::setSuffix

2014-06-01 Thread David Faure
On Friday 30 May 2014 07:54:45 Martin Gräßlin wrote: Hi all, while trying to get rid of kdelibs4support I stumbled [1] over KIntSpinBox::setSuffix which allows to set a plural aware suffix. The recommendation is to port to QSpinBox, but as far as I can see there is suitable replacement for

Re: How to port KIntSpinBox::setSuffix

2014-06-01 Thread laurent Montel
On dimanche 1 juin 2014 10:34:07 David Faure wrote: On Friday 30 May 2014 07:54:45 Martin Gräßlin wrote: Hi all, while trying to get rid of kdelibs4support I stumbled [1] over KIntSpinBox::setSuffix which allows to set a plural aware suffix. The recommendation is to port to QSpinBox,

How to port KIntSpinBox::setSuffix

2014-05-30 Thread Martin Gräßlin
Hi all, while trying to get rid of kdelibs4support I stumbled [1] over KIntSpinBox::setSuffix which allows to set a plural aware suffix. The recommendation is to port to QSpinBox, but as far as I can see there is suitable replacement for the plural aware suffix. What is the best solution to