[Qt-interest] QTimeSpan: interest?
Andre Somers
andre at familiesomers.nl
Sun Jan 16 22:20:24 CET 2011
Hi,
Quite a while ago on this list, a question on how to substract two dates
in order to get a length of time inspired the creation of a class called
QTimeSpan. It can be used to represent a period of time, where QDate,
QTime and QDateTime only represent a single point in time. Now, the
class is basically finished, and we've submitted it for inclusion in Qt.
On the merge request (http://qt.gitorious.org/qt/qt/merge_requests/1014)
a question was asked why this class would belong in Qt. Personally, I
think it would fit nicely, but I am not the only user of Qt of course.
That's where you come in. I think it would be beneficial if the
associated Jira ticket
(http://bugreports.qt.nokia.com/browse/QTBUG-16556) would get some
votes, to underline that more users than just the authors of this class
think it would be useful to have.
If you'd like to have more information on the capabilities and design of
the class before voting for its inclusion, please refer to the
documentation that is available in the .cpp file in the merge request. I
think it gives a nice overview of what's possible. Of course, I'd be
willing to answer questions here too, and I would be interested in
suggestions for further improvement. Note that the comments made in the
merge request have already been fixed, but not committed yet.
André
More information about the Qt-interest-old
mailing list