Skip to content
Snippets Groups Projects
  1. Jul 05, 2016
  2. Jun 22, 2016
  3. Jun 20, 2016
  4. Jun 13, 2016
  5. Jun 09, 2016
  6. Jun 08, 2016
  7. May 11, 2016
  8. Apr 27, 2016
  9. Apr 21, 2016
  10. Apr 12, 2016
  11. Apr 11, 2016
  12. Mar 30, 2016
  13. Mar 23, 2016
  14. Mar 22, 2016
  15. Mar 17, 2016
    • hjk's avatar
      Relax use of QT_NO_CAST_FROM_ASCII to QT_RESTRICTED_CAST_FROM_ASCII · 82a523f6
      hjk authored
      
      This is an opt-in trade-off between type safety and user
      code convenience.
      
      QT_NO_CAST_FROM_ASCII is highly beneficial to avoid unintended
      conversions from 8 bit data with potentially "unsuitable"
      encodings to QString. However, it has the undesirable side-effect
      to require user code to wrap character and string literals
      in QLatin1Char(...) and QLatin1String(...) or use similar
      construction, cluttering the code significantly.
      
      QT_RESTRICTED_CAST_FROM_ASCII macro works almost as
      QT_NO_CAST_FROM_ASCII, except that it enables the QChar(char)
      constructor and adds an additional QString(const char (&ch)[N])
      constructor that matches C++ string literals, but no arbitrary
      character pointers.
      
      This avoids a significant share of the need to clutter the
      user code by only a slight relaxation of the type-safety.
      
      Change-Id: I64e0430bb1352edcedf7e19ee25c16408727084c
      Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      82a523f6
  16. Mar 08, 2016
  17. Jan 25, 2016
  18. Dec 17, 2015
  19. Dec 15, 2015
  20. Dec 04, 2015
  21. Oct 30, 2015
  22. Oct 21, 2015
  23. Aug 24, 2015
  24. Aug 07, 2015
  25. Jul 18, 2015
  26. Jul 10, 2015
  27. Jul 09, 2015
  28. Jun 16, 2015
  29. Jun 03, 2015
  30. May 15, 2015
  31. Apr 01, 2015
    • Eike Ziller's avatar
      Version bump · 841046ae
      Eike Ziller authored
      Change-Id: Ie12f7ab510b6d9857772df9f36c99e72b8766520
      841046ae
  32. Mar 11, 2015
  33. Feb 25, 2015
  34. Feb 18, 2015
  35. Jan 26, 2015
  36. Dec 19, 2014
  37. Dec 11, 2014
  38. Dec 01, 2014
Loading