[Kde-bindings] [Bug 309001] Qyoto: replace QDateTime with DateTime in the API

Dimitar Dobrev dpldobrev at yahoo.com
Tue Nov 20 21:41:12 UTC 2012


Thanks for the suggestion. I hadn't thought of this. It's nice because it would work well usage-wise and it's very easy to do. However, I'm a bit hesitant about it in the long term because now that Qyoto is documented (I'm now working on separate documentation as well) I think it'd be nice for programmers to immediately see familiar types in the API. However, I'll add the implicit conversion for the time being.



________________________________
 From: Richard Dale <richard.j.dale at gmail.com>
To: bug-control at bugs.kde.org; KDE bindings for other programming languages <kde-bindings at kde.org> 
Sent: Tuesday, November 20, 2012 7:34 PM
Subject: Re: [Kde-bindings] [Bug 309001] Qyoto: replace QDateTime with DateTime in the API
 
On 10/26/2012 03:34 AM, Dimitar Dobrev wrote:
> https://bugs.kde.org/show_bug.cgi?id=309001
>
> Dimitar Dobrev <dpldobrev at yahoo.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   OS|other                       |All
>
What is wrong with adding an implicit conversion for C# DateTimes to 
QDateTimes so that everywhere in the Qt api where QDateTime appears you 
can pass a C# DateTime if you wish?

-- Richard
_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20121120/766100c4/attachment.html>


More information about the Kde-bindings mailing list