[Development] QTime microsecond support

Sean Harmer sean.harmer at kdab.com
Thu Oct 15 15:12:37 CEST 2015


On Thursday 15 Oct 2015 13:13:52 Edward Sutton wrote:
> On Thursday 15 Oct 2015 12:18:22 Edward Sutton wrote:
> > +1 for naming QTimeSpan with support for arithmetic operators.
> 
> Andre and I did start something along these lines way back before Open
> Governance if anybody wants to pick it up.
> 
> It was at
> 
> https://qt.gitorious.org/qt/qt/merge_requests/1014
> 
> but seems it's unavailable right now.
> 
> 
> Googled and  found this qtimespan.h.
> 
> https://github.com/a1batross/plasma-widget-ponycountdownplasma/blob/master/q
> timespan.h

Looks like it.

Sean

> 
> -Ed
> 
> > On Thursday 15 October 2015 02:09:07 Aleix Pol wrote:
> > > Maybe you could look into forking QTime with the microseconds changes?
> > > That could be reasonable even within Qt.
> > 
> > Indeed, that would.
> > 
> > We'll have to have a long discussion on what to name the class, though...
> > QTimeExtended? QExtendedTime? QTimeV2? QMicroTime? QTimeSpan?
> > 
> > If you're going to do this, you'll need a 64-bit integer anyway, so
> > you may as well provide nanosecond support. -- Thiago Macieira -
> > thiago.macieira (AT) intel.com
> > 
> >   Software Architect - Intel Open Source Technology Center
> > 
> > _______________________________________________
> > Development mailing list
> > Development at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/development
> > This email and any files transmitted with it from The Charles Machine
> > Works, Inc. are confidential and intended solely for the use of the
> > individual or entity to which they are addressed. If you have received
> > this email in error please notify the sender. Our company accepts no
> > liability for the contents of this email, or for the consequences of
> > any actions taken on the basis of the information provided, unless
> > that information is subsequently confirmed in writing. Please note
> > that any views or opinions presented in this email are solely those of
> > the author and do not necessarily represent those of the company.
> > Finally, the recipient should check this email and any attachments for
> > the presence of viruses. The company accepts no liability for any damage
> > caused by any virus transmitted by this email.
> > _______________________________________________
> > Development mailing list
> > Development at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/development
> 
> --
> Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK KDAB (UK) Ltd,
> a KDAB Group company Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
> Mobile: +44 (0)7545 140604
> KDAB - Qt Experts
> This email and any files transmitted with it from The Charles Machine Works,
> Inc. are confidential and intended solely for the use of the individual or
> entity to which they are addressed. If you have received this email in
> error please notify the sender. Our company accepts no liability for the
> contents of this email, or for the consequences of any actions taken on the
> basis of the information provided, unless that information is subsequently
> confirmed in writing. Please note that any views or opinions presented in
> this email are solely those of the author and do not necessarily represent
> those of the company. Finally, the recipient should check this email and
> any attachments for the presence of viruses. The company accepts no
> liability for any damage caused by any virus transmitted by this email.
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 
Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
KDAB (UK) Ltd, a KDAB Group company
Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
Mobile: +44 (0)7545 140604
KDAB - Qt Experts



More information about the Development mailing list