1. 21 Jan, 2014 1 commit
  2. 08 Jan, 2014 1 commit
  3. 12 Sep, 2013 1 commit
  4. 29 Jan, 2013 1 commit
  5. 08 Jan, 2013 1 commit
    • Orgad Shaneh's avatar
      Remove braces for single lines of conditions · 29a93998
      Orgad Shaneh authored
      #!/usr/bin/env ruby
      
      Dir.glob('**/*.cpp') { |file|
        # skip ast (excluding paste, astpath, and canv'ast'imer)
        next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
        s = File.read(file)
        next if s.include?('qlalr')
        orig = s.dup
        s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
          res = $&
          if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
            res
          else
            res.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
          end
        }
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      }
      
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      29a93998
  6. 03 Dec, 2012 1 commit
  7. 28 Nov, 2012 1 commit
  8. 05 Oct, 2012 2 commits
  9. 25 Sep, 2012 2 commits
    • Christian Kandeler's avatar
      Replace all remaining functions deprecated in Qt 5, if possible. · 89fa7823
      Christian Kandeler authored
      These are:
          - QInputDialog::getInteger() [-> getInt()]
          - QKeySequence::operator QString() [-> toString()]
          - QRegion::intersect() [-> intersected()]
          - qVariantCanConvert() [-> QVariant::canConvert()]
      
      Plus some left-over occurrences of qFindChild() and
      QAbstractItemModel::reset() that were missed by the
      respective earlier patches.
      
      All deprecated features still left are not trivially
      replaceable, i.e. the code using them cannot be made
      to compile with both Qt 4 and Qt 5.
      
      Change-Id: I32541681bbf66b0fef78f5c7025521f9ff84f463
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      89fa7823
    • Christian Kandeler's avatar
      Do not use QWeakPointer to track QObjects. · aef4280b
      Christian Kandeler authored
      This use case is deprecated in Qt 5. Use QPointer instead.
      
      Change-Id: Id6c32542032656d7cb31cf838d93a680ab9e9327
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      aef4280b
  10. 19 Jul, 2012 1 commit
  11. 06 Mar, 2012 1 commit
  12. 15 Feb, 2012 1 commit
  13. 26 Jan, 2012 1 commit
  14. 03 Nov, 2011 1 commit
  15. 12 Oct, 2011 1 commit
  16. 10 Oct, 2011 1 commit
  17. 14 Sep, 2011 1 commit
  18. 08 Aug, 2011 3 commits
  19. 21 Jul, 2011 1 commit
  20. 11 Jul, 2011 1 commit
  21. 05 Jul, 2011 1 commit
  22. 06 May, 2011 1 commit
  23. 13 Apr, 2011 1 commit
  24. 17 Mar, 2011 1 commit
  25. 22 Feb, 2011 1 commit
    • hjk's avatar
      texteditor: merge ITextEditable into ITextEditor · f576ad9f
      hjk authored
      rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
      rename BaseTextEditor{,Widget} subclasses
      rename editableInterface->editorInterface
      rename createEditableInterface->createEditor
      minor cleanups after renamings
      f576ad9f
  26. 18 Feb, 2011 1 commit
  27. 24 Jan, 2011 1 commit
  28. 25 Nov, 2010 1 commit
  29. 15 Nov, 2010 1 commit
  30. 11 Nov, 2010 1 commit
    • Thomas Hartmann's avatar
      QuickToolBar: critical bugfix · 7b179fea
      Thomas Hartmann authored
      The protype chain is cached in m_prototypes,
      but the type might have changed.
      We have to check for this case.
      
      Reviewed-by: Lasse Holmstedt
      7b179fea
  31. 21 Oct, 2010 2 commits
  32. 08 Sep, 2010 1 commit
  33. 26 Aug, 2010 1 commit
  34. 18 Aug, 2010 2 commits